Pascal Serrarens de12c36220 First commit
2022-01-11 16:51:37 +01:00

9 lines
247 B
C#

using UnityEngine;
public class ToggleActive : MonoBehaviour {
// Temporary helper script to implement toggling the gameobject active state
public void Toggle() {
this.gameObject.SetActive(!this.gameObject.activeSelf);
}
}