2024-01-16 11:57:58 +01:00

12 lines
293 B
C#

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