// MoveOut title IEnumerator HideTitleText() { yield return(new WaitForSeconds(1.0f)); // MoveOut title title.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.Self); }
// MoveOut all primary buttons public void HideAllGUIs() { buttonStart.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.Self); textStart.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.Self); // MoveOut title StartCoroutine(HideTitleText()); }
IEnumerator MoveOutPanelChangeTurn(GUIAnimFREE panelChangeTurn) { yield return(new WaitForSeconds(1.5f)); panelChangeTurn.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.Self); panelChangeTurn.gameObject.SetActive(false); // Enable all scene switch buttons StartCoroutine(EnableAllDemoButtons()); }
IEnumerator MoveOutPanelAdvanceOfFire(GUIAnimFREE panelAdvanceOfFire) { yield return(new WaitForSeconds(1.5f)); panelAdvanceOfFire.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.Self); panelAdvanceOfFire.gameObject.SetActive(false); // Enable all scene switch buttons //StartCoroutine(EnableAllDemoButtons()); AnimationChangeWind(); }
// MoveOut all primary buttons public void HideAllGUIs() { // MoveOut buttons btn_Win.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.Self); btn_Lose1.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.Self); btn_Lose2.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.Self); // MoveOut title StartCoroutine(HideTitleText()); }
public void clickAnims() { bkgr.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.SelfAndChildren); panelSettings.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.SelfAndChildren); buttonOk.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.SelfAndChildren); buttonBck.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.SelfAndChildren); mapTxt.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.SelfAndChildren); map1.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.SelfAndChildren); map2.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.SelfAndChildren); map3.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.SelfAndChildren); }
// MoveOut m_Title1 and m_Title2 IEnumerator HideTitleTextMeshes() { yield return(new WaitForSeconds(1.0f)); // MoveOut m_Title1 and m_Title2 m_Title1.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.Self); m_Title2.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.Self); // MoveOut m_TopBar and m_BottomBar m_TopBar.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.SelfAndChildren); m_BottomBar.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.SelfAndChildren); }
// MoveOut all primary buttons public void HideAllGUIs() { m_TopLeft_A.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.SelfAndChildren); m_BottomLeft_A.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.SelfAndChildren); m_RightBar_A.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.Self); if (m_TopLeft_IsOn == true) { m_TopLeft_B.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.SelfAndChildren); } if (m_BottomLeft_IsOn == true) { m_BottomLeft_B.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.SelfAndChildren); } if (m_RightBar_IsOn == true) { m_RightBar_B.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.SelfAndChildren); } // MoveOut m_Title1 and m_Title2 StartCoroutine(HideTitleTextMeshes()); }
// MoveOut all primary buttons public void HideAllGUIs() { // MoveOut buttons btn_Level1.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.Self); btn_Level2.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.Self); btn_Level3.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.Self); btn_Level4.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.Self); btn_Level5.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.Self); btn_Level6.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.Self); // MoveOut title StartCoroutine(HideTitleText()); }
IEnumerator MoveOutPanelChangeWind(GUIAnimFREE panelChangeWind) { yield return(new WaitForSeconds(1.5f)); panelChangeWind.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.Self); panelChangeWind.gameObject.SetActive(false); if (!PhotonNetwork.IsMasterClient) { for (int i = 0; i < 4; i++) { panelButtons.transform.GetChild(i).gameObject.SetActive(true); } } // Enable all scene switch buttons StartCoroutine(EnableAllDemoButtons()); }
public void TogglePanel() { ChangeCam(); if (!boton.gameObject.activeSelf) { boton.gameObject.SetActive(true); boton.PlayInAnims(GUIAnimSystemFREE.eGUIMove.Children); showingPanel = true; } else { if (showingPanel) { boton.PlayOutAnims(GUIAnimSystemFREE.eGUIMove.Children); ShowPanelUI(); } else { boton.PlayInAnims(GUIAnimSystemFREE.eGUIMove.Children); } showingPanel = !showingPanel; } }