Inheritance: MonoBehaviour
Example #1
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;
    }
    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;
    }