void EnterCreateRole() { CameraFadeEffect.DoCameraFade(gameObject, new Color(0, 0, 0, 1), new Color(0, 0, 0, 0), 1.5f); StartCoroutine(CreateNewRoleCoroutine(() => { //load over SelectNewRole(0); UIManager.Instance.RemoveBlockLayer(); } )); }
void EnterSelectRole(int idx) { CameraFadeEffect.DoCameraFade(gameObject, new Color(0, 0, 0, 1), new Color(0, 0, 0, 0), 1.5f); StartCoroutine(CreateMyRoleCoroutine(() => { for (int i = 0; i < mCreateRoleList.Count; i++) { mCreateRoleList[i].PlayStand(); } //load over SelectMyRole(idx); UIManager.Instance.RemoveBlockLayer(); })); }