void CreateCB(GameObject go)
    {
        Debug.Log(selid + " / " + inputLabel.value);
        RoleData data = RoleData.Create(selid, inputLabel.value);

        UserDataManager.instance.AddRole(data);

        ChooseRoleSceneManager.GetInstance().ChooseRole();
    }
 public void ChooseRole(int instanceid)
 {
     selinstanceid = instanceid;
     ChooseRoleSceneManager.GetInstance().ShowPlayerRole(instanceid);
 }
 void CreateRoleCB(GameObject go)
 {
     ChooseRoleSceneManager.GetInstance().CreateRole();
 }
Exemple #4
0
 void ChooseSelf(GameObject go)
 {
     //Debug.Log(conf.name);
     ChooseRoleSceneManager.GetInstance().chooseRoleLayerManager.ChooseRole(instanceid);
 }
 public void SelRole(int id)
 {
     selid = id;
     ChooseRoleSceneManager.GetInstance().ShowBaseRole(id);
 }
 void BackCB(GameObject go)
 {
     ChooseRoleSceneManager.GetInstance().ChooseRole();
 }
Exemple #7
0
 private void OnDestroy()
 {
     instance = null;
 }
Exemple #8
0
 private void Awake()
 {
     instance = this;
 }