9 lines
247 B
C#
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);
|
|
}
|
|
}
|