private void Start() { //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_0023: Expected O, but got Unknown viewMode = VIEW_MODE.NORMAL; targetCamera = MonoBehaviourSingleton <AppMain> .I.mainCamera; targetCameraTransform = targetCamera.get_transform(); defaultFov = MonoBehaviourSingleton <GlobalSettingsManager> .I.cameraParam.outGameFieldOfView; homeSceneParam = MonoBehaviourSingleton <OutGameSettingsManager> .I.homeScene; loungeSceneParam = MonoBehaviourSingleton <OutGameSettingsManager> .I.loungeScene; isInitialized = true; }
public HomeCharacterBase CreateSelf(HomePeople home_people, Transform parent, Action <HomeStageAreaEvent> notice_callback) { //IL_0076: Unknown result type (might be due to invalid IL or missing references) //IL_008b: Unknown result type (might be due to invalid IL or missing references) //IL_0096: Unknown result type (might be due to invalid IL or missing references) //IL_009b: Unknown result type (might be due to invalid IL or missing references) //IL_00df: Unknown result type (might be due to invalid IL or missing references) //IL_00f4: Unknown result type (might be due to invalid IL or missing references) //IL_00ff: Unknown result type (might be due to invalid IL or missing references) //IL_0104: Unknown result type (might be due to invalid IL or missing references) //IL_013e: Unknown result type (might be due to invalid IL or missing references) //IL_0157: Unknown result type (might be due to invalid IL or missing references) HomeSelfCharacter homeSelfCharacter = Utility.CreateGameObjectAndComponent("HomeSelfCharacter", parent, -1) as HomeSelfCharacter; homeSelfCharacter.SetHomePeople(home_people); homeSelfCharacter.StopDiscussion(); homeSelfCharacter.SetNoticeCallback(notice_callback); OutGameSettingsManager.HomeScene homeScene = MonoBehaviourSingleton <OutGameSettingsManager> .I.homeScene; OutGameSettingsManager.LoungeScene loungeScene = MonoBehaviourSingleton <OutGameSettingsManager> .I.loungeScene; OutGameSettingsManager.GuildScene guildScene = MonoBehaviourSingleton <OutGameSettingsManager> .I.guildScene; Vector3 position; float num; if (MonoBehaviourSingleton <DeliveryManager> .IsValid() && MonoBehaviourSingleton <DeliveryManager> .I.isStoryEventEnd) { MonoBehaviourSingleton <DeliveryManager> .I.isStoryEventEnd = false; position = (MonoBehaviourSingleton <HomeManager> .IsValid() ? homeScene.selfInitStoryEndPos : ((!MonoBehaviourSingleton <LoungeManager> .IsValid()) ? guildScene.selfInitStoryEndPos : loungeScene.selfInitStoryEndPos)); num = (MonoBehaviourSingleton <HomeManager> .IsValid() ? homeScene.selfInitStoryEndRot : ((!MonoBehaviourSingleton <LoungeManager> .IsValid()) ? guildScene.selfInitStoryEndRot : loungeScene.selfInitStoryEndRot)); } else { position = (MonoBehaviourSingleton <HomeManager> .IsValid() ? homeScene.selfInitPos : ((!MonoBehaviourSingleton <LoungeManager> .IsValid()) ? guildScene.selfInitPos : loungeScene.selfInitPos)); num = (MonoBehaviourSingleton <HomeManager> .IsValid() ? homeScene.selfInitRot : ((!MonoBehaviourSingleton <LoungeManager> .IsValid()) ? guildScene.selfInitRot : loungeScene.selfInitRot)); } homeSelfCharacter._transform.set_position(position); homeSelfCharacter._transform.set_eulerAngles(new Vector3(0f, num, 0f)); if (MonoBehaviourSingleton <LoungeManager> .IsValid()) { homeSelfCharacter.SetChatEvent(); } return(homeSelfCharacter); }
public LoungePlayer CreateLoungePlayer(HomePeople home_people, Transform parent, CharaInfo chara_info, bool useMovingEntry) { //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Unknown result type (might be due to invalid IL or missing references) //IL_007d: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Unknown result type (might be due to invalid IL or missing references) LoungePlayer loungePlayer = Utility.CreateGameObjectAndComponent("LoungePlayer", parent, -1) as LoungePlayer; loungePlayer.SetHomePeople(home_people); loungePlayer.StopDiscussion(); loungePlayer.SetLoungeCharaInfo(chara_info); OutGameSettingsManager.LoungeScene loungeScene = MonoBehaviourSingleton <OutGameSettingsManager> .I.loungeScene; Vector3 val = default(Vector3); val._002Ector(0f, 0f, -1f); float selfInitRot = loungeScene.selfInitRot; loungePlayer._transform.set_position((!useMovingEntry) ? loungeScene.selfInitPos : val); loungePlayer._transform.set_eulerAngles(new Vector3(0f, selfInitRot, 0f)); loungePlayer.SetMoveTargetPosition(loungeScene.selfInitPos); loungePlayer.SetChatEvent(); return(loungePlayer); }