コード例 #1
0
 public GeneratorConfigScreenHeader(GeneratorConfigDialog <T> dialog)
 {
     // todo : need to think about is there any better way to place title and description in here
     if (Title is GeneratorConfigScreenTitle generatorConfigScreenTitle)
     {
         generatorConfigScreenTitle.SetTitleFromDialog(dialog);
     }
 }
コード例 #2
0
 public void SetTitleFromDialog(GeneratorConfigDialog <T> dialog)
 {
     Title       = dialog.Title;
     Description = dialog.Description;
     IconTexture = "Icons/Hexacons/social";
 }