Beispiel #1
0
 public void SetMainController(CharacterControl control)
 {
     main_controller = control;
 }
Beispiel #2
0
 void Start()
 {
     movement_control = GetComponent <CharacterControl>();
     anim             = GetComponent <Animator>();
     life_control     = GetComponent <CharacterLifePoints>();
 }
Beispiel #3
0
 public void SetExecPerformer(CharacterControl current_exec_controller, CharacterAnimationControl current_exec_anim)
 {
     ExecPerformer     = current_exec_controller;
     ExecPerformerAnim = current_exec_anim;
 }
Beispiel #4
0
 public void SetParent(CharacterControl controller)
 {
     parent_controller = controller;
     GetComponent <SphereCollider>().radius = DetectionDistance;
 }