Advertisement
Guest User

Untitled

a guest
Nov 20th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.92 KB | None | 0 0
  1.                 MainMenuMode mainMenuMode = GameState.inst.mainMenuMode;
  2.                 KaC_Mode MultiplayerMode = new KaC_Mode()
  3.                 {
  4.                     Name = "MultiplayerMode",
  5.                     Title = "Multiplayer Mode",
  6.                     Description = "Choose from three difficulty modes and join forces with other players to build or battle.",
  7.                     LocalPosition = new Vector3(86.0f, 138.0f, 0.0f)
  8.                 };
  9.  
  10.                 Constants.ChooseModeUI_T.Find("StandardMode").localPosition = new Vector3(-207.8f, 138.0f, 0.0f);
  11.                 Constants.ChooseModeUI_T.Find("CreativeMode").localPosition = new Vector3(381.0f, 138.0f, 0.0f);
  12.  
  13.                 foreach (Transform transform in Constants.ChooseModeUI_T)
  14.                 {
  15.                     if (transform.name.Contains("Mode"))
  16.                         transform.localScale = new Vector3(0.8f, 0.8f, 0.8f);
  17.                 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement