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