Пример #1
0
 public Button Init(BasicChar basicChar)
 {
     this.basicChar = basicChar;
     title.text     = basicChar.Identity.FullName;
     desc.text      = basicChar.Summary();
     return(Btn);
 }
Пример #2
0
 public void Setup(BasicChar basicChar)
 {
     gameObject.SetActive(true);
     this.basicChar = basicChar;
     textBox.text   = $"{basicChar.Identity.FullName}\n\n{basicChar.Summary()}\n\n{basicChar.BodyStats()}";
 }