コード例 #1
0
ファイル: PlayerMovement.cs プロジェクト: tchen14/Andromeda
        // Use this for initialization
        void Awake()
        {
            _jump     = gameObject.AddComponent <Jumping>();
            _dash     = gameObject.AddComponent <Dash>();
            _wallGrab = gameObject.AddComponent <WallGrab>();

            charCont = this.gameObject.GetComponent <CharacterController>();
        }
コード例 #2
0
ファイル: PlayerMovement.cs プロジェクト: vaccaris/Andromeda
        // Use this for initialization
        void Awake()
        {
            _jump = gameObject.AddComponent<Jumping>();
            _dash = gameObject.AddComponent<Dash>();
            _wallGrab = gameObject.AddComponent<WallGrab>();

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