コード例 #1
0
        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));
        }
コード例 #2
0
        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));
        }
コード例 #3
0
 private bool InitPictureStoryShowTutorial(object data)
 {
     _ctrlPictureStoryShow = CtrlPictureStoryShow.Instantiate(((Component)StartupTaskManager.GetPrefabFile().prefabCtrlPictureStoryShow).GetComponent <CtrlPictureStoryShow>(), StartupTaskManager.GetSharedPlace(), OnPictureStoryShowFinished);
     return(false);
 }
コード例 #4
0
 private bool InitPictureStoryShowTutorial(object data)
 {
     this._ctrlPictureStoryShow = CtrlPictureStoryShow.Instantiate(StartupTaskManager.GetPrefabFile().prefabCtrlPictureStoryShow.GetComponent <CtrlPictureStoryShow>(), StartupTaskManager.GetSharedPlace(), new Action(this.OnPictureStoryShowFinished));
     return(false);
 }