public virtual BaseObject OnToolBarClick(BaseObject obj) { BuildingPlacer bp = GameObject.Find("GameControllerObject").GetComponent <BuildingPlacer>(); bp.OnToolBarClick(obj); return(null); }
public virtual BaseObject OnToolBarClick(BaseObject obj) { BuildingPlacer bp = GameObject.Find("GameControllerObject").GetComponent <BuildingPlacer>(); bp.OnToolBarClick(obj); return(null); }