Exemplo n.º 1
0
    // Hide paintable indicator when not touching player
    private void OnTriggerExit2D(Collider2D collision)
    {
        painter Painter = collision.gameObject.GetComponent <painter>();

        if (Painter != null)
        {
            show_indicator = false;
        }
    }
Exemplo n.º 2
0
 void Awake()
 {
     _instance = this;
 }