private void OnFinishedMovie() { FirstMeetingManager fmm = StartupTaskManager.GetFirstMeetingManager(); Observable.FromCoroutine(() => fmm.Play(_nMstId, delegate { Dlg.Call(ref _actOnFinished); })).Subscribe(); }
public static FirstMeetingManager Instantiate(FirstMeetingManager prefab, int nMstId) { FirstMeetingManager firstMeetingManager = Object.Instantiate <FirstMeetingManager>(prefab); firstMeetingManager.get_transform().set_position(Vector3.get_right() * 50f); firstMeetingManager.get_transform().localScaleZero(); firstMeetingManager.VirtualCtor(nMstId); return(firstMeetingManager); }
public static FirstMeetingManager Instantiate(FirstMeetingManager prefab, int nMstId) { FirstMeetingManager firstMeetingManager = UnityEngine.Object.Instantiate(prefab); firstMeetingManager.transform.position = Vector3.right * 50f; firstMeetingManager.transform.localScaleZero(); firstMeetingManager.VirtualCtor(nMstId); return(firstMeetingManager); }