MouseTouchManager.Awake C# (CSharp) Method

Awake() private method

private Awake ( ) : void
return void
    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;
    }