Ejemplo n.º 1
0
    IEnumerator DelayHideSystem(float afterSec)
    {
        yield return(new WaitForSeconds(afterSec));

        SystemUIEvent sys = SystemUIEvent.Instance;

        sys.HideSystemUI();
    }
Ejemplo n.º 2
0
    // Use this for initialization
    void OnEnable()
    {
//		SystemUtility.ShowSystemUI( false );
#if false
        SystemUIEvent sys = SystemUIEvent.Instance;
        sys.HideSystemUI();
#else
        StartCoroutine("DelayHideSystem", 0.1f);
#endif
        m_TempAutoModeState = ViNo.autoMode;
        ViNo.autoMode       = false;
    }
Ejemplo n.º 3
0
    void OnEnable()
    {
        if (deactiveObjWhileShowing != null)
        {
            deactiveObjWhileShowing.SetActive(false);
        }

        if (hideSystemUIWhileEnabled)
        {
//			SystemUtility.ShowSystemUI( false );
            SystemUIEvent sys = SystemUIEvent.Instance;
            if (sys != null)
            {
                sys.HideSystemUI();
            }
        }
        m_IsSkip = ViNo.skip;

        OnEnabled();
    }