Newer
Older
Dreamsturbia-Project-IADE-Unity3D / Assets / Scripts / Triggers.cs
@Rackday Rackday on 21 Aug 302 bytes Project Added
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;
    }
}