10 lines
185 B
C#
10 lines
185 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
|
|
public class ActiveStateToggler : MonoBehaviour {
|
|
|
|
public void ToggleActive () {
|
|
gameObject.SetActive (!gameObject.activeSelf);
|
|
}
|
|
}
|