public static UITutorialConfirmDialog Instantiate(UITutorialConfirmDialog prefab, Transform parent) { UITutorialConfirmDialog uITutorialConfirmDialog = Object.Instantiate <UITutorialConfirmDialog>(prefab); uITutorialConfirmDialog.get_transform().set_parent(parent); uITutorialConfirmDialog.get_transform().localPositionZero(); uITutorialConfirmDialog.get_transform().localScaleOne(); uITutorialConfirmDialog.Setup(); return(uITutorialConfirmDialog); }
private bool InitPictureStoryShowConfirm(object data) { UIStartupHeader startupHeader = StartupTaskManager.GetStartupHeader(); UIStartupNavigation navigation = StartupTaskManager.GetNavigation(); startupHeader.SetMessage("チュ\u30fcトリアル"); navigation.Hide(null); _uiTutorialConfirmDialog = UITutorialConfirmDialog.Instantiate(((Component)StartupTaskManager.GetPrefabFile().prefabUITutorialConfirmDialog).GetComponent <UITutorialConfirmDialog>(), StartupTaskManager.GetSharedPlace()); _uiTutorialConfirmDialog.Init(OnPictureStoryShowConfirmCancel, OnPictureStoryShowConfirmDecide); _uiTutorialConfirmDialog.Open(null); return(false); }