12 lines
293 B
C#
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);
|
|
}
|
|
}
|
|
|
|
} |