Пример #1
0
    public void ShowAllCameras()
    {
        BackgroudGmCtrl.GetInstance().CloseBackgroudImg();

        if (GlobalData.GetInstance().gameMode == GameMode.OnlineMode)
        {
            StartGameTimeCtrl.GetInstance().DelayPlayTime();
        }
        else
        {
            CloseAllGUI();
            MoveCameraByPath.GetInstance().StartMoveCamera();

            /*CancelInvoke("DelayStartMoveCamera");
            *  Invoke("DelayStartMoveCamera", 0.5f);*/
        }
    }
Пример #2
0
//	void InitDanJiXueTiaoEng()
//	{
//		DanJiXueTiaoEng.fillAmount = 1f;
//		DanJiXueTiaoEng.enabled = true;
//	}

//	void LoopSubXueTiao()
//	{
//		SubDanJiXueTiaoEng(10f);
//		if(DanJiXueTiaoEng.fillAmount <= 0f)
//		{
//			CancelInvoke("LoopSubXueTiao");
//		}
//	}

    public void CloseAllCameras()
    {
        BackgroudGmCtrl.GetInstance().OpenBackgroudImg();
    }