Newer
Older
Dreamsturbia-Project-IADE-Unity3D / Assets / Scripts / Triggers.cs
@Rackday Rackday on 21 Aug 302 bytes Project Added
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class Triggers : MonoBehaviour
  5. {
  6. public bool active = false;
  7. public bool inverse = false;
  8. public void CheckInverse(bool act)
  9. {
  10. if (inverse) active = !act;
  11. else active = act;
  12. }
  13. }