public FarmObject GetStoreFacility(FarmObject findFarmObject) { FarmEditFooter componentInChildren = base.GetComponentInChildren <FarmEditFooter>(); if (null == componentInChildren) { global::Debug.LogError("FarmEditFooter Not Found"); return(null); } return(componentInChildren.GetRestStoreFacility(findFarmObject)); }
public void AddStoreFacility(FarmObject addFarmObject) { FarmEditFooter componentInChildren = base.GetComponentInChildren <FarmEditFooter>(); if (null == componentInChildren) { global::Debug.LogError("FarmEditFooter Not Found"); return; } componentInChildren.AddFacilityButton(addFarmObject); }
public void EnableEditStoreButton(bool enable) { FarmEditFooter componentInChildren = base.GetComponentInChildren <FarmEditFooter>(); if (null == componentInChildren) { global::Debug.LogError("FarmEditFooter Not Found"); return; } componentInChildren.EnableStoreButton(enable); }