private void Awake() { this.setup = base.GetComponent <mutantScriptSetup>(); this.events = base.GetComponent <creepyAnimEvents>(); this.animator = base.GetComponent <Animator>(); this.controller = base.transform.parent.GetComponent <CharacterController>(); this.thisTr = base.transform; this.rootTr = base.transform.parent; this.ai = base.GetComponent <mutantAI>(); }
private void Awake() { this.setup = base.GetComponent<mutantScriptSetup>(); this.events = base.GetComponent<creepyAnimEvents>(); this.animator = base.GetComponent<Animator>(); this.controller = base.transform.parent.GetComponent<CharacterController>(); this.thisTr = base.transform; this.rootTr = base.transform.parent; this.ai = base.GetComponent<mutantAI>(); }