get() public static method

public static get ( ) : ControlsMainMenuItemArray,
return ControlsMainMenuItemArray,
示例#1
0
 private void OnPress(bool isPressed)
 {
     if (isPressed)
     {
         Logger.Log("AbsoluteWASDButton::OnPress()", Logger.Level.INFO);
         ControlsMainMenuItemArray.get().switchControlTypeToAbsoluteWASD();
     }
 }
示例#2
0
 private void OnPress(bool isPressed)
 {
     if (isPressed)
     {
         Logger.Log("LeftClickToMoveButton::OnPress()", Logger.Level.INFO);
         ControlsMainMenuItemArray.get().switchControlTypeToLeftClickToMove();
     }
 }