名字修改显示
This commit is contained in:
parent
3d0987db1a
commit
67564d89f0
@ -57,6 +57,6 @@ public class PersonnelPanel : MonoBehaviour
|
||||
{
|
||||
GameObject gameObject = Instantiate(personelItem, personContent);
|
||||
PersonnelInfo personnelInfo = gameObject.GetComponent<PersonnelInfo>();
|
||||
personnelInfo.name = name;
|
||||
personnelInfo.nameText.text = name;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user