using System.Collections; using System.Collections.Generic; using UnityEngine; public class ActivateDoor : MonoBehaviour { //TODO: Create public variables to store the door to control, // whether the script opens the door (as opposed to close it), //OPTIONAL: Add a variable to allow the door control to be flipped void Start() { } void Update() { } void OnTriggerEnter(Collider other) { //TODO: Open the door if this trigger is an "opener" // Otherwise, close the door //OPTIONAL: If the door was activated, flip the purpose of this trigger } }