void Start() { charaStatusController = GameObject.Find("CharaStatusText").GetComponent <CharaStatusController>(); selectedCharaDTO = charaStatusController.getmyTeamPlayerDTO(AllChara.AllCharaViewManager.selectedCharaNum); Text playerText = this.GetComponent <Text>(); PlayerTextManager.drowNameAndStatus(playerText, selectedCharaDTO); }
public void Start() { makeCharaResultController = this.GetComponent <MakeCharaResultController>(); acquireUseName(); makeplayerDTO(); if (CanAddChara()) { makeCharaResultController.addmyTeamChara(playerDTO); } var playerText = this.GetComponent <Text>(); PlayerTextManager.drowNameAndStatus(playerText, playerDTO); }