samedi 25 octobre 2014

Reach Mutator class from PlayerController

Hello,



in my PostBeginPlay method of my MyMutator class, i do this :




Code:



gameRules.mutatorRef = self;


This way, i can access property from MyMutator.



But what if i want to reach a MyMutator's property from my MyPlayerController class. I define this controller like this :




Code:



gameType.PlayerControllerClass= class'KFNodePlayerController';


Can i do something like "playerController.mutatorRef = self" ? Or is there another solution to reach the MyMutator properties from another classes ?



Thank you by advance.




Aucun commentaire:

Enregistrer un commentaire