Beispiel #1
0
 // Update is called once per frame
 void Update()
 {
     if (Input.GetKeyDown(KeyCode.KeypadPlus))
     {
         MinimapClass.ShowWindow();
     }
     if (Input.GetKeyDown(KeyCode.KeypadMinus))
     {
         MinimapClass.HideWindow();
     }
 }
Beispiel #2
0
 // Start is called before the first frame update
 void Start()
 {
     MinimapClass.Init();
 }