mirror of
https://github.com/Steffo99/gravity-fusion.git
synced 2024-11-24 17:24:19 +00:00
16 lines
305 B
C#
16 lines
305 B
C#
|
using System.Collections;
|
|||
|
using System.Collections.Generic;
|
|||
|
using UnityEngine;
|
|||
|
|
|||
|
public class TempUpgradesToggler : MonoBehaviour
|
|||
|
{
|
|||
|
public GameObject upgrades;
|
|||
|
|
|||
|
void Update()
|
|||
|
{
|
|||
|
if(Input.GetKeyDown(KeyCode.P)) {
|
|||
|
upgrades.SetActive(!upgrades.activeSelf);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|