public static void OpenFor(GameObject go) { FarmBuilding farm = go.GetComponent <FarmBuilding>(); if (farm != null) { FarmProperty.Activate(farm); } }
protected void OnMouseUp() { FarmProperty.Activate(this); }