Exemplo n.º 1
0
        private void Awake()
        {
            s_Instance = this;

            //
            FloorClipPlane = Utils.InvaildVec4;
        }
Exemplo n.º 2
0
    //
    private IEnumerator DelayInit()
    {
        //
        yield return null;

        //
        if(m_MultiSourceManager == null)
        {
            m_MultiSourceManager = CKinect.MultiSourceManager.Instance;
        }

        if (m_UserManager == null)
        {
            m_UserManager = UserManager.Instance;
        }

        //
        if (m_MultiSourceManager == null)
        {
            Debug.LogError("MultiSourceManager has not assignment");
            yield break;
        }

        //
        if (m_UserManager == null)
        {
            Debug.LogError("UserManager has not assignment");
            yield break;
        }

        bInited = true;
    }