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.
15 lines
532 B
15 lines
532 B
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); |
|
} |
|
}
|
|
|