Ejemplo n.º 1
0
 public override Transform load()
 {
     base.load().setName("NewGame Scene");
     addInputField(options, "Character Name", "Name").setIFLimit(16);
     addButton(scene, "Create").rt().Anchor(AnchorPoint.BotCenter).Move(0f, 10f).setButton(() => {
         GC.CreateNewCharacter(getIF("Name").text);
         Scenes.load(typeof(play));
     });
     return(scene);
 }