void OnTriggerEnter2D(Collider2D otherCol) { Interactable i = otherCol.GetComponent <Interactable>(); if (i != null) { currentInteractable = i; i.AddPrompt(); } }
//lets an interactable know to put an arrow above it public void AddPrompt(Interactable i) { i.AddPrompt(); }