// Hide paintable indicator when not touching player private void OnTriggerExit2D(Collider2D collision) { painter Painter = collision.gameObject.GetComponent <painter>(); if (Painter != null) { show_indicator = false; } }
void Awake() { _instance = this; }