- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class Triggers : MonoBehaviour
- {
- public bool active = false;
- public bool inverse = false;
- public void CheckInverse(bool act)
- {
- if (inverse) active = !act;
- else active = act;
- }
- }