コード例 #1
0
 private void CreatePropGroup(PropSettings prop, string title)
 {
     GUILayout.BeginHorizontal();
     prop.Enabled = GUILayout.Toggle(prop.Enabled, title);
     prop.Drinks  = GUILayout.TextField(prop.Drinks);
     GUILayout.EndHorizontal();
     GUILayout.Space(20);
 }
コード例 #2
0
 public DrinkingSettings()
 {
     GuestEnteredAttraction = new PropSettings();
     GuestEntertained       = new PropSettings();
     GuestLeftPark          = new PropSettings();
     PersonDied             = new PropSettings();
     BalloonPopped          = new PropSettings();
     ToiletUsed             = new PropSettings();
     NewThought             = new PropSettings();
     BalloonKnockedAway     = new PropSettings();
 }