Ejemplo n.º 1
0
        // Use this for initialization
        void Awake()
        {
            _jump     = gameObject.AddComponent <Jumping>();
            _dash     = gameObject.AddComponent <Dash>();
            _wallGrab = gameObject.AddComponent <WallGrab>();

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

            charCont = this.gameObject.GetComponent<CharacterController>();
        }