using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ActivateIfPlayer : MonoBehaviour {

    public Tile tile;
    public Behaviour component;

    private void Start()
    {
        tile.becamePlayerTile += (() => component.enabled = true);
    }
}
