public void ShowUISceneOpt(BuildData buildData, ZooObjectController zooObjectController) { BuildData = buildData; ZooObjectController = zooObjectController; UISceneOpt.transform.SetParent(zooObjectController.transform, false); UISceneOpt.gameObject.SetActive(true); UISceneOpt.enabled = true; }
public void RotateEditObject(BuildData buildData, ZooObjectController zooObjectController) { GameEntry.TempData.Edit.UpdateRotationFromEditList(buildData, buildData.Rotate - 90); GameEntry.TempData.ObjectScene.DirtyList.Add(buildData.BuildSceneUid); GameEntry.Event.Fire(this, ReferencePool.Acquire <EvtTempDataUpdated>()); }