public static CtrlPictureStoryShow Instantiate(CtrlPictureStoryShow prefab, Transform parent, Action onFinished) { CtrlPictureStoryShow ctrlPictureStoryShow = UnityEngine.Object.Instantiate(prefab); ctrlPictureStoryShow.transform.parent = parent; ctrlPictureStoryShow.transform.localScaleOne(); ctrlPictureStoryShow.transform.localPositionZero(); return(ctrlPictureStoryShow.VitualCtor(onFinished)); }
public static CtrlPictureStoryShow Instantiate(CtrlPictureStoryShow prefab, Transform parent, Action onFinished) { CtrlPictureStoryShow ctrlPictureStoryShow = Object.Instantiate <CtrlPictureStoryShow>(prefab); ctrlPictureStoryShow.get_transform().set_parent(parent); ctrlPictureStoryShow.get_transform().localScaleOne(); ctrlPictureStoryShow.get_transform().localPositionZero(); return(ctrlPictureStoryShow.VitualCtor(onFinished)); }
private bool InitPictureStoryShowTutorial(object data) { _ctrlPictureStoryShow = CtrlPictureStoryShow.Instantiate(((Component)StartupTaskManager.GetPrefabFile().prefabCtrlPictureStoryShow).GetComponent <CtrlPictureStoryShow>(), StartupTaskManager.GetSharedPlace(), OnPictureStoryShowFinished); return(false); }
private bool InitPictureStoryShowTutorial(object data) { this._ctrlPictureStoryShow = CtrlPictureStoryShow.Instantiate(StartupTaskManager.GetPrefabFile().prefabCtrlPictureStoryShow.GetComponent <CtrlPictureStoryShow>(), StartupTaskManager.GetSharedPlace(), new Action(this.OnPictureStoryShowFinished)); return(false); }