Esempio n. 1
0
 private void Awake()
 {
     cMovement    = this.GetComponent <CMovement>();
     cameraSystem = EposGame.cameraSystem;
 }
Esempio n. 2
0
 public void setTargetActor(CActor actor)
 {
     playerActor    = actor;
     this.cMovement = actor.GetComponent <CMovement>();
     this.cCombat   = actor.GetComponent <CCombat>();
 }
Esempio n. 3
0
 private void init()
 {
     data     = new ActorData();
     movement = this.gameObject.GetComponent <CMovement>();
     combat   = this.gameObject.GetComponent <CCombat>();
 }