예제 #1
0
 private void Awake()
 {
     cMovement    = this.GetComponent <CMovement>();
     cameraSystem = EposGame.cameraSystem;
 }
예제 #2
0
 public void setTargetActor(CActor actor)
 {
     playerActor    = actor;
     this.cMovement = actor.GetComponent <CMovement>();
     this.cCombat   = actor.GetComponent <CCombat>();
 }
예제 #3
0
파일: CActor.cs 프로젝트: The5-1/Epos
 private void init()
 {
     data     = new ActorData();
     movement = this.gameObject.GetComponent <CMovement>();
     combat   = this.gameObject.GetComponent <CCombat>();
 }