广西桂平帝恒管道燃气投资有限公司多角色网上演练
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
532 B

1 year 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);
}
}