Inheritance: MonoBehaviour
コード例 #1
0
ファイル: MouseTouchManager.cs プロジェクト: sonicbaz/Malisse
    private void Awake()
    {
        // In case for some reason another TouchManager is initialized, the first one stays the singleton
        if (m_Instance != null)
        {
            return;
        }

        m_Instance = this;
        m_Camera   = CameraController.Instance.m_GUICamera;
    }
コード例 #2
0
    private void Awake()
    {
        // In case for some reason another TouchManager is initialized, the first one stays the singleton
        if (m_Instance != null)
        {
            return;
        }

        m_Instance = this;
        m_Camera = CameraController.Instance.m_GUICamera;
    }