コード例 #1
0
        private void Awake()
        {
            s_Instance = this;

            //
            FloorClipPlane = Utils.InvaildVec4;
        }
コード例 #2
0
ファイル: Overlay.cs プロジェクト: ShipuW/unity-study
    //
    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;
    }