// Use this for initialization void Awake() { _jump = gameObject.AddComponent <Jumping>(); _dash = gameObject.AddComponent <Dash>(); _wallGrab = gameObject.AddComponent <WallGrab>(); charCont = this.gameObject.GetComponent <CharacterController>(); }
// Use this for initialization void Awake() { _jump = gameObject.AddComponent<Jumping>(); _dash = gameObject.AddComponent<Dash>(); _wallGrab = gameObject.AddComponent<WallGrab>(); charCont = this.gameObject.GetComponent<CharacterController>(); }