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

16 lines
532 B

2 years ago
using AX.NetworkSystem;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class SelectionDataBind : MonoBehaviour
{
private void Awake()
{
if (SceneManager.GetActiveScene().name == "RolesSelection" ||
(SceneManager.GetActiveScene().name == "CommandCenter" /*&& CurrentUserInfo.role == Role.总队指挥中心*/)
)
NetworkManager.Default.SendRequestAsync("GET_DEPT_REQUEST", CurrentUserInfo.token);
}
}