Esempio n. 1
0
        //-----------------------------------------------

        public TRRunningState(TileRoll tr)
        {
            m_TR = tr;

            //m_Player = player;

            //----------
        }
Esempio n. 2
0
        private void Start()
        {
            m_system = new AudioSystem();
            m_system.init(SoundEngineType);

            XSingleton <InputManager> .CreateInstance();

#if UNITY_ANDROID && !UNITY_EDITOR
            m_system.SetPlatform(SystemInPlatform.Android);
#else
            Debug.Log("Plat is PC");
            m_system.SetPlatform(SystemInPlatform.PC);
#endif
            m_system.load(path, maintrackIndex);

            //m_Player = new CameraPlayer(m_PlayerObj);

            //--------------------------------------
            m_Roll = new TileRoll();
            //m_Roll.m_RollRoot = m_RollRoot;
            //m_Roll.m_LocalOffset = m_LocalOffset;
            //InitData();
        }
Esempio n. 3
0
 public TRStopState(TileRoll tr)
 {
     m_TR = tr;
 }
Esempio n. 4
0
 public void SetEntity(TileRoll tr)
 {
     m_RollEntity = tr;
 }