Move all network code into Unity Project
This commit is contained in:
@@ -37,23 +37,11 @@ public class CanvasController : MonoBehaviour
|
||||
|
||||
private void OnClickSelectChacter(RoleInfo roleInfo)
|
||||
{
|
||||
TestClientProgram.HandleSelectRole(roleInfo, (result) =>
|
||||
{
|
||||
context.Post(_ =>
|
||||
{
|
||||
bgr.gameObject.SetActive(false);
|
||||
screenLogin.gameObject.SetActive(false);
|
||||
screenCharacter.gameObject.SetActive(false);
|
||||
//gameController.InitCharacter(result);
|
||||
}, null);
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
private void OnDestroy()
|
||||
{
|
||||
TestClientProgram.HandleLogOut((result) =>
|
||||
{
|
||||
Debug.LogError(result);
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user