贵港吾悦商业管理有限公司多角色网上演练(吾悦广场)
 
 
 
 
 

28 lines
663 B

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UIOperatedCtrl : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if (GameSettings.othersSettings.playState != PlayState.None)
{
if (GameSettings.othersSettings.playState == PlayState.Playing)
{
gameObject.GetComponent<GraphicRaycaster>().enabled = false;
}
else
{
gameObject.GetComponent<GraphicRaycaster>().enabled = true;
}
}
}
}