private void OnTriggerEnter(Collider other) { INTERACTABLE temp = other.GetComponent <INTERACTABLE>(); if (temp != null) { InteractList.Add(temp); } }
private void Awake() { _bed = gameObject.GetComponent <INTERACTABLE>(); }