This commit is contained in:
2025-09-01 21:25:54 +08:00
parent f9c8bba4b2
commit 6a32cc3f24
27 changed files with 3146 additions and 4272 deletions
+529
View File
@@ -0,0 +1,529 @@
<linker>
<assembly fullname="AllIn1SpriteShaderAssembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="AllIn1SpriteShader.AllIn1Shader" preserve="all" />
</assembly>
<assembly fullname="Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="AibisDream.ActiveScenePart" preserve="all" />
<type fullname="AibisDream.ActorAnima" preserve="all" />
<type fullname="AibisDream.ActorManager" preserve="all" />
<type fullname="AibisDream.ActorSlot" preserve="all" />
<type fullname="AibisDream.AnimaMobileObject" preserve="all" />
<type fullname="AibisDream.BatchSpawner" preserve="all" />
<type fullname="AibisDream.BoolButton" preserve="all" />
<type fullname="AibisDream.Bubble" preserve="all" />
<type fullname="AibisDream.BubbleGroup" preserve="all" />
<type fullname="AibisDream.BubbleOption" preserve="all" />
<type fullname="AibisDream.BubbleOptionSlot" preserve="all" />
<type fullname="AibisDream.BubbleSlot" preserve="all" />
<type fullname="AibisDream.BubbleSlotGroup" preserve="all" />
<type fullname="AibisDream.BubbleStyle" preserve="all" />
<type fullname="AibisDream.CenterOption" preserve="all" />
<type fullname="AibisDream.CenterText" preserve="all" />
<type fullname="AibisDream.CircularProgress" preserve="all" />
<type fullname="AibisDream.ClinicSystem" preserve="all" />
<type fullname="AibisDream.ColorTintButton" preserve="all" />
<type fullname="AibisDream.CordPull" preserve="all" />
<type fullname="AibisDream.CursorManager" preserve="all" />
<type fullname="AibisDream.CutLine" preserve="all" />
<type fullname="AibisDream.CuttingManager" preserve="all" />
<type fullname="AibisDream.DemoTimer" preserve="all" />
<type fullname="AibisDream.DialogBox" preserve="all" />
<type fullname="AibisDream.DialogCanvasManager" preserve="all" />
<type fullname="AibisDream.DialogController" preserve="all" />
<type fullname="AibisDream.EmoManager" preserve="all" />
<type fullname="AibisDream.EndPanel" preserve="all" />
<type fullname="AibisDream.EngineSystem" preserve="all" />
<type fullname="AibisDream.EnvironmentManager" preserve="all" />
<type fullname="AibisDream.ExpressionCable" preserve="all" />
<type fullname="AibisDream.ExpressionCableSystem" preserve="all" />
<type fullname="AibisDream.ExpressionManager" preserve="all" />
<type fullname="AibisDream.ExpressionPlug" preserve="all" />
<type fullname="AibisDream.ExpressionPowerSource" preserve="all" />
<type fullname="AibisDream.ExpressionSocket" preserve="all" />
<type fullname="AibisDream.ExpressionSubSystem" preserve="all" />
<type fullname="AibisDream.EyeSystem" preserve="all" />
<type fullname="AibisDream.FixSystem.BaseSocket" preserve="all" />
<type fullname="AibisDream.FixSystem.BodyModule" preserve="all" />
<type fullname="AibisDream.FixSystem.BodyModuleSystem" preserve="all" />
<type fullname="AibisDream.FixSystem.Cable" preserve="all" />
<type fullname="AibisDream.FixSystem.CableReel" preserve="all" />
<type fullname="AibisDream.FixSystem.CableSystem" preserve="all" />
<type fullname="AibisDream.FixSystem.CheckData" preserve="all" />
<type fullname="AibisDream.FixSystem.CheckGameHandler" preserve="all" />
<type fullname="AibisDream.FixSystem.CheckRule" preserve="all" />
<type fullname="AibisDream.FixSystem.FixLightSystem" preserve="all" />
<type fullname="AibisDream.FixSystem.FixSystemCenter" preserve="all" />
<type fullname="AibisDream.FixSystem.MoleModule" preserve="all" />
<type fullname="AibisDream.FixSystem.PipelineProduct" preserve="all" />
<type fullname="AibisDream.FixSystem.PipelineSystem" preserve="all" />
<type fullname="AibisDream.FixSystem.Plug" preserve="all" />
<type fullname="AibisDream.FixSystem.ScreenSystem" preserve="all" />
<type fullname="AibisDream.FixSystem.VerificationCodeSystem" preserve="all" />
<type fullname="AibisDream.FixSystem.WhackMoleData" preserve="all" />
<type fullname="AibisDream.FixSystem.WhackMoleSystem" preserve="all" />
<type fullname="AibisDream.Framework.EventTriggerEx" preserve="all" />
<type fullname="AibisDream.Framework.MonoCenter" preserve="all" />
<type fullname="AibisDream.Framework.SpriteGroupKit" preserve="all" />
<type fullname="AibisDream.Framework.UICamera" preserve="all" />
<type fullname="AibisDream.GameManager" preserve="all" />
<type fullname="AibisDream.Gear" preserve="all" />
<type fullname="AibisDream.GearSystem" preserve="all" />
<type fullname="AibisDream.Kit.ActionKitMonoBehaviourEvents" preserve="all" />
<type fullname="AibisDream.Kit.AudioManager" preserve="all" />
<type fullname="AibisDream.Kit.MonoUpdateActionExecutor" preserve="all" />
<type fullname="AibisDream.Kit.VerText" preserve="all" />
<type fullname="AibisDream.LanguageItem" preserve="all" />
<type fullname="AibisDream.LineView" preserve="all" />
<type fullname="AibisDream.LocalisedLineProvider" preserve="all" />
<type fullname="AibisDream.LocalizedText" preserve="all" />
<type fullname="AibisDream.MainPanel" preserve="all" />
<type fullname="AibisDream.MouseFollowAndZoom" preserve="all" />
<type fullname="AibisDream.MoveablePartGroup" preserve="all" />
<type fullname="AibisDream.OpenSystem" preserve="all" />
<type fullname="AibisDream.OutsideCenter" preserve="all" />
<type fullname="AibisDream.PlayToolPanel" preserve="all" />
<type fullname="AibisDream.PrefabMobileObject" preserve="all" />
<type fullname="AibisDream.RecordPanel" preserve="all" />
<type fullname="AibisDream.SavesPanel" preserve="all" />
<type fullname="AibisDream.SceneLoader" preserve="all" />
<type fullname="AibisDream.SelectItem" preserve="all" />
<type fullname="AibisDream.SettingForm" preserve="all" />
<type fullname="AibisDream.SettingPanel" preserve="all" />
<type fullname="AibisDream.Shaft" preserve="all" />
<type fullname="AibisDream.SliderEx" preserve="all" />
<type fullname="AibisDream.SliderItem" preserve="all" />
<type fullname="AibisDream.Spawner" preserve="all" />
<type fullname="AibisDream.SpawnScenePart" preserve="all" />
<type fullname="AibisDream.SpriteActor" preserve="all" />
<type fullname="AibisDream.SpriteButton" preserve="all" />
<type fullname="AibisDream.SpriteFlashSystem" preserve="all" />
<type fullname="AibisDream.SpriteMobileObject" preserve="all" />
<type fullname="AibisDream.SpriteScenePart" preserve="all" />
<type fullname="AibisDream.StartPanel" preserve="all" />
<type fullname="AibisDream.StorageSystem" preserve="all" />
<type fullname="AibisDream.SubwayCenter" preserve="all" />
<type fullname="AibisDream.TalkSceneSO" preserve="all" />
<type fullname="AibisDream.TaskScreen" preserve="all" />
<type fullname="AibisDream.UIManager" preserve="all" />
<type fullname="AibisDream.Vehicle" preserve="all" />
<type fullname="ChipModule" preserve="all" />
<type fullname="ClueBaordNew" preserve="all" />
<type fullname="ClueInteraction" preserve="all" />
<type fullname="ClueItem" preserve="all" />
<type fullname="ClueManager" preserve="all" />
<type fullname="DraggableUI" preserve="all" />
<type fullname="ExplosionEffect" preserve="all" />
<type fullname="EyeTarget" preserve="all" />
<type fullname="EyeTransitionManager" preserve="all" />
<type fullname="FavoritesManager" preserve="all" />
<type fullname="GearFollower" preserve="all" />
<type fullname="HeatMapController" preserve="all" />
<type fullname="LakeLineDrawer" preserve="all" />
<type fullname="LineInteraction" preserve="all" />
<type fullname="MemoryClueSlot" preserve="all" />
<type fullname="MemoryProcess" preserve="all" />
<type fullname="PhysicCable" preserve="all" />
<type fullname="PhysicLineSegment" preserve="all" />
<type fullname="PunchTapeSystem" preserve="all" />
<type fullname="RobotECGWave" preserve="all" />
<type fullname="ScreenEffectManager" preserve="all" />
<type fullname="ShockSystem" preserve="all" />
<type fullname="TimelineManager" preserve="all" />
<type fullname="UFModule" preserve="all" />
<type fullname="UFSystem" preserve="all" />
<type fullname="ViewCameraManager" preserve="all" />
<type fullname="AibisDream.BoolButtonData" preserve="nothing" serialized="true" />
<type fullname="AibisDream.UIFormOption" preserve="nothing" serialized="true" />
<type fullname="AibisDream.AddressArray" preserve="nothing" serialized="true" />
<type fullname="AibisDream.BubbleOptionSlotData" preserve="nothing" serialized="true" />
<type fullname="AibisDream.BubbleSlotData" preserve="nothing" serialized="true" />
<type fullname="AibisDream.BubbleSlotGroupData" preserve="nothing" serialized="true" />
<type fullname="AibisDream.FixSystem.BodyModuleData" preserve="nothing" serialized="true" />
<type fullname="AibisDream.FixSystem.CableConfig" preserve="nothing" serialized="true" />
<type fullname="AibisDream.Framework.SpriteGroupConfig" preserve="nothing" serialized="true" />
<type fullname="AibisDream.Framework.SpriteGroupData" preserve="nothing" serialized="true" />
<type fullname="AibisDream.MobileObjectData" preserve="nothing" serialized="true" />
<type fullname="AibisDream.SpawnerPartAsset" preserve="nothing" serialized="true" />
<type fullname="AibisDream.SpritePartAsset" preserve="nothing" serialized="true" />
<type fullname="EyeTransitionManager/ViewConfig" preserve="nothing" serialized="true" />
<type fullname="PunchTape" preserve="nothing" serialized="true" />
<type fullname="AibisDream.ActivePartAsset" preserve="nothing" serialized="true" />
<type fullname="AibisDream.CableConfig" preserve="nothing" serialized="true" />
<type fullname="LakeLineDrawer/Obstacle" preserve="nothing" serialized="true" />
<type fullname="LakeLineDrawer/TargetPoint" preserve="nothing" serialized="true" />
<type fullname="AibisDream.EngineConfig" preserve="nothing" serialized="true" />
<type fullname="AibisDream.EngineGear" preserve="nothing" serialized="true" />
<type fullname="AibisDream.FixSystem.WhackMoleBatch" preserve="nothing" serialized="true" />
</assembly>
<assembly fullname="Assembly-CSharp-firstpass, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="MeadowGames.UINodeConnect4.Extension.StartPlusEndNodeIDsRule" preserve="all" />
<type fullname="MeadowGames.UINodeConnect4.Extra.ConstantUpdateLines" preserve="all" />
<type fullname="MeadowGames.UINodeConnect4.Extra.HandlerRenderer" preserve="all" />
<type fullname="MeadowGames.UINodeConnect4.GraphicRenderer.UICLineRenderer" preserve="all" />
<type fullname="MeadowGames.UINodeConnect4.GraphManager" preserve="all" />
<type fullname="MeadowGames.UINodeConnect4.InputManager_LegacyInputSystem" preserve="all" />
<type fullname="MeadowGames.UINodeConnect4.Node" preserve="all" />
<type fullname="MeadowGames.UINodeConnect4.Port" preserve="all" />
<type fullname="MeadowGames.UINodeConnect4.PortControlPoint" preserve="all" />
<type fullname="MeadowGames.UINodeConnect4.SampleScene.ScrollViewGraph.CustomScrollRect" preserve="all" />
<type fullname="MeadowGames.UINodeConnect4.SampleScene.ScrollViewGraph.Zoom" preserve="all" />
<type fullname="MeadowGames.UINodeConnect4.UICContextMenu.AddNodeButtonItem" preserve="all" />
<type fullname="MeadowGames.UINodeConnect4.UICContextMenu.ContextMenuManager" preserve="all" />
<type fullname="MeadowGames.UINodeConnect4.UICContextMenu.DefaultConnectionWidthInputItem" preserve="all" />
<type fullname="MeadowGames.UINodeConnect4.UICContextMenu.DefaultCurveStyleDropdownItem" preserve="all" />
<type fullname="MeadowGames.UINodeConnect4.UICContextMenu.DuplicateNodeButtonItem" preserve="all" />
<type fullname="MeadowGames.UINodeConnect4.UICContextMenu.EmptyContextItem" preserve="all" />
<type fullname="MeadowGames.UINodeConnect4.UICContextMenu.RemoveElementsButtonItem" preserve="all" />
<type fullname="MeadowGames.UINodeConnect4.UICContextMenu.SelectedElementLabelItem" preserve="all" />
<type fullname="MeadowGames.UINodeConnect4.UICContextMenu.SetConnectionAnimationActiveToggleItem" preserve="all" />
<type fullname="MeadowGames.UINodeConnect4.UICContextMenu.SetConnectionAnimationPointsSliderItem" preserve="all" />
<type fullname="MeadowGames.UINodeConnect4.UICContextMenu.SetConnectionWidthInputItem" preserve="all" />
<type fullname="MeadowGames.UINodeConnect4.UICContextMenu.SetCurveStyleDropdownItem" preserve="all" />
<type fullname="MeadowGames.UINodeConnect4.UICContextMenu.SetElementsColorItem" preserve="all" />
<type fullname="MeadowGames.UINodeConnect4.UICContextMenu.SetNodesAlignmentItem" preserve="all" />
<type fullname="MeadowGames.UINodeConnect4.UICSystemManager" preserve="all" />
<type fullname="RainbowArt.CleanFlatUI.ButtonTransition" preserve="all" />
<type fullname="RainbowArt.CleanFlatUI.ModalWindow" preserve="all" />
<type fullname="RainbowArt.CleanFlatUI.ModalWindowProgressBar" preserve="all" />
<type fullname="RainbowArt.CleanFlatUI.Notification" preserve="all" />
<type fullname="RainbowArt.CleanFlatUI.ProgressBar" preserve="all" />
<type fullname="RainbowArt.CleanFlatUI.ProgressBarGridCircular" preserve="all" />
<type fullname="RainbowArt.CleanFlatUI.ProgressBarGridLinear" preserve="all" />
<type fullname="RainbowArt.CleanFlatUI.SliderTransition" preserve="all" />
<type fullname="MeadowGames.UINodeConnect4.Connection" preserve="nothing" serialized="true" />
<type fullname="MeadowGames.UINodeConnect4.DragSelection" preserve="nothing" serialized="true" />
<type fullname="MeadowGames.UINodeConnect4.GraphicRenderer.Line" preserve="nothing" serialized="true" />
<type fullname="MeadowGames.UINodeConnect4.GraphicRenderer.Line/LineCap" preserve="nothing" serialized="true" />
<type fullname="MeadowGames.UINodeConnect4.GraphicRenderer.LineAnimation" preserve="nothing" serialized="true" />
<type fullname="MeadowGames.UINodeConnect4.Pointer" preserve="nothing" serialized="true" />
<type fullname="RainbowArt.CleanFlatUI.ModalWindow/ModalWindowEvent" preserve="nothing" serialized="true" />
<type fullname="RainbowArt.CleanFlatUI.ModalWindowProgressBar/ModalWindowEvent" preserve="nothing" serialized="true" />
<type fullname="RainbowArt.CleanFlatUI.Notification/NotificationEvent" preserve="nothing" serialized="true" />
</assembly>
<assembly fullname="Cinemachine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="Cinemachine.CinemachineBlenderSettings" preserve="all" />
<type fullname="Cinemachine.CinemachineBrain" preserve="all" />
<type fullname="Cinemachine.CinemachinePipeline" preserve="all" />
<type fullname="Cinemachine.CinemachineVirtualCamera" preserve="all" />
<type fullname="Cinemachine.NoiseSettings" preserve="all" />
<type fullname="Cinemachine.CinemachineBlendDefinition" preserve="nothing" serialized="true" />
<type fullname="Cinemachine.CinemachineBlenderSettings/CustomBlend" preserve="nothing" serialized="true" />
<type fullname="Cinemachine.CinemachineBrain/BrainEvent" preserve="nothing" serialized="true" />
<type fullname="Cinemachine.CinemachineBrain/VcamActivatedEvent" preserve="nothing" serialized="true" />
<type fullname="Cinemachine.CinemachineVirtualCameraBase/TransitionParams" preserve="nothing" serialized="true" />
<type fullname="Cinemachine.LensSettings" preserve="nothing" serialized="true" />
<type fullname="Cinemachine.NoiseSettings/NoiseParams" preserve="nothing" serialized="true" />
<type fullname="Cinemachine.NoiseSettings/TransformNoiseParams" preserve="nothing" serialized="true" />
</assembly>
<assembly fullname="Febucci.TextAnimator.Runtime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="Febucci.UI.Actions.ActionDatabase" preserve="all" />
<type fullname="Febucci.UI.Actions.SpeedAction" preserve="all" />
<type fullname="Febucci.UI.Actions.WaitAnyInputAction" preserve="all" />
<type fullname="Febucci.UI.Actions.WaitForAction" preserve="all" />
<type fullname="Febucci.UI.Effects.AnimationsDatabase" preserve="all" />
<type fullname="Febucci.UI.Effects.BounceBehavior" preserve="all" />
<type fullname="Febucci.UI.Effects.DangleBehavior" preserve="all" />
<type fullname="Febucci.UI.Effects.DiagonalExpandAppearance" preserve="all" />
<type fullname="Febucci.UI.Effects.FadeAppearance" preserve="all" />
<type fullname="Febucci.UI.Effects.FadeBehavior" preserve="all" />
<type fullname="Febucci.UI.Effects.HorizontalExpandAppearance" preserve="all" />
<type fullname="Febucci.UI.Effects.OffsetAppearance" preserve="all" />
<type fullname="Febucci.UI.Effects.PendulumBehavior" preserve="all" />
<type fullname="Febucci.UI.Effects.RainbowBehavior" preserve="all" />
<type fullname="Febucci.UI.Effects.RandomDirectionAppearance" preserve="all" />
<type fullname="Febucci.UI.Effects.RotatingAppearance" preserve="all" />
<type fullname="Febucci.UI.Effects.RotationBehavior" preserve="all" />
<type fullname="Febucci.UI.Effects.ShakeBehavior" preserve="all" />
<type fullname="Febucci.UI.Effects.SizeAppearance" preserve="all" />
<type fullname="Febucci.UI.Effects.SizeBehavior" preserve="all" />
<type fullname="Febucci.UI.Effects.SlideBehavior" preserve="all" />
<type fullname="Febucci.UI.Effects.SwingBehavior" preserve="all" />
<type fullname="Febucci.UI.Effects.VerticalExpandAppearance" preserve="all" />
<type fullname="Febucci.UI.Effects.WaveBehavior" preserve="all" />
<type fullname="Febucci.UI.Effects.WiggleBehavior" preserve="all" />
<type fullname="Febucci.UI.TypewriterByCharacter" preserve="all" />
<type fullname="Febucci.UI.Core.CharacterEvent" preserve="nothing" serialized="true" />
<type fullname="Febucci.UI.Core.MessageEvent" preserve="nothing" serialized="true" />
<type fullname="Febucci.UI.TimeData" preserve="nothing" serialized="true" />
</assembly>
<assembly fullname="Febucci.TextAnimator.TMP.Runtime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="Febucci.UI.TextAnimator_TMP" preserve="all" />
</assembly>
<assembly fullname="FMODUnity, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="FMODUnity.FMODEventPlayable" preserve="all" />
<type fullname="FMODUnity.FMODEventTrack" preserve="all" />
<type fullname="FMODUnity.StudioListener" preserve="all" />
<type fullname="FMOD.GUID" preserve="nothing" serialized="true" />
<type fullname="FMODUnity.AutomatableSlots" preserve="nothing" serialized="true" />
<type fullname="FMODUnity.EventReference" preserve="nothing" serialized="true" />
<type fullname="FMODUnity.FMODEventMixerBehaviour" preserve="nothing" serialized="true" />
<type fullname="FMODUnity.FMODEventPlayableBehavior" preserve="nothing" serialized="true" />
</assembly>
<assembly fullname="ScreenFx, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="ScreenFx.CameraTrack" preserve="all" />
<type fullname="ScreenFx.MoveAsset" preserve="all" />
<type fullname="ScreenFx.NoiseAsset" preserve="all" />
<type fullname="ScreenFx.ScreenAsset" preserve="all" />
<type fullname="ScreenFx.ScreenFx" preserve="all" />
<type fullname="ScreenFx.ScreenFxPool" preserve="all" />
<type fullname="ScreenFx.ScreenTrack" preserve="all" />
<type fullname="ScreenFx.VolumeAsset" preserve="all" />
<type fullname="ScreenFx.VolumeTrack" preserve="all" />
<type fullname="ScreenFx.CameraBehaviour" preserve="nothing" serialized="true" />
<type fullname="ScreenFx.NoiseBehaviour" preserve="nothing" serialized="true" />
<type fullname="ScreenFx.Optional`1[Cinemachine.NoiseSettings]" preserve="nothing" serialized="true" />
<type fullname="ScreenFx.Optional`1[UnityEngine.Sprite]" preserve="nothing" serialized="true" />
<type fullname="ScreenFx.ScreenBehaviour" preserve="nothing" serialized="true" />
<type fullname="ScreenFx.VolumeBehaviour" preserve="nothing" serialized="true" />
</assembly>
<assembly fullname="Unity.2D.SpriteShape.Runtime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="UnityEngine.U2D.SpriteShape" preserve="all" />
<type fullname="UnityEngine.U2D.SpriteShapeController" preserve="all" />
<type fullname="UnityEngine.U2D.AngleRange" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.U2D.CornerSprite" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.U2D.Spline" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.U2D.SplineControlPoint" preserve="nothing" serialized="true" />
</assembly>
<assembly fullname="Unity.Addressables, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" preserve="all">
<type fullname="UnityEngine.AddressableAssets.Addressables" preserve="all" />
</assembly>
<assembly fullname="Unity.Localization, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="UnityEngine.Localization.Components.LocalizeStringEvent" preserve="all" />
<type fullname="UnityEngine.Localization.Locale" preserve="all" />
<type fullname="UnityEngine.Localization.Tables.SharedTableData" preserve="all" />
<type fullname="UnityEngine.Localization.Tables.StringTable" preserve="all" />
<type fullname="UnityEngine.Localization.Metadata.MetadataCollection" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Localization.Tables.DistributedUIDGenerator" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Localization.Tables.SharedTableData/SharedTableEntry" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Localization.Events.UnityEventString" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Localization.LocalizedString" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Localization.SmartFormat.PersistentVariables.StringVariable" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Localization.SmartFormat.PersistentVariables.VariableNameValuePair" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Localization.Tables.TableEntryReference" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Localization.Tables.TableReference" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Localization.LocaleIdentifier" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Localization.Metadata.Comment" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Localization.Metadata.SmartFormatTag" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Localization.Tables.TableEntryData" preserve="nothing" serialized="true" />
</assembly>
<assembly fullname="Unity.RenderPipelines.Core.Runtime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="UnityEngine.Rendering.Volume" preserve="all" />
<type fullname="UnityEngine.Rendering.VolumeProfile" preserve="all" />
<type fullname="UnityEngine.Rendering.BoolParameter" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Rendering.ClampedFloatParameter" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Rendering.ColorParameter" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Rendering.FloatParameter" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Rendering.Vector2Parameter" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Rendering.ClampedIntParameter" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Rendering.NoInterpClampedFloatParameter" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Rendering.NoInterpClampedIntParameter" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Rendering.NoInterpColorParameter" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Rendering.Texture2DParameter" preserve="nothing" serialized="true" />
</assembly>
<assembly fullname="Unity.RenderPipelines.Universal.Runtime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="UnityEngine.Rendering.Universal.ColorAdjustments" preserve="all" />
<type fullname="UnityEngine.Rendering.Universal.Light2D" preserve="all" />
<type fullname="UnityEngine.Rendering.Universal.UniversalAdditionalCameraData" preserve="all" />
<type fullname="UnityEngine.Rendering.Universal.Vignette" preserve="all" />
<type fullname="UnityEngine.Rendering.Universal.TemporalAA/Settings" preserve="nothing" serialized="true" />
</assembly>
<assembly fullname="Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" preserve="all">
<type fullname="UnityEngine.ResourceManagement.ResourceProviders.AssetBundleProvider" preserve="all" />
<type fullname="UnityEngine.ResourceManagement.ResourceProviders.AtlasSpriteProvider" preserve="all" />
<type fullname="UnityEngine.ResourceManagement.ResourceProviders.BundledAssetProvider" preserve="all" />
<type fullname="UnityEngine.ResourceManagement.ResourceProviders.InstanceProvider" preserve="all" />
<type fullname="UnityEngine.ResourceManagement.ResourceProviders.LegacyResourcesProvider" preserve="all" />
<type fullname="UnityEngine.ResourceManagement.ResourceProviders.SceneProvider" preserve="all" />
</assembly>
<assembly fullname="Unity.TextMeshPro, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="TMPro.TextMeshPro" preserve="all" />
<type fullname="TMPro.TextMeshProUGUI" preserve="all" />
<type fullname="TMPro.TMP_Dropdown" preserve="all" />
<type fullname="TMPro.TMP_FontAsset" preserve="all" />
<type fullname="TMPro.TMP_InputField" preserve="all" />
<type fullname="TMPro.FaceInfo_Legacy" preserve="nothing" serialized="true" />
<type fullname="TMPro.FontAssetCreationSettings" preserve="nothing" serialized="true" />
<type fullname="TMPro.KerningTable" preserve="nothing" serialized="true" />
<type fullname="TMPro.TMP_Character" preserve="nothing" serialized="true" />
<type fullname="TMPro.TMP_Dropdown/DropdownEvent" preserve="nothing" serialized="true" />
<type fullname="TMPro.TMP_Dropdown/OptionData" preserve="nothing" serialized="true" />
<type fullname="TMPro.TMP_Dropdown/OptionDataList" preserve="nothing" serialized="true" />
<type fullname="TMPro.TMP_FontFeatureTable" preserve="nothing" serialized="true" />
<type fullname="TMPro.TMP_FontWeightPair" preserve="nothing" serialized="true" />
<type fullname="TMPro.TMP_GlyphAdjustmentRecord" preserve="nothing" serialized="true" />
<type fullname="TMPro.TMP_GlyphPairAdjustmentRecord" preserve="nothing" serialized="true" />
<type fullname="TMPro.TMP_GlyphValueRecord" preserve="nothing" serialized="true" />
<type fullname="TMPro.TMP_InputField/OnChangeEvent" preserve="nothing" serialized="true" />
<type fullname="TMPro.TMP_InputField/SelectionEvent" preserve="nothing" serialized="true" />
<type fullname="TMPro.TMP_InputField/SubmitEvent" preserve="nothing" serialized="true" />
<type fullname="TMPro.TMP_InputField/TextSelectionEvent" preserve="nothing" serialized="true" />
<type fullname="TMPro.TMP_InputField/TouchScreenKeyboardEvent" preserve="nothing" serialized="true" />
<type fullname="TMPro.VertexGradient" preserve="nothing" serialized="true" />
</assembly>
<assembly fullname="Unity.Timeline, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="UnityEngine.Timeline.ActivationPlayableAsset" preserve="all" />
<type fullname="UnityEngine.Timeline.ActivationTrack" preserve="all" />
<type fullname="UnityEngine.Timeline.AnimationPlayableAsset" preserve="all" />
<type fullname="UnityEngine.Timeline.AnimationTrack" preserve="all" />
<type fullname="UnityEngine.Timeline.GroupTrack" preserve="all" />
<type fullname="UnityEngine.Timeline.MarkerTrack" preserve="all" />
<type fullname="UnityEngine.Timeline.SignalAsset" preserve="all" />
<type fullname="UnityEngine.Timeline.SignalEmitter" preserve="all" />
<type fullname="UnityEngine.Timeline.SignalReceiver" preserve="all" />
<type fullname="UnityEngine.Timeline.SignalTrack" preserve="all" />
<type fullname="UnityEngine.Timeline.TimelineAsset" preserve="all" />
<type fullname="UnityEngine.Timeline.MarkerList" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Timeline.TimelineAsset/EditorSettings" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Timeline.TimelineClip" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Timeline.SignalReceiver/EventKeyValue" preserve="nothing" serialized="true" />
</assembly>
<assembly fullname="UnityEngine.AnimationModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="UnityEngine.AnimationClip" preserve="all" />
<type fullname="UnityEngine.Animator" preserve="all" />
<type fullname="UnityEngine.RuntimeAnimatorController" preserve="all" />
</assembly>
<assembly fullname="UnityEngine.AudioModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="UnityEngine.AudioListener" preserve="all" />
</assembly>
<assembly fullname="UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="UnityEngine.Camera" preserve="all" />
<type fullname="UnityEngine.ComputeShader" preserve="all" />
<type fullname="UnityEngine.GameObject" preserve="all" />
<type fullname="UnityEngine.LightmapSettings" preserve="all" />
<type fullname="UnityEngine.LightProbes" preserve="all" />
<type fullname="UnityEngine.LineRenderer" preserve="all" />
<type fullname="UnityEngine.Material" preserve="all" />
<type fullname="UnityEngine.Mesh" preserve="all" />
<type fullname="UnityEngine.MeshFilter" preserve="all" />
<type fullname="UnityEngine.MeshRenderer" preserve="all" />
<type fullname="UnityEngine.MonoBehaviour" preserve="all" />
<type fullname="UnityEngine.Object" preserve="all" />
<type fullname="UnityEngine.RectTransform" preserve="all" />
<type fullname="UnityEngine.RenderSettings" preserve="all" />
<type fullname="UnityEngine.RenderTexture" preserve="all" />
<type fullname="UnityEngine.Shader" preserve="all" />
<type fullname="UnityEngine.Sprite" preserve="all" />
<type fullname="UnityEngine.SpriteRenderer" preserve="all" />
<type fullname="UnityEngine.Texture2D" preserve="all" />
<type fullname="UnityEngine.Transform" preserve="all" />
<type fullname="UnityEngine.U2D.SpriteAtlas" preserve="all" />
<type fullname="UnityEngine.Events.ArgumentCache" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Events.PersistentCallGroup" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Events.PersistentListenerMode" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Events.UnityEvent" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Events.UnityEvent`2[System.String,System.String]" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.RectOffset" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Events.UnityEvent`2[System.Single,System.Single]" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Events.UnityEvent`1[System.Int32]" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.Events.UnityEvent`1[System.Single]" preserve="nothing" serialized="true" />
</assembly>
<assembly fullname="UnityEngine.DirectorModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="UnityEngine.Playables.PlayableDirector" preserve="all" />
</assembly>
<assembly fullname="UnityEngine.ParticleSystemModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="UnityEngine.ParticleSystem" preserve="all" />
<type fullname="UnityEngine.ParticleSystemRenderer" preserve="all" />
</assembly>
<assembly fullname="UnityEngine.Physics2DModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="UnityEngine.BoxCollider2D" preserve="all" />
<type fullname="UnityEngine.CircleCollider2D" preserve="all" />
<type fullname="UnityEngine.PolygonCollider2D" preserve="all" />
<type fullname="UnityEngine.Rigidbody2D" preserve="all" />
</assembly>
<assembly fullname="UnityEngine.PhysicsModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="UnityEngine.BoxCollider" preserve="all" />
<type fullname="UnityEngine.Rigidbody" preserve="all" />
</assembly>
<assembly fullname="UnityEngine.SpriteMaskModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="UnityEngine.SpriteMask" preserve="all" />
</assembly>
<assembly fullname="UnityEngine.SpriteShapeModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="UnityEngine.U2D.SpriteShapeRenderer" preserve="all" />
</assembly>
<assembly fullname="UnityEngine.TextRenderingModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="UnityEngine.Font" preserve="all" />
</assembly>
<assembly fullname="UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="UnityEngine.EventSystems.EventSystem" preserve="all" />
<type fullname="UnityEngine.EventSystems.Physics2DRaycaster" preserve="all" />
<type fullname="UnityEngine.EventSystems.StandaloneInputModule" preserve="all" />
<type fullname="UnityEngine.UI.Button" preserve="all" />
<type fullname="UnityEngine.UI.CanvasScaler" preserve="all" />
<type fullname="UnityEngine.UI.ContentSizeFitter" preserve="all" />
<type fullname="UnityEngine.UI.GraphicRaycaster" preserve="all" />
<type fullname="UnityEngine.UI.GridLayoutGroup" preserve="all" />
<type fullname="UnityEngine.UI.HorizontalLayoutGroup" preserve="all" />
<type fullname="UnityEngine.UI.Image" preserve="all" />
<type fullname="UnityEngine.UI.LayoutElement" preserve="all" />
<type fullname="UnityEngine.UI.Mask" preserve="all" />
<type fullname="UnityEngine.UI.Outline" preserve="all" />
<type fullname="UnityEngine.UI.RawImage" preserve="all" />
<type fullname="UnityEngine.UI.RectMask2D" preserve="all" />
<type fullname="UnityEngine.UI.Scrollbar" preserve="all" />
<type fullname="UnityEngine.UI.ScrollRect" preserve="all" />
<type fullname="UnityEngine.UI.Slider" preserve="all" />
<type fullname="UnityEngine.UI.Text" preserve="all" />
<type fullname="UnityEngine.UI.Toggle" preserve="all" />
<type fullname="UnityEngine.UI.VerticalLayoutGroup" preserve="all" />
<type fullname="UnityEngine.UI.AnimationTriggers" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.UI.Button/ButtonClickedEvent" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.UI.ColorBlock" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.UI.FontData" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.UI.MaskableGraphic/CullStateChangedEvent" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.UI.Navigation" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.UI.ScrollRect/ScrollRectEvent" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.UI.Scrollbar/ScrollEvent" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.UI.Slider/SliderEvent" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.UI.SpriteState" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.UI.Toggle/ToggleEvent" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.EventSystems.EventTrigger/Entry" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.EventSystems.EventTrigger/TriggerEvent" preserve="nothing" serialized="true" />
</assembly>
<assembly fullname="UnityEngine.UIModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="UnityEngine.Canvas" preserve="all" />
<type fullname="UnityEngine.CanvasGroup" preserve="all" />
<type fullname="UnityEngine.CanvasRenderer" preserve="all" />
</assembly>
<assembly fullname="UnityEngine.VFXModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="UnityEngine.VFX.VFXRenderer" preserve="all" />
<type fullname="UnityEngine.VFX.VisualEffect" preserve="all" />
<type fullname="UnityEngine.VFX.VisualEffectAsset" preserve="all" />
</assembly>
<assembly fullname="VolFx, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
<type fullname="VolFx.AdjustmentsVol" preserve="all" />
<type fullname="VolFx.AsciiVol" preserve="all" />
<type fullname="VolFx.BloomVol" preserve="all" />
<type fullname="VolFx.BlurVol" preserve="all" />
<type fullname="VolFx.ChromaticVol" preserve="all" />
<type fullname="VolFx.DistortVol" preserve="all" />
<type fullname="VolFx.DitherVol" preserve="all" />
<type fullname="VolFx.GlitchVol" preserve="all" />
<type fullname="VolFx.OutlineVol" preserve="all" />
<type fullname="VolFx.PixelationVol" preserve="all" />
<type fullname="VolFx.VhsVol" preserve="all" />
<type fullname="VolFx.CurveParameter" preserve="nothing" serialized="true" />
<type fullname="VolFx.CurveValue" preserve="nothing" serialized="true" />
<type fullname="VolFx.DitherVol/NoiseModeParameter" preserve="nothing" serialized="true" />
<type fullname="VolFx.GradientParameter" preserve="nothing" serialized="true" />
<type fullname="VolFx.GradientValue" preserve="nothing" serialized="true" />
<type fullname="VolFx.OutlineVol/ModeParameter" preserve="nothing" serialized="true" />
<type fullname="VolFx.OutlineVol/RemapParameter" preserve="nothing" serialized="true" />
</assembly>
<assembly fullname="YarnSpinner.Unity, Version=2.4.2.0, Culture=neutral, PublicKeyToken=null">
<type fullname="Yarn.Unity.DialogueRunner" preserve="all" />
<type fullname="Yarn.Unity.Localization" preserve="all" />
<type fullname="Yarn.Unity.YarnProject" preserve="all" />
<type fullname="Yarn.Unity.DialogueRunner/StringUnityEvent" preserve="nothing" serialized="true" />
<type fullname="Yarn.Unity.UnityLocalization.LineMetadata" preserve="nothing" serialized="true" />
<type fullname="Yarn.Unity.LineMetadata" preserve="nothing" serialized="true" />
<type fullname="Yarn.Unity.LineMetadata/StringDictionary" preserve="nothing" serialized="true" />
<type fullname="Yarn.Unity.Localization/AssetDictionary" preserve="nothing" serialized="true" />
<type fullname="Yarn.Unity.Localization/StringDictionary" preserve="nothing" serialized="true" />
</assembly>
<assembly fullname="UnityEngine.TextCoreFontEngineModule">
<type fullname="UnityEngine.TextCore.FaceInfo" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.TextCore.Glyph" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.TextCore.GlyphMetrics" preserve="nothing" serialized="true" />
<type fullname="UnityEngine.TextCore.GlyphRect" preserve="nothing" serialized="true" />
</assembly>
</linker>
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: c0f3ab3379eacf7409f8bd36cba6626e
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -1,74 +1,109 @@
fileFormatVersion: 2
guid: 684d4d47a018ed14080e15f4c99b8e86
PluginImporter:
serializedVersion: 1
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
Android:
enabled: 0
settings:
CPU: AnyCPU
Any:
enabled: 0
settings: {}
Editor:
enabled: 1
settings:
CPU: x86_64
DefaultValueInitialized: true
OS: Windows
Linux:
- first:
: Linux
second:
enabled: 1
settings:
CPU: None
Linux64:
enabled: 1
settings:
CPU: x86_64
LinuxUniversal:
- first:
: LinuxUniversal
second:
enabled: 1
settings:
CPU: AnyCPU
OSXIntel:
- first:
: OSXIntel
second:
enabled: 1
settings:
CPU: None
OSXIntel64:
- first:
: OSXIntel64
second:
enabled: 1
settings:
CPU: AnyCPU
OSXUniversal:
enabled: 1
settings:
CPU: AnyCPU
SamsungTV:
- first:
: SamsungTV
second:
enabled: 0
settings:
STV_MODEL: STANDARD_13
WP8:
- first:
: WP8
second:
enabled: 0
settings:
CPU: AnyCPU
DontProcess: False
PlaceholderPath:
Win:
- first:
Android: Android
second:
enabled: 0
settings:
CPU: None
Win64:
CPU: AnyCPU
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 1
settings:
CPU: x86_64
DefaultValueInitialized: true
OS: Windows
- first:
Standalone: Linux64
second:
enabled: 1
settings:
CPU: AnyCPU
WindowsStoreApps:
- first:
Standalone: OSXUniversal
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: Win
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win64
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 0
settings:
CPU: AnyCPU
DontProcess: False
PlaceholderPath:
SDK: AnySDK
iOS:
- first:
iPhone: iOS
second:
enabled: 0
settings:
CompileFlags:
File diff suppressed because one or more lines are too long
-296
View File
@@ -1,296 +0,0 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-8234214074502932667
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 447ed90198624d459ee11f60dbf86ffc, type: 3}
m_Name: Bloom
m_EditorClassIdentifier:
_active: 1
_shader: {fileID: 4800000, guid: a181405f9bf44aef9074ccf0a6292106, type: 3}
_mode: 1
_samples: 7
_scatterMax:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
_scatterMin:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: -1
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 0
inSlope: -1
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
_flicker:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 0.5
value: 0.77
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 1
m_RotationOrder: 4
_flickerPeriod: 7
_hdr: 1
_bloomOnly: 0
--- !u!114 &-8109126328540679528
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 21a16e723449431ba1367f4805bf053e, type: 3}
m_Name: Chromatic
m_EditorClassIdentifier:
_active: 1
_shader: {fileID: 4800000, guid: 2bc242da8bd3afc46b9a21ba0353488a, type: 3}
--- !u!114 &-7528913851883273910
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5b112dda1e626fd4994e8b9c5b84df3e, type: 3}
m_Name: Adjustments
m_EditorClassIdentifier:
_active: 1
_shader: {fileID: 4800000, guid: f3f2512ee1fe3774ba15927559ebdd5d, type: 3}
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 11145981673336645838492a2d98e247, type: 3}
m_Name: New 2D Renderer Data
m_EditorClassIdentifier:
debugShaders:
debugReplacementPS: {fileID: 4800000, guid: cf852408f2e174538bcd9b7fda1c5ae7, type: 3}
hdrDebugViewPS: {fileID: 4800000, guid: 573620ae32aec764abd4d728906d2587, type: 3}
m_RendererFeatures:
- {fileID: 8783021944370377836}
m_RendererFeatureMap: 6c34a888ec8fe379
m_UseNativeRenderPass: 0
m_TransparencySortMode: 0
m_TransparencySortAxis: {x: 0, y: 1, z: 0}
m_HDREmulationScale: 1
m_LightRenderTextureScale: 0.5
m_LightBlendStyles:
- name: Multiply
maskTextureChannel: 0
blendMode: 1
- name: Additive
maskTextureChannel: 0
blendMode: 0
- name: Multiply with Mask
maskTextureChannel: 1
blendMode: 1
- name: Additive with Mask
maskTextureChannel: 1
blendMode: 0
m_UseDepthStencilBuffer: 1
m_UseCameraSortingLayersTexture: 0
m_CameraSortingLayersTextureBound: -1
m_CameraSortingLayerDownsamplingMethod: 0
m_MaxLightRenderTextureCount: 16
m_MaxShadowRenderTextureCount: 1
m_ShapeLightShader: {fileID: 4800000, guid: d79e1c784eaf80c4585c0be7391f757a, type: 3}
m_ShapeLightVolumeShader: {fileID: 4800000, guid: 7e60080c8cd24a2468cb08b4bfee5606, type: 3}
m_PointLightShader: {fileID: 4800000, guid: e35a31e1679aeff489e202f5cc4853d5, type: 3}
m_PointLightVolumeShader: {fileID: 4800000, guid: c7d04ca57e5449d49ad9cee1c604bc26, type: 3}
m_CoreBlitShader: {fileID: 4800000, guid: 93446b5c5339d4f00b85c159e1159b7c, type: 3}
m_BlitHDROverlay: {fileID: 4800000, guid: a89bee29cffa951418fc1e2da94d1959, type: 3}
m_CoreBlitColorAndDepthPS: {fileID: 4800000, guid: d104b2fc1ca6445babb8e90b0758136b, type: 3}
m_SamplingShader: {fileID: 4800000, guid: 04c410c9937594faa893a11dceb85f7e, type: 3}
m_ProjectedShadowShader: {fileID: 4800000, guid: ce09d4a80b88c5a4eb9768fab4f1ee00, type: 3}
m_SpriteShadowShader: {fileID: 4800000, guid: 44fc62292b65ab04eabcf310e799ccf6, type: 3}
m_SpriteUnshadowShader: {fileID: 4800000, guid: de02b375720b5c445afe83cd483bedf3, type: 3}
m_GeometryUnshadowShader: {fileID: 4800000, guid: 77774d9009bb81447b048c907d4c6273, type: 3}
m_FallbackErrorShader: {fileID: 4800000, guid: e6e9a19c3678ded42a3bc431ebef7dbd, type: 3}
m_PostProcessData: {fileID: 11400000, guid: 41439944d30ece34e96484bdb6645b55, type: 2}
m_FallOffLookup: {fileID: 2800000, guid: 5688ab254e4c0634f8d6c8e0792331ca, type: 3}
m_DefaultMaterialType: 0
m_DefaultCustomMaterial: {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
m_DefaultLitMaterial: {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
m_DefaultUnlitMaterial: {fileID: 2100000, guid: 9dfc825aed78fcd4ba02077103263b40, type: 2}
m_DefaultMaskMaterial: {fileID: 2100000, guid: 15d0c3709176029428a0da2f8cecf0b5, type: 2}
--- !u!114 &3411133082952228258
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 2d8f4db9a2fd4f108b1374528137ff26, type: 3}
m_Name: Distort
m_EditorClassIdentifier:
_active: 1
_shader: {fileID: 4800000, guid: 9c32f8d52c844eaab1fc42000e1eef87, type: 3}
_motionMul: 1
--- !u!114 &8783021944370377836
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9c53165b379c3d94ca34b12cb8eb10f1, type: 3}
m_Name: VolFx
m_EditorClassIdentifier:
m_Active: 1
_event: 550
_format:
enabled: 1
value: 0
_mask:
enabled: 1
value:
serializedVersion: 2
m_Bits: 8150
_source:
_source: 1
_globalTex: _inputTex
_renderTex: {fileID: 0}
_pool: {fileID: 0}
_output:
_output: 0
_renderTex: {fileID: 0}
_outputTex: _VolFxTex
_sortingOrder: 0
_camDistance: 100
_passes:
m_List:
- {fileID: -8234214074502932667}
- {fileID: 9152330762943427451}
- {fileID: -8109126328540679528}
- {fileID: 3411133082952228258}
- {fileID: -7528913851883273910}
_blitShader: {fileID: 4800000, guid: a8a709d9db2241741ab3032b946ef258, type: 3}
--- !u!114 &9152330762943427451
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e74a3c1ae8c044449049a98373e05c46, type: 3}
m_Name: Blur
m_EditorClassIdentifier:
_active: 1
_shader: {fileID: 4800000, guid: b653195d866dd764b888bc5edc759074, type: 3}
_response:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 0.03
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
_filter:
- 0.007228916
- 0.043749984
- 0.12409639
- 0.20444278
- 0.24096388
- 0.20444278
- 0.12409639
- 0.043749984
- 0.007228916
+10 -635
View File
@@ -1,19 +1,5 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-9020997542369159946
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5b112dda1e626fd4994e8b9c5b84df3e, type: 3}
m_Name: Adjustments
m_EditorClassIdentifier:
_active: 1
_shader: {fileID: 4800000, guid: f3f2512ee1fe3774ba15927559ebdd5d, type: 3}
--- !u!114 &-7976154355830050088
MonoBehaviour:
m_ObjectHideFlags: 3
@@ -477,119 +463,15 @@ MonoBehaviour:
m_PostInfinity: 2
m_RotationOrder: 4
_filter:
- 0.0048309183
- 0.016401261
- 0.04532712
- 0.08293076
- 0.12053438
- 0.14946026
- 0.1610306
- 0.14946026
- 0.12053438
- 0.08293076
- 0.04532712
- 0.016401261
- 0.0048309183
--- !u!114 &-6101378415725230565
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 447ed90198624d459ee11f60dbf86ffc, type: 3}
m_Name: Bloom
m_EditorClassIdentifier:
_active: 1
_shader: {fileID: 4800000, guid: a181405f9bf44aef9074ccf0a6292106, type: 3}
_mode: 1
_samples: 7
_scatterMax:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
_scatterMin:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: -1
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 0
inSlope: -1
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
_flicker:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 0.5
value: 0.77
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 1
m_RotationOrder: 4
_flickerPeriod: 7
_hdr: 1
_bloomOnly: 0
- 0.007228916
- 0.043749984
- 0.12409639
- 0.20444278
- 0.24096388
- 0.20444278
- 0.12409639
- 0.043749984
- 0.007228916
--- !u!114 &-6086986437317696584
MonoBehaviour:
m_ObjectHideFlags: 3
@@ -770,245 +652,6 @@ MonoBehaviour:
_sharpDefault: 0
_modeDefault: 0
_remapDefault: 0
--- !u!114 &-3168611994348321445
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ae100a1d916453841bc76a898164e07d, type: 3}
m_Name: Glitch
m_EditorClassIdentifier:
_active: 1
_shader: {fileID: 4800000, guid: 6e12feb5d935b5d4592800a7747a4083, type: 3}
_crushPix: 720
_clipSpeed: 15
_chaoticPeriod:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0.4698
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 3
inWeight: 0
outWeight: 0.3333
- serializedVersion: 3
time: 1
value: 1
inSlope: 1
outSlope: 1
tangentMode: 0
weightedMode: 3
inWeight: 0.3333
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
_chaoticImpact:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 1
outSlope: 1
tangentMode: 0
weightedMode: 3
inWeight: 0
outWeight: 0.3333
- serializedVersion: 3
time: 1
value: 1
inSlope: 1
outSlope: 1
tangentMode: 0
weightedMode: 3
inWeight: 0.3333
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
_periodMax:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 1
outSlope: 1
tangentMode: 0
weightedMode: 3
inWeight: 0
outWeight: 0.3333
- serializedVersion: 3
time: 1
value: 1
inSlope: 1
outSlope: 1
tangentMode: 0
weightedMode: 3
inWeight: 1
outWeight: 1
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
_periodMin:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: -0.0542
outSlope: -0.0542
tangentMode: 0
weightedMode: 3
inWeight: 0
outWeight: 0.3333
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
_lockMax:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0.0481
inSlope: 0.9518
outSlope: 0.9518
tangentMode: 0
weightedMode: 3
inWeight: 0
outWeight: 0.3333
- serializedVersion: 3
time: 1
value: 1
inSlope: 0.9518
outSlope: 0.9518
tangentMode: 0
weightedMode: 3
inWeight: 0.3333
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
_noiseScale:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0.018
inSlope: 0.9819
outSlope: 0.9819
tangentMode: 0
weightedMode: 3
inWeight: 0
outWeight: 0.3333
- serializedVersion: 3
time: 1
value: 1
inSlope: 0.9819
outSlope: 0.9819
tangentMode: 0
weightedMode: 3
inWeight: 0.3333
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
_crushLerp:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: -5.7671
outSlope: -5.7671
tangentMode: 0
weightedMode: 3
inWeight: 0
outWeight: 0.1525
- serializedVersion: 3
time: 1
value: 0.1397
inSlope: -0.254803
outSlope: -0.2548
tangentMode: 0
weightedMode: 3
inWeight: 0.4444
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
_gridScale:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0.0241
inSlope: 0.1746
outSlope: 0.17
tangentMode: 0
weightedMode: 3
inWeight: 0
outWeight: 0.33
- serializedVersion: 3
time: 1
value: 0.1987
inSlope: 0.1746
outSlope: 0.1746
tangentMode: 0
weightedMode: 3
inWeight: 0.33
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
_crushCorrection: {x: 4, y: 2}
_lockCorrection: {x: 2, y: 1}
_clipTex:
- {fileID: 2800000, guid: 5b7315d0fadccd44cbeebc5f6d66f558, type: 3}
- {fileID: 2800000, guid: 95bb028ae4d2faa4d9d2cbcb96de72b5, type: 3}
- {fileID: 2800000, guid: 6249b0e373a79874fb97a964814bd824, type: 3}
- {fileID: 2800000, guid: 677c02f0e9a625842b9d45c86301d68a, type: 3}
- {fileID: 2800000, guid: a4d802a08298f2b42a9482a922ea98a6, type: 3}
- {fileID: 2800000, guid: fdccebeaea0ccc34b97b97ee8360967c, type: 3}
- {fileID: 2800000, guid: 887ade08f7fc51f4fb94386d3e3b1a5b, type: 3}
- {fileID: 2800000, guid: be227f8364ee9284fb015f7c8f4c9203, type: 3}
- {fileID: 2800000, guid: 2962676d3761b924488d272ec973b367, type: 3}
- {fileID: 2800000, guid: c9de242e0ae6dd4468609eea58df9638, type: 3}
- {fileID: 2800000, guid: 6085d1a394efe0a4f9a7e7fc9398bac5, type: 3}
- {fileID: 2800000, guid: 4803b9d351c130b4d855b89ceac119a9, type: 3}
- {fileID: 2800000, guid: 98205bc4bbe96224198be9e272cee5bb, type: 3}
- {fileID: 2800000, guid: cebb6e55d74883945b601090e8072922, type: 3}
- {fileID: 2800000, guid: 0765d675c3b385744bbd568f43572e52, type: 3}
- {fileID: 2800000, guid: 7ab674cf6122e524289fedd7dfbefbd4, type: 3}
- {fileID: 2800000, guid: 8ccd68d95d6262e4da09761c65866877, type: 3}
- {fileID: 2800000, guid: 9d0a5de41226af947925364a3de7157e, type: 3}
- {fileID: 2800000, guid: c7bdb9edcb121554c8d4b4859f041c5b, type: 3}
- {fileID: 2800000, guid: ffc4dfe8a487f4c4a93b380d086a0716, type: 3}
- {fileID: 2800000, guid: 1e4eb7fc4b2be8440aa5af99f63a3e65, type: 3}
- {fileID: 2800000, guid: bd5b40a86d03e3246a750f437584d9db, type: 3}
- {fileID: 2800000, guid: 71bad6486db6cc7449c49f66f7fdd10b, type: 3}
- {fileID: 2800000, guid: 5c6f6364a18cd5040a7f843f4eaf17b9, type: 3}
- {fileID: 2800000, guid: 68c20b0dca757864b8f17787dd71161a, type: 3}
- {fileID: 2800000, guid: 8e8977dd8e29a0a4d9e973ee56eed96a, type: 3}
- {fileID: 2800000, guid: 99ce9abedc010d548ac5c5de9402beaa, type: 3}
- {fileID: 2800000, guid: 6540d31a9577e7740bbd3c1f85e98e17, type: 3}
- {fileID: 2800000, guid: 045f8a0612e9e634b9bebf447b9af213, type: 3}
- {fileID: 2800000, guid: cde9cb0c4a8cc7c4fb23debb1c6c3d1c, type: 3}
- {fileID: 2800000, guid: a39f940a9a25f8e4ba800b2a9a33553e, type: 3}
- {fileID: 2800000, guid: e834d94a726a1544289ab3a6bd76f065, type: 3}
- {fileID: 2800000, guid: 60004bc8e934d064ca58a53d86ae9c6a, type: 3}
- {fileID: 2800000, guid: c66c1ee59fbe07a489567bbc0fe6ca84, type: 3}
- {fileID: 2800000, guid: 4b292ed3be6030a46b692cd4a6618fce, type: 3}
- {fileID: 2800000, guid: e5a866cc090f56e4ba639cea6678767a, type: 3}
- {fileID: 2800000, guid: a6de4c4d850aff74ea58994f8d761c2d, type: 3}
--- !u!114 &-3063813549966104749
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -1044,7 +687,6 @@ MonoBehaviour:
_camDistance: 100
_passes:
m_List:
- {fileID: 1282525556638210197}
- {fileID: -7976154355830050088}
- {fileID: -6630189947678617363}
- {fileID: -4706010490582190339}
@@ -1052,54 +694,6 @@ MonoBehaviour:
- {fileID: -4089346209222343200}
- {fileID: 6143409875911169258}
_blitShader: {fileID: 4800000, guid: a8a709d9db2241741ab3032b946ef258, type: 3}
--- !u!114 &-2864387462724840827
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e74a3c1ae8c044449049a98373e05c46, type: 3}
m_Name: Blur
m_EditorClassIdentifier:
_active: 1
_shader: {fileID: 4800000, guid: b653195d866dd764b888bc5edc759074, type: 3}
_response:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 0.03
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
_filter:
- 0.007228916
- 0.043749984
- 0.12409639
- 0.20444278
- 0.24096388
- 0.20444278
- 0.12409639
- 0.043749984
- 0.007228916
--- !u!114 &-2860804213676619136
MonoBehaviour:
m_ObjectHideFlags: 3
@@ -1200,52 +794,6 @@ MonoBehaviour:
_active: 1
_shader: {fileID: 4800000, guid: 9c32f8d52c844eaab1fc42000e1eef87, type: 3}
_motionMul: 1
--- !u!114 &-918737159750512811
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 14ba4625d5562404f9f843158bcce61c, type: 3}
m_Name: Pixelation
m_EditorClassIdentifier:
_active: 1
_shader: {fileID: 4800000, guid: b6e6d026c1bad65479771f106c52fc5b, type: 3}
_scaleLerp:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0.0049
inSlope: 0.0508
outSlope: 0.0508
tangentMode: 0
weightedMode: 3
inWeight: 0
outWeight: 0.742
- serializedVersion: 3
time: 1
value: 0.5095
inSlope: 3.6093
outSlope: 3.6093
tangentMode: 0
weightedMode: 3
inWeight: 0.1646
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
_gridReveal: 0.229
_gridDiscrete: 1
_absolute: 1
_roundnessDefault: 1
_crispDefault: 0
_palette:
enabled: 0
value: {fileID: 0}
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -1267,8 +815,7 @@ MonoBehaviour:
- {fileID: 7564190746689473555}
- {fileID: 3859429700647655299}
- {fileID: -5944937020451865993}
- {fileID: 7000587867322496020}
m_RendererFeatureMap: 53e73d20cf257bd5ef909c479dfb3578130cb9456867f9688317b256dd728f3577bae50b47577fad14b4aa1a93152761
m_RendererFeatureMap: 53e73d20cf257bd5ef909c479dfb3578130cb9456867f9688317b256dd728f3577bae50b47577fad
m_UseNativeRenderPass: 0
m_TransparencySortMode: 0
m_TransparencySortAxis: {x: 0, y: 1, z: 0}
@@ -1552,121 +1099,6 @@ MonoBehaviour:
- {fileID: 2800000, guid: 4b292ed3be6030a46b692cd4a6618fce, type: 3}
- {fileID: 2800000, guid: e5a866cc090f56e4ba639cea6678767a, type: 3}
- {fileID: 2800000, guid: a6de4c4d850aff74ea58994f8d761c2d, type: 3}
--- !u!114 &570425658877215689
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 2d8f4db9a2fd4f108b1374528137ff26, type: 3}
m_Name: Distort
m_EditorClassIdentifier:
_active: 1
_shader: {fileID: 4800000, guid: 9c32f8d52c844eaab1fc42000e1eef87, type: 3}
_motionMul: 1
--- !u!114 &1282525556638210197
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 447ed90198624d459ee11f60dbf86ffc, type: 3}
m_Name: Bloom
m_EditorClassIdentifier:
_active: 1
_shader: {fileID: 4800000, guid: a181405f9bf44aef9074ccf0a6292106, type: 3}
_mode: 1
_samples: 7
_scatterMax:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
_scatterMin:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: -1
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 0
inSlope: -1
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
_flicker:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 0.5
value: 0.77
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 1
m_RotationOrder: 4
_flickerPeriod: 7
_hdr: 1
_bloomOnly: 0
--- !u!114 &3859429700647655299
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -1680,20 +1112,6 @@ MonoBehaviour:
m_Name: ShapesRenderFeature
m_EditorClassIdentifier:
m_Active: 1
--- !u!114 &5440560837828023301
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 21a16e723449431ba1367f4805bf053e, type: 3}
m_Name: Chromatic
m_EditorClassIdentifier:
_active: 1
_shader: {fileID: 4800000, guid: 2bc242da8bd3afc46b9a21ba0353488a, type: 3}
--- !u!114 &5750588265537625692
MonoBehaviour:
m_ObjectHideFlags: 3
@@ -1765,49 +1183,6 @@ MonoBehaviour:
_pixelate: 1
_scale: 0.735
_frameRate: 0
--- !u!114 &7000587867322496020
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9c53165b379c3d94ca34b12cb8eb10f1, type: 3}
m_Name: VolFx
m_EditorClassIdentifier:
m_Active: 1
_event: 550
_format:
enabled: 1
value: 0
_mask:
enabled: 0
value:
serializedVersion: 2
m_Bits: 0
_source:
_source: 0
_globalTex: _inputTex
_renderTex: {fileID: 0}
_pool: {fileID: 0}
_output:
_output: 0
_renderTex: {fileID: 0}
_outputTex: _VolFxTex
_sortingOrder: 0
_camDistance: 100
_passes:
m_List:
- {fileID: -6101378415725230565}
- {fileID: 5440560837828023301}
- {fileID: 570425658877215689}
- {fileID: -9020997542369159946}
- {fileID: -918737159750512811}
- {fileID: -2864387462724840827}
- {fileID: -3168611994348321445}
_blitShader: {fileID: 4800000, guid: a8a709d9db2241741ab3032b946ef258, type: 3}
--- !u!114 &7479859181604836748
MonoBehaviour:
m_ObjectHideFlags: 3
+63
View File
@@ -0,0 +1,63 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 11145981673336645838492a2d98e247, type: 3}
m_Name: UIrenderer
m_EditorClassIdentifier:
debugShaders:
debugReplacementPS: {fileID: 4800000, guid: cf852408f2e174538bcd9b7fda1c5ae7, type: 3}
hdrDebugViewPS: {fileID: 4800000, guid: 573620ae32aec764abd4d728906d2587, type: 3}
m_RendererFeatures: []
m_RendererFeatureMap:
m_UseNativeRenderPass: 0
m_TransparencySortMode: 0
m_TransparencySortAxis: {x: 0, y: 1, z: 0}
m_HDREmulationScale: 1
m_LightRenderTextureScale: 0.5
m_LightBlendStyles:
- name: Multiply
maskTextureChannel: 0
blendMode: 1
- name: Additive
maskTextureChannel: 0
blendMode: 0
- name: Multiply with Mask
maskTextureChannel: 1
blendMode: 1
- name: Additive with Mask
maskTextureChannel: 1
blendMode: 0
m_UseDepthStencilBuffer: 1
m_UseCameraSortingLayersTexture: 0
m_CameraSortingLayersTextureBound: -1
m_CameraSortingLayerDownsamplingMethod: 0
m_MaxLightRenderTextureCount: 16
m_MaxShadowRenderTextureCount: 1
m_ShapeLightShader: {fileID: 4800000, guid: d79e1c784eaf80c4585c0be7391f757a, type: 3}
m_ShapeLightVolumeShader: {fileID: 4800000, guid: 7e60080c8cd24a2468cb08b4bfee5606, type: 3}
m_PointLightShader: {fileID: 4800000, guid: e35a31e1679aeff489e202f5cc4853d5, type: 3}
m_PointLightVolumeShader: {fileID: 4800000, guid: c7d04ca57e5449d49ad9cee1c604bc26, type: 3}
m_CoreBlitShader: {fileID: 4800000, guid: 93446b5c5339d4f00b85c159e1159b7c, type: 3}
m_BlitHDROverlay: {fileID: 4800000, guid: a89bee29cffa951418fc1e2da94d1959, type: 3}
m_CoreBlitColorAndDepthPS: {fileID: 4800000, guid: d104b2fc1ca6445babb8e90b0758136b, type: 3}
m_SamplingShader: {fileID: 4800000, guid: 04c410c9937594faa893a11dceb85f7e, type: 3}
m_ProjectedShadowShader: {fileID: 4800000, guid: ce09d4a80b88c5a4eb9768fab4f1ee00, type: 3}
m_SpriteShadowShader: {fileID: 4800000, guid: 44fc62292b65ab04eabcf310e799ccf6, type: 3}
m_SpriteUnshadowShader: {fileID: 4800000, guid: de02b375720b5c445afe83cd483bedf3, type: 3}
m_GeometryUnshadowShader: {fileID: 4800000, guid: 77774d9009bb81447b048c907d4c6273, type: 3}
m_FallbackErrorShader: {fileID: 4800000, guid: e6e9a19c3678ded42a3bc431ebef7dbd, type: 3}
m_PostProcessData: {fileID: 11400000, guid: 41439944d30ece34e96484bdb6645b55, type: 2}
m_FallOffLookup: {fileID: 2800000, guid: 5688ab254e4c0634f8d6c8e0792331ca, type: 3}
m_DefaultMaterialType: 0
m_DefaultCustomMaterial: {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
m_DefaultLitMaterial: {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
m_DefaultUnlitMaterial: {fileID: 2100000, guid: 9dfc825aed78fcd4ba02077103263b40, type: 2}
m_DefaultMaskMaterial: {fileID: 2100000, guid: 15d0c3709176029428a0da2f8cecf0b5, type: 2}
File diff suppressed because it is too large Load Diff
+4 -4
View File
@@ -8267,7 +8267,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: a79441f348de89743a2939f4d699eac1, type: 3}
m_Name:
m_EditorClassIdentifier:
m_RenderShadows: 1
m_RenderShadows: 0
m_RequiresDepthTextureOption: 2
m_RequiresOpaqueTextureOption: 2
m_CameraType: 0
@@ -8360,7 +8360,7 @@ Transform:
m_GameObject: {fileID: 519420028}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -0.009999275, y: 0, z: -10}
m_LocalPosition: {x: 0, y: 0, z: -10}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@@ -10451,9 +10451,9 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: feee73ba51d6e1a4da81ed7f94ab4694, type: 3}
m_Name:
m_EditorClassIdentifier:
runMode: 1
runMode: 0
firstTalkSo: {fileID: 11400000, guid: 2f763a2c04ecafb4981379b7363f9791, type: 2}
testTalkSo: {fileID: 11400000, guid: 6d49b124127007b48b6881ce33350263, type: 2}
testTalkSo: {fileID: 11400000, guid: 10601ce26230723479d875a630f15732, type: 2}
saveFileName:
--- !u!1 &719273460
GameObject:
@@ -35,34 +35,6 @@ MonoBehaviour:
m_Crisp:
m_OverrideState: 1
m_Value: 1
--- !u!114 &-6005217429618913591
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 7b447969f02741db89b76840f68e7812, type: 3}
m_Name: DistortVol
m_EditorClassIdentifier:
active: 0
m_Weight:
m_OverrideState: 1
m_Value: 1
m_Value:
m_OverrideState: 1
m_Value: 0.433
m_Tiling:
m_OverrideState: 1
m_Value: 0.245
m_Angle:
m_OverrideState: 1
m_Value: 67
m_Motion:
m_OverrideState: 1
m_Value: 0.109
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -77,7 +49,6 @@ MonoBehaviour:
m_EditorClassIdentifier:
components:
- {fileID: -7190008204367525031}
- {fileID: -6005217429618913591}
- {fileID: 1627487101541308581}
--- !u!114 &1627487101541308581
MonoBehaviour:
-149
View File
@@ -1,153 +1,5 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-7682227166186683383
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 318746fcd28a4c69b04bd76bb679e99e, type: 3}
m_Name: BloomVol
m_EditorClassIdentifier:
active: 0
m_Intencity:
m_OverrideState: 1
m_Value: 0.98
m_Threshold:
m_OverrideState: 1
m_Value:
_curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0.57
value: 0
inSlope: 8
outSlope: 8
tangentMode: 0
weightedMode: 3
inWeight: 0
outWeight: 0.1732
- serializedVersion: 3
time: 1
value: 1
inSlope: 0.3
outSlope: 0.3
tangentMode: 0
weightedMode: 3
inWeight: 0.32
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
_pixels:
- {r: 0, g: 0, b: 0, a: 0}
- {r: 0, g: 0, b: 0, a: 0}
- {r: 0, g: 0, b: 0, a: 0}
- {r: 0, g: 0, b: 0, a: 0}
- {r: 0, g: 0, b: 0, a: 0}
- {r: 0, g: 0, b: 0, a: 0}
- {r: 0, g: 0, b: 0, a: 0}
- {r: 0, g: 0, b: 0, a: 0}
- {r: 0, g: 0, b: 0, a: 0}
- {r: 0, g: 0, b: 0, a: 0}
- {r: 0, g: 0, b: 0, a: 0}
- {r: 0, g: 0, b: 0, a: 0}
- {r: 0, g: 0, b: 0, a: 0}
- {r: 0, g: 0, b: 0, a: 0}
- {r: 0, g: 0, b: 0, a: 0}
- {r: 0, g: 0, b: 0, a: 0}
- {r: 0, g: 0, b: 0, a: 0}
- {r: 0, g: 0, b: 0, a: 0}
- {r: 0.07728752, g: 0.07728752, b: 0.07728752, a: 0.07728752}
- {r: 0.25423908, g: 0.25423908, b: 0.25423908, a: 0.25423908}
- {r: 0.38693804, g: 0.38693804, b: 0.38693804, a: 0.38693804}
- {r: 0.49503732, g: 0.49503732, b: 0.49503732, a: 0.49503732}
- {r: 0.5865047, g: 0.5865047, b: 0.5865047, a: 0.5865047}
- {r: 0.66545904, g: 0.66545904, b: 0.66545904, a: 0.66545904}
- {r: 0.7343008, g: 0.7343008, b: 0.7343008, a: 0.7343008}
- {r: 0.7945121, g: 0.7945121, b: 0.7945121, a: 0.7945121}
- {r: 0.84701, g: 0.84701, b: 0.84701, a: 0.84701}
- {r: 0.8923147, g: 0.8923147, b: 0.8923147, a: 0.8923147}
- {r: 0.93061954, g: 0.93061954, b: 0.93061954, a: 0.93061954}
- {r: 0.9617921, g: 0.9617921, b: 0.9617921, a: 0.9617921}
- {r: 0.9852997, g: 0.9852997, b: 0.9852997, a: 0.9852997}
- {r: 1, g: 1, b: 1, a: 1}
m_Scatter:
m_OverrideState: 1
m_Value: 0.716
m_Color:
m_OverrideState: 1
m_Value:
_grad:
serializedVersion: 2
key0: {r: 1, g: 1, b: 1, a: 0}
key1: {r: 1, g: 1, b: 1, a: 0}
key2: {r: 0, g: 0, b: 0, a: 0}
key3: {r: 0, g: 0, b: 0, a: 0}
key4: {r: 0, g: 0, b: 0, a: 0}
key5: {r: 0, g: 0, b: 0, a: 0}
key6: {r: 0, g: 0, b: 0, a: 0}
key7: {r: 0, g: 0, b: 0, a: 0}
ctime0: 0
ctime1: 65535
ctime2: 0
ctime3: 0
ctime4: 0
ctime5: 0
ctime6: 0
ctime7: 0
atime0: 0
atime1: 0
atime2: 0
atime3: 0
atime4: 0
atime5: 0
atime6: 0
atime7: 0
m_Mode: 0
m_ColorSpace: -1
m_NumColorKeys: 2
m_NumAlphaKeys: 2
_pixels:
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
- {r: 1, g: 1, b: 1, a: 0}
m_Flicker:
m_OverrideState: 0
m_Value: 1
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -162,7 +14,6 @@ MonoBehaviour:
m_EditorClassIdentifier:
components:
- {fileID: 2321393093159241853}
- {fileID: -7682227166186683383}
- {fileID: 7041451338154629234}
--- !u!114 &2321393093159241853
MonoBehaviour:
@@ -78,85 +78,5 @@ MonoBehaviour:
m_Name: "\u8BB0\u5FC6\u6E05\u6670\u5EA6\u6ED1\u5757"
m_EditorClassIdentifier:
components:
- {fileID: 6885057381391584257}
- {fileID: -7746936809400307181}
- {fileID: -6395177404146716432}
--- !u!114 &6885057381391584257
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8f87d2427ed3459e8c4345aacc689427, type: 3}
m_Name: BlurVol
m_EditorClassIdentifier:
active: 0
m_Radius:
m_OverrideState: 1
m_Value: 0.797
m_Radial:
m_OverrideState: 1
m_Value: 0.188
m_Samples:
m_OverrideState: 1
m_Value: 18
m_Aspect:
m_OverrideState: 1
m_Value: -1
m_Angle:
m_OverrideState: 1
m_Value: 111
m_Adaptive:
m_OverrideState: 0
m_Value:
_curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
_pixels:
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
- {r: 1, g: 1, b: 1, a: 1}
@@ -58,8 +58,9 @@ public class MemoryProcess : MonoBehaviour
public void OpenMemoryView()
{
memoryView.gameObject.SetActive(true);
memoryGroup.SetActive(true);
memoryView.gameObject.SetActive(true);
}
public IEnumerator DropMemoryProjector()
@@ -0,0 +1,352 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using AibisDream.FixSystem;
using AibisDream.Framework;
using AibisDream.Kit;
using AibisDream.Utility;
using UnityEngine;
using UnityEngine.AddressableAssets;
using UnityEngine.ResourceManagement.AsyncOperations;
using Yarn.Unity;
namespace AibisDream
{
/// <summary>
/// 优化版本的GameManager,解决性能问题
/// </summary>
public class GameManagerOptimized : Singleton<GameManagerOptimized>, IGameManager
{
#region
private TalkSceneSO[] _totalSceneSos;
private bool _isSceneSosLoaded = false;
public RunMode runMode;
[Header("生产环境数据(一般不动)")] public TalkSceneSO firstTalkSo;
[Header("单场景测试")] public TalkSceneSO testTalkSo;
[Header("存档测试")] public string saveFileName;
#endregion
private BindProperty<TalkSceneSO> _currentTalkSceneSo;
private readonly GameLoopData _data = new();
// 缓存组件引用,避免重复查找
private UIManager _uiManager;
private SceneLoader _sceneLoader;
private DialogController _dialogController;
private AudioManager _audioManager;
private ScreenEffectManager _screenEffectManager;
private DialogCanvasManager _dialogCanvasManager;
private CameraKit _cameraKit;
private StorageSystem _storageSystem;
// 性能监控
private PerformanceProfiler _performanceProfiler;
private PerformanceOptimizer _performanceOptimizer;
private void Awake()
{
// 预缓存所有需要的组件引用
CacheComponentReferences();
}
private void Start()
{
// 管理游戏开始时各部分的初始化
SettingLoader.Init();
// 数据类注册
_storageSystem.RegisterData(_data);
// 场景So事件注册
_currentTalkSceneSo = new BindProperty<TalkSceneSO>();
_currentTalkSceneSo.Register(item => _data.curSceneSoName = item.name);
// 事件广播
EnumEventSystem.Global.Send(GameLoopEnum.AppStart);
// 异步加载SO,避免阻塞主线程
StartCoroutine(LoadSceneSOsAsync());
#if UNITY_EDITOR
if (runMode == RunMode.SingleScene)
{
StartWithLevel(testTalkSo);
}
else if (runMode == RunMode.SaveFile)
{
StartWithSaveFile($"{ConstRef.TestSaveFilePath}/{saveFileName}");
}
else
{
StartCoroutine(LoadInitialSceneAsync());
}
#else
_sceneLoader.LoadScene("ClinicOut");
runMode = RunMode.Product;
#endif
}
/// <summary>
/// 缓存组件引用,避免重复的FindObjectOfType调用
/// </summary>
private void CacheComponentReferences()
{
_uiManager = UIManager.Instance;
_sceneLoader = SceneLoader.Instance;
_dialogController = DialogController.Instance;
_audioManager = AudioManager.Instance;
_screenEffectManager = ScreenEffectManager.Instance;
_dialogCanvasManager = DialogCanvasManager.Instance;
_cameraKit = CameraKit.Instance;
_storageSystem = StorageSystem.Instance;
// 性能监控组件
_performanceProfiler = FindObjectOfType<PerformanceProfiler>();
_performanceOptimizer = FindObjectOfType<PerformanceOptimizer>();
}
/// <summary>
/// 异步加载场景SO,避免阻塞主线程
/// </summary>
private IEnumerator LoadSceneSOsAsync()
{
var handle = Addressables.LoadAssetsAsync<TalkSceneSO>("SceneSO", null);
while (!handle.IsDone)
{
yield return null;
}
if (handle.Status == AsyncOperationStatus.Succeeded)
{
_totalSceneSos = handle.Result.ToArray();
_isSceneSosLoaded = true;
Debug.Log($"成功加载 {_totalSceneSos.Length} 个场景SO");
}
else
{
Debug.LogError("加载场景SO失败");
}
Addressables.Release(handle);
}
/// <summary>
/// 异步加载初始场景
/// </summary>
private IEnumerator LoadInitialSceneAsync()
{
yield return _uiManager.GetPanel<PlayToolPanel>().FadeInAsync(0);
yield return _sceneLoader.LoadSceneAsync("ClinicOut");
yield return _uiManager.GetPanel<PlayToolPanel>().FadeOutAsync();
}
#region
public void StartNewGame()
{
// 游戏开始
EnumEventSystem.Global.Send(GameLoopEnum.GameStart);
// 重置屏幕效果
_screenEffectManager?.ResetSaturation();
// 序列
_currentTalkSceneSo.Value = firstTalkSo;
StartCoroutine(LoadFirstScene());
}
public void StartWithLevel(TalkSceneSO sceneSo)
{
// 游戏开始
EnumEventSystem.Global.Send(GameLoopEnum.GameStart);
// 重置屏幕效果
_screenEffectManager?.ResetSaturation();
_currentTalkSceneSo.Value = sceneSo;
StartCoroutine(LoadFirstScene());
}
public void StartWithSaveFile(string fileName)
{
// 游戏开始
EnumEventSystem.Global.Send(GameLoopEnum.GameStart);
_storageSystem.Load(fileName);
}
private IEnumerator LoadFirstScene()
{
yield return _uiManager.GetPanel<PlayToolPanel>().FadeInAsync(0.5f);
yield return _sceneLoader.LoadSceneAsync(_currentTalkSceneSo.Value.firstSceneName);
_dialogController.StartDialog(_currentTalkSceneSo.Value.yarnProject);
}
public void PauseGame()
{
// 系统暂停
Time.timeScale = 0;
// 交互继续
EnumEventSystem.Global.Send(GameLoopEnum.PauseGame);
// 音频全部暂停
_audioManager.PauseAll();
// 关闭Dialog
_dialogCanvasManager.CloseCanvas();
}
public void ContinueGame()
{
// 系统继续
Time.timeScale = 1;
// 交互继续
EnumEventSystem.Global.Send(GameLoopEnum.UnPauseGame);
// 音频继续
_audioManager.UnPauseAll();
// 打开Dialog
_dialogCanvasManager.OpenCanvas();
}
public void QuitGame()
{
// 系统继续
Time.timeScale = 1;
// 重置屏幕效果
_screenEffectManager?.ResetSaturation();
// 卸载当前场景
StartCoroutine(RestartCoroutine());
}
public void QuitApp()
{
// 清理资源
CleanupResources();
Application.Quit();
}
/// <summary>
/// 清理资源,避免内存泄漏
/// </summary>
private void CleanupResources()
{
// 记录性能数据
_performanceProfiler?.LogPerformanceData();
// 清理对象池
var objectPool = FindObjectOfType<ObjectPool>();
objectPool?.ClearAllPools();
// 清理其他资源
Resources.UnloadUnusedAssets();
System.GC.Collect();
}
private IEnumerator RestartCoroutine()
{
_uiManager.GetPanel<PlayToolPanel>().FadeInSync(0.1f);
// 清理所有系统注册
if (FixSystemCenter.SystemDic != null)
{
FixSystemCenter.SystemDic.Clear();
}
// 执行场景切换等功能
_cameraKit.ResetCamera();
yield return _sceneLoader.LoadSceneAsync("ClinicOut");
_dialogController.StopDialog();
EnumEventSystem.Global.Send(GameLoopEnum.GameQuit);
// 音频继续
_audioManager.UnPauseAll();
// 打开Dialog
_dialogCanvasManager.OpenCanvas();
yield return _uiManager.GetPanel<PlayToolPanel>().FadeOutAsync();
}
#endregion
#region
public void SetScreenMode(string windowMode)
{
switch (windowMode)
{
case "FullScreen":
Screen.SetResolution(Screen.currentResolution.width, Screen.currentResolution.height, FullScreenMode.FullScreenWindow);
break;
case "Windowed":
Screen.SetResolution(1920, 1080, FullScreenMode.Windowed);
break;
case "MaximizedWindow":
Screen.SetResolution(Screen.currentResolution.width, Screen.currentResolution.height, FullScreenMode.MaximizedWindow);
break;
default:
Debug.Log($"{windowMode} err");
break;
}
}
#endregion
public IEnumerator NextSceneSo()
{
if (_currentTalkSceneSo.Value && _currentTalkSceneSo.Value.nextScene)
{
_currentTalkSceneSo.Value = _currentTalkSceneSo.Value.nextScene;
yield return _uiManager.GetPanel<PlayToolPanel>().FadeInAsync();
yield return _sceneLoader.LoadSceneAsync(_currentTalkSceneSo.Value.firstSceneName);
_dialogController.StartDialog(_currentTalkSceneSo.Value.yarnProject);
}
else
{
yield return null;
Debug.Log("没有下个场景了");
}
}
public void SetSceneSoByName(string soName)
{
if (!_isSceneSosLoaded)
{
Debug.LogWarning("场景SO尚未加载完成,无法设置场景");
return;
}
_currentTalkSceneSo.Value = Array.Find(_totalSceneSos, so => so.name == soName);
}
public void StartDialog()
{
_dialogController.LoadDialog(_currentTalkSceneSo.Value.yarnProject);
}
public string GetSceneSoName()
{
return _currentTalkSceneSo.Value.name;
}
/// <summary>
/// 获取性能报告
/// </summary>
public void GetPerformanceReport()
{
_performanceOptimizer?.CreatePerformanceReport();
}
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: ae939fca7f9be304ca856afaa6a28f9b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -45,6 +45,12 @@ namespace AibisDream
StorageSystem.Instance.RegisterData(_eyeData);
// 添加加载逻辑
_eyeData.LoadEvent += LoadData;
// 确保 ViewCamera 默认不激活
if (cameraManager != null)
{
cameraManager.gameObject.SetActive(false);
}
}
private void LoadData(EyeData eyedata)
@@ -54,8 +60,15 @@ namespace AibisDream
public void OnEnter()
{
// 先激活 ViewCamera
if (cameraManager != null)
{
cameraManager.gameObject.SetActive(true);
}
mouseFollowAndZoom.SetIsActive(true);
mouseFollowAndZoom.SetIsLock(false);
// 激活 ViewCamera 后再打开 EyeView
OpenEyeView();
// 进入视图时的逻辑
Debug.Log("EyeView entered.");
@@ -86,7 +99,13 @@ namespace AibisDream
mouseFollowAndZoom.SetIsActive(false);
currentTarget = null;
// 先关闭 EyeView
CloseEyeView();
// 再关闭 ViewCamera
if (cameraManager != null)
{
cameraManager.gameObject.SetActive(false);
}
// 离开视图时的逻辑
Debug.Log("EyeView exited.");
}
+228
View File
@@ -0,0 +1,228 @@
using System.Collections.Generic;
using UnityEngine;
namespace AibisDream.Utility
{
/// <summary>
/// 通用对象池管理器
/// </summary>
public class ObjectPool : MonoBehaviour
{
[System.Serializable]
public class PoolItem
{
public string tag;
public GameObject prefab;
public int size;
}
[Header("对象池配置")]
public List<PoolItem> poolItems = new List<PoolItem>();
private Dictionary<string, Queue<GameObject>> poolDictionary;
private Dictionary<string, GameObject> prefabDictionary;
private void Awake()
{
InitializePools();
}
/// <summary>
/// 初始化所有对象池
/// </summary>
private void InitializePools()
{
poolDictionary = new Dictionary<string, Queue<GameObject>>();
prefabDictionary = new Dictionary<string, GameObject>();
foreach (PoolItem item in poolItems)
{
Queue<GameObject> objectPool = new Queue<GameObject>();
for (int i = 0; i < item.size; i++)
{
GameObject obj = CreateNewObject(item.prefab, item.tag);
objectPool.Enqueue(obj);
}
poolDictionary.Add(item.tag, objectPool);
prefabDictionary.Add(item.tag, item.prefab);
}
}
/// <summary>
/// 创建新对象
/// </summary>
private GameObject CreateNewObject(GameObject prefab, string tag)
{
GameObject obj = Instantiate(prefab);
obj.SetActive(false);
// 添加池化组件
PooledObject pooledObj = obj.GetComponent<PooledObject>();
if (pooledObj == null)
{
pooledObj = obj.AddComponent<PooledObject>();
}
pooledObj.poolTag = tag;
return obj;
}
/// <summary>
/// 从对象池获取对象
/// </summary>
public GameObject GetFromPool(string tag, Vector3 position, Quaternion rotation)
{
if (!poolDictionary.ContainsKey(tag))
{
Debug.LogWarning($"对象池中不存在标签: {tag}");
return null;
}
Queue<GameObject> pool = poolDictionary[tag];
GameObject obj;
if (pool.Count > 0)
{
obj = pool.Dequeue();
}
else
{
// 如果池为空,创建新对象
obj = CreateNewObject(prefabDictionary[tag], tag);
}
obj.SetActive(true);
obj.transform.position = position;
obj.transform.rotation = rotation;
return obj;
}
/// <summary>
/// 从对象池获取对象(使用默认位置和旋转)
/// </summary>
public GameObject GetFromPool(string tag)
{
return GetFromPool(tag, Vector3.zero, Quaternion.identity);
}
/// <summary>
/// 将对象返回池中
/// </summary>
public void ReturnToPool(GameObject obj)
{
PooledObject pooledObj = obj.GetComponent<PooledObject>();
if (pooledObj == null)
{
Debug.LogWarning("对象没有PooledObject组件,无法返回池中");
return;
}
string tag = pooledObj.poolTag;
if (!poolDictionary.ContainsKey(tag))
{
Debug.LogWarning($"对象池中不存在标签: {tag}");
return;
}
obj.SetActive(false);
poolDictionary[tag].Enqueue(obj);
}
/// <summary>
/// 延迟返回对象到池中
/// </summary>
public void ReturnToPool(GameObject obj, float delay)
{
StartCoroutine(ReturnToPoolCoroutine(obj, delay));
}
private System.Collections.IEnumerator ReturnToPoolCoroutine(GameObject obj, float delay)
{
yield return new WaitForSeconds(delay);
ReturnToPool(obj);
}
/// <summary>
/// 清空指定对象池
/// </summary>
public void ClearPool(string tag)
{
if (!poolDictionary.ContainsKey(tag))
{
Debug.LogWarning($"对象池中不存在标签: {tag}");
return;
}
Queue<GameObject> pool = poolDictionary[tag];
while (pool.Count > 0)
{
GameObject obj = pool.Dequeue();
if (obj != null)
{
Destroy(obj);
}
}
}
/// <summary>
/// 清空所有对象池
/// </summary>
public void ClearAllPools()
{
foreach (string tag in poolDictionary.Keys)
{
ClearPool(tag);
}
}
/// <summary>
/// 获取池中对象数量
/// </summary>
public int GetPoolSize(string tag)
{
if (!poolDictionary.ContainsKey(tag))
{
return 0;
}
return poolDictionary[tag].Count;
}
/// <summary>
/// 预加载对象到池中
/// </summary>
public void PreloadObjects(string tag, int count)
{
if (!prefabDictionary.ContainsKey(tag))
{
Debug.LogWarning($"预制体字典中不存在标签: {tag}");
return;
}
for (int i = 0; i < count; i++)
{
GameObject obj = CreateNewObject(prefabDictionary[tag], tag);
poolDictionary[tag].Enqueue(obj);
}
}
}
/// <summary>
/// 池化对象组件
/// </summary>
public class PooledObject : MonoBehaviour
{
[HideInInspector]
public string poolTag;
private void OnDisable()
{
// 当对象被禁用时,自动返回池中
// 注意:这可能会导致问题,如果对象被手动禁用
// 建议在需要时手动调用ReturnToPool
}
}
}
+11
View File
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 7618d3a010d063748970d14e3f54fa10
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,238 @@
# Unity游戏性能优化指南
## 概述
本文档提供了针对您的Unity游戏的性能优化建议和解决方案。
## 已发现的性能问题
### 1. FindObjectOfType过度使用
**问题位置:**
- `ClueManager.cs` - 第24行
- `MemoryClueSlot.cs` - 第13行
- `ClueSlot.cs` - 第23行
- `ClueInteraction.cs` - 第34行
- `MemoryProcess.cs` - 第87、96行
**解决方案:**
- 在Start/Awake中缓存组件引用
- 使用单例模式或依赖注入
- 避免在Update中调用FindObjectOfType
### 2. Update方法中的复杂计算
**问题位置:**
- `UIManager.cs` - 第27行
- `MainPanel.cs` - 第29行
**解决方案:**
- 使用协程替代Update中的复杂逻辑
- 减少每帧的计算量
- 使用事件驱动架构
### 3. 频繁的对象创建和销毁
**问题位置:**
- `ClueManager.cs` - 第35、58行(Instantiate调用)
**解决方案:**
- 使用对象池管理频繁创建的对象
- 预加载常用资源
- 复用对象而不是重新创建
## 性能优化工具
### 1. PerformanceProfiler
实时监控游戏性能指标:
- FPS监控
- 内存使用情况
- 绘制调用数量
- 批处理数量
- 三角形和顶点数量
**使用方法:**
1. 将PerformanceProfiler组件添加到场景中的GameObject
2. 在Inspector中配置监控选项
3. 运行游戏查看实时性能数据
### 2. PerformanceOptimizer
提供具体的优化建议:
- 自动分析性能瓶颈
- 生成优化建议报告
- 提供自动优化选项
**使用方法:**
1. 将PerformanceOptimizer组件添加到场景中
2. 确保场景中有PerformanceProfiler组件
3. 运行游戏查看优化建议
### 3. ObjectPool
管理对象池,减少内存分配:
- 预创建对象池
- 复用对象而不是重新创建
- 自动管理对象生命周期
**使用方法:**
1. 将ObjectPool组件添加到场景中
2. 在Inspector中配置需要池化的预制体
3. 使用GetFromPool和ReturnToPool方法
## 具体优化建议
### 代码层面优化
#### 1. 缓存组件引用
```csharp
// 优化前
void Update()
{
var manager = FindObjectOfType<GameManager>();
manager.DoSomething();
}
// 优化后
private GameManager _gameManager;
void Start()
{
_gameManager = FindObjectOfType<GameManager>();
}
void Update()
{
_gameManager.DoSomething();
}
```
#### 2. 使用对象池
```csharp
// 优化前
GameObject obj = Instantiate(prefab);
Destroy(obj, 2f);
// 优化后
GameObject obj = ObjectPool.Instance.GetFromPool("prefabTag");
ObjectPool.Instance.ReturnToPool(obj, 2f);
```
#### 3. 优化Update方法
```csharp
// 优化前
void Update()
{
// 复杂的计算逻辑
if (Time.frameCount % 30 == 0) // 每30帧执行一次
{
// 复杂计算
}
}
// 优化后
void Start()
{
StartCoroutine(ComplexCalculationCoroutine());
}
IEnumerator ComplexCalculationCoroutine()
{
while (true)
{
// 复杂计算
yield return new WaitForSeconds(0.5f); // 每0.5秒执行一次
}
}
```
### 渲染优化
#### 1. 减少绘制调用
- 合并使用相同材质的对象
- 使用静态批处理
- 减少透明物体的使用
#### 2. 优化UI
- 减少Canvas数量
- 使用Canvas Group管理UI层级
- 避免频繁的UI更新
#### 3. 纹理优化
- 使用适当的纹理压缩格式
- 减少纹理大小
- 使用纹理图集
### 内存优化
#### 1. 资源管理
- 及时释放不需要的资源
- 使用Resources.UnloadUnusedAssets()
- 避免内存泄漏
#### 2. 对象生命周期管理
- 使用对象池管理频繁创建的对象
- 及时销毁不需要的对象
- 避免在Update中创建临时对象
## 实施步骤
### 第一步:添加性能监控
1. 在场景中添加PerformanceProfiler组件
2. 运行游戏,观察性能指标
3. 记录性能瓶颈
### 第二步:应用代码优化
1. 替换FindObjectOfType调用为缓存引用
2. 优化Update方法中的复杂逻辑
3. 使用对象池管理频繁创建的对象
### 第三步:渲染优化
1. 检查绘制调用数量
2. 优化材质和纹理
3. 调整UI结构
### 第四步:测试和验证
1. 运行性能测试
2. 对比优化前后的性能数据
3. 确保功能正常
## 监控指标
### 目标性能指标
- FPS: 60+ (移动设备30+)
- 内存使用: <200MB
- 绘制调用: <100
- 批处理: <50
### 警告阈值
- FPS < 30
- 内存使用 > 200MB
- 绘制调用 > 100
- 批处理 > 50
## 常见问题解决
### Q: FPS突然下降怎么办?
A:
1. 检查是否有大量对象同时创建
2. 查看Profiler中的CPU使用情况
3. 检查Update方法中的复杂计算
### Q: 内存使用过高怎么办?
A:
1. 检查是否有内存泄漏
2. 使用对象池减少内存分配
3. 及时释放不需要的资源
### Q: 绘制调用过多怎么办?
A:
1. 合并使用相同材质的对象
2. 使用静态批处理
3. 减少透明物体的使用
## 总结
通过实施这些优化措施,您的游戏性能应该会有显著提升。建议按照以下顺序进行优化:
1. 首先添加性能监控工具
2. 识别具体的性能瓶颈
3. 应用代码层面的优化
4. 进行渲染优化
5. 测试和验证优化效果
记住,性能优化是一个持续的过程,需要不断监控和改进。
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: f5866f6b185f1cc4a975bed9bd50cc3c
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,192 @@
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Profiling;
namespace AibisDream.Utility
{
/// <summary>
/// 性能优化建议工具
/// </summary>
public class PerformanceOptimizer : MonoBehaviour
{
[Header("优化建议设置")]
public bool enableOptimizationTips = true;
public bool autoApplyOptimizations = false;
[Header("性能阈值")]
public float targetFPS = 60f;
public float maxMemoryUsage = 200f; // MB
public int maxDrawCalls = 100;
public int maxBatches = 50;
private PerformanceProfiler profiler;
private List<string> optimizationTips = new List<string>();
private void Start()
{
profiler = FindObjectOfType<PerformanceProfiler>();
if (profiler == null)
{
Debug.LogWarning("未找到PerformanceProfiler组件,请先添加性能分析器");
return;
}
if (enableOptimizationTips)
{
StartCoroutine(OptimizationMonitor());
}
}
private System.Collections.IEnumerator OptimizationMonitor()
{
while (enableOptimizationTips)
{
AnalyzePerformance();
yield return new WaitForSeconds(5f); // 每5秒分析一次
}
}
private void AnalyzePerformance()
{
optimizationTips.Clear();
if (profiler == null) return;
float fps = profiler.GetFPS();
float memory = profiler.GetMemoryUsage();
int drawCalls = profiler.GetDrawCalls();
int batches = profiler.GetBatches();
// FPS优化建议
if (fps < targetFPS)
{
optimizationTips.Add("FPS优化建议:");
optimizationTips.Add("• 减少Update方法中的复杂计算");
optimizationTips.Add("• 使用对象池减少Instantiate/Destroy调用");
optimizationTips.Add("• 优化FindObjectOfType调用,缓存组件引用");
optimizationTips.Add("• 减少每帧的GetComponent调用");
optimizationTips.Add("• 使用协程替代Update中的复杂逻辑");
}
// 内存优化建议
if (memory > maxMemoryUsage)
{
optimizationTips.Add("内存优化建议:");
optimizationTips.Add("• 及时释放不需要的资源");
optimizationTips.Add("• 使用对象池管理频繁创建的对象");
optimizationTips.Add("• 检查是否有内存泄漏");
optimizationTips.Add("• 优化纹理压缩设置");
optimizationTips.Add("• 减少不必要的MonoBehaviour组件");
}
// 渲染优化建议
if (drawCalls > maxDrawCalls || batches > maxBatches)
{
optimizationTips.Add("渲染优化建议:");
optimizationTips.Add("• 合并使用相同材质的对象");
optimizationTips.Add("• 使用静态批处理(Static Batching)");
optimizationTips.Add("• 减少透明物体的使用");
optimizationTips.Add("• 优化UI Canvas的层级结构");
optimizationTips.Add("• 使用LOD系统减少远处物体的细节");
}
// 通用优化建议
optimizationTips.Add("通用优化建议:");
optimizationTips.Add("• 使用Profiler分析具体瓶颈");
optimizationTips.Add("• 启用Unity的Burst编译");
optimizationTips.Add("• 使用Job System进行多线程计算");
optimizationTips.Add("• 优化协程和异步操作");
optimizationTips.Add("• 减少字符串连接操作,使用StringBuilder");
}
/// <summary>
/// 获取优化建议
/// </summary>
public List<string> GetOptimizationTips()
{
return new List<string>(optimizationTips);
}
/// <summary>
/// 打印优化建议到控制台
/// </summary>
public void PrintOptimizationTips()
{
if (optimizationTips.Count == 0)
{
Debug.Log("当前性能表现良好,无需优化");
return;
}
Debug.Log("=== 性能优化建议 ===");
foreach (string tip in optimizationTips)
{
Debug.Log(tip);
}
}
/// <summary>
/// 应用自动优化
/// </summary>
public void ApplyAutoOptimizations()
{
if (!autoApplyOptimizations) return;
Debug.Log("应用自动优化...");
// 自动优化示例
OptimizeUpdateMethods();
OptimizeFindObjectOfTypeCalls();
OptimizeGetComponentCalls();
}
private void OptimizeUpdateMethods()
{
// 查找所有Update方法并给出建议
MonoBehaviour[] allMonoBehaviours = FindObjectsOfType<MonoBehaviour>();
foreach (MonoBehaviour mb in allMonoBehaviours)
{
if (mb.GetType().GetMethod("Update") != null)
{
// 这里可以添加具体的优化逻辑
Debug.Log($"发现Update方法: {mb.GetType().Name}");
}
}
}
private void OptimizeFindObjectOfTypeCalls()
{
// 查找所有FindObjectOfType调用
Debug.Log("建议将FindObjectOfType调用移到Start/Awake中缓存结果");
}
private void OptimizeGetComponentCalls()
{
// 查找所有GetComponent调用
Debug.Log("建议缓存GetComponent的结果,避免重复调用");
}
/// <summary>
/// 创建性能优化报告
/// </summary>
public void CreatePerformanceReport()
{
if (profiler == null) return;
string report = "=== 性能报告 ===\n";
report += $"FPS: {profiler.GetFPS():F1}\n";
report += $"内存使用: {profiler.GetMemoryUsage():F1}MB\n";
report += $"绘制调用: {profiler.GetDrawCalls()}\n";
report += $"批处理: {profiler.GetBatches()}\n";
report += "\n优化建议:\n";
foreach (string tip in optimizationTips)
{
report += tip + "\n";
}
Debug.Log(report);
}
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: fa69d1942a5d5414c92100b235a71e21
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,549 @@
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEngine.Profiling;
using UnityEngine.Rendering;
using Unity.Profiling;
using System.Diagnostics;
using Debug = UnityEngine.Debug;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace AibisDream.Utility
{
/// <summary>
/// 性能分析工具,用于监控游戏性能
/// </summary>
public class PerformanceProfiler : MonoBehaviour
{
[Header("性能监控设置")]
public bool enableProfiling = true;
public bool showFPS = true;
public bool showMemory = true;
public bool showDrawCalls = true;
public bool showBatches = true;
public bool showTris = true;
public bool showVerts = true;
[Header("数据记录设置")]
public bool enableCsvLogging = false;
public float logInterval = 0.5f; // 秒
public string csvFileName = "performance_log";
[Header("性能警告阈值")]
public float fpsWarningThreshold = 30f;
public float memoryWarningThreshold = 100f; // MB
public int drawCallWarningThreshold = 100;
public int batchWarningThreshold = 50;
[Header("显示设置")]
public Color normalColor = Color.white;
public Color warningColor = Color.yellow;
public Color errorColor = Color.red;
public int fontSize = 14;
[Header("CPU/GPU 时间分析")]
public bool showCPUTime = true;
public bool showGPUTime = true;
public float cpuTimeWarningThreshold = 16.67f; // 60fps对应的帧时间
public float gpuTimeWarningThreshold = 16.67f;
[Header("GC监控")]
public bool showGCStats = true;
public int gcWarningThreshold = 5; // 每秒GC次数警告阈值
[Header("资源监控")]
public bool showResourceStats = true;
public long textureMemoryWarningThreshold = 1024; // MB
public long meshMemoryWarningThreshold = 512; // MB
[Header("系统性能分析")]
public bool enableSystemProfiling = true;
public float systemTimeWarningThreshold = 8f; // ms
private float deltaTime = 0.0f;
private float cpuFrameTime;
private float gpuFrameTime;
private long lastGCCount;
private float gcTimeAccumulator;
private int gcCountInLastSecond;
private int loadedTextureCount;
private int loadedMeshCount;
private long totalTextureMemory;
private long totalMeshMemory;
private Dictionary<string, CustomProfiler> systemProfilers = new Dictionary<string, CustomProfiler>();
public class CustomProfiler
{
public string name;
public float totalTime;
public float maxTime;
public int sampleCount;
public Stopwatch stopwatch;
public float AverageTime => sampleCount > 0 ? totalTime / sampleCount : 0;
public void Reset()
{
totalTime = 0;
maxTime = 0;
sampleCount = 0;
stopwatch = new Stopwatch();
}
}
private float fps = 0.0f;
private float memoryUsage = 0.0f;
private int drawCalls = 0;
private int batches = 0;
private int triangles = 0;
private int vertices = 0;
private GUIStyle style;
private List<string> performanceWarnings = new List<string>();
// CSV 日志
private StreamWriter csvWriter;
private float nextLogTime = 0f;
private string logFilePath;
private void Start()
{
if (!enableProfiling) return;
// 创建GUI样式
style = new GUIStyle();
style.fontSize = fontSize;
style.normal.textColor = normalColor;
// 启动性能监控协程
StartCoroutine(PerformanceMonitor());
// 初始化CSV日志
if (enableCsvLogging)
{
InitCsvLogging();
}
}
private void Update()
{
if (!enableProfiling) return;
// 计算FPS
deltaTime += (Time.unscaledDeltaTime - deltaTime) * 0.1f;
fps = 1.0f / deltaTime;
// 获取渲染统计信息
#if UNITY_EDITOR
drawCalls = UnityEditor.UnityStats.drawCalls;
batches = UnityEditor.UnityStats.batches;
triangles = UnityEditor.UnityStats.triangles;
vertices = UnityEditor.UnityStats.vertices;
#else
drawCalls = 0;
batches = 0;
triangles = 0;
vertices = 0;
#endif
// 获取内存使用情况
memoryUsage = Profiler.GetTotalAllocatedMemoryLong() / (1024f * 1024f); // 转换为MB
// CPU和GPU时间
cpuFrameTime = Time.unscaledDeltaTime * 1000f; // 转换为毫秒
if (FrameTimingManager.IsFeatureEnabled())
{
var frameData = new FrameTiming[1];
FrameTimingManager.GetLatestTimings(1, frameData);
if (frameData.Length > 0)
{
gpuFrameTime = (float)frameData[0].gpuFrameTime;
}
}
// GC监控
if (System.GC.CollectionCount(0) > lastGCCount)
{
gcCountInLastSecond++;
lastGCCount = System.GC.CollectionCount(0);
}
// 资源监控
if (showResourceStats)
{
var textures = Resources.FindObjectsOfTypeAll<Texture>();
var meshes = Resources.FindObjectsOfTypeAll<Mesh>();
loadedTextureCount = textures.Length;
loadedMeshCount = meshes.Length;
totalTextureMemory = 0;
foreach (var tex in textures)
{
if (tex != null)
totalTextureMemory += Profiler.GetRuntimeMemorySizeLong(tex);
}
totalMeshMemory = 0;
foreach (var mesh in meshes)
{
if (mesh != null)
totalMeshMemory += Profiler.GetRuntimeMemorySizeLong(mesh);
}
}
// 按间隔写入CSV
if (enableCsvLogging && csvWriter != null && Time.unscaledTime >= nextLogTime)
{
WriteCsvRow();
nextLogTime = Time.unscaledTime + Mathf.Max(0.05f, logInterval);
gcCountInLastSecond = 0; // 重置GC计数器
}
}
private System.Collections.IEnumerator PerformanceMonitor()
{
while (enableProfiling)
{
performanceWarnings.Clear();
// 检查FPS
if (fps < fpsWarningThreshold)
{
performanceWarnings.Add($"FPS过低: {fps:F1}");
}
// 检查内存使用
if (memoryUsage > memoryWarningThreshold)
{
performanceWarnings.Add($"内存使用过高: {memoryUsage:F1}MB");
}
// 检查绘制调用
if (drawCalls > drawCallWarningThreshold)
{
performanceWarnings.Add($"绘制调用过多: {drawCalls}");
}
// 检查批处理
if (batches > batchWarningThreshold)
{
performanceWarnings.Add($"批处理过多: {batches}");
}
yield return new WaitForSeconds(1f);
}
}
private void OnGUI()
{
if (!enableProfiling) return;
float yPos = 10f;
float lineHeight = fontSize + 5f;
// 显示FPS
if (showFPS)
{
Color fpsColor = fps < fpsWarningThreshold ? errorColor : normalColor;
style.normal.textColor = fpsColor;
GUI.Label(new Rect(10, yPos, 200, lineHeight), $"FPS: {fps:F1}", style);
yPos += lineHeight;
}
// 显示内存使用
if (showMemory)
{
Color memColor = memoryUsage > memoryWarningThreshold ? warningColor : normalColor;
style.normal.textColor = memColor;
GUI.Label(new Rect(10, yPos, 200, lineHeight), $"内存: {memoryUsage:F1}MB", style);
yPos += lineHeight;
}
// 显示绘制调用
if (showDrawCalls)
{
Color drawColor = drawCalls > drawCallWarningThreshold ? warningColor : normalColor;
style.normal.textColor = drawColor;
GUI.Label(new Rect(10, yPos, 200, lineHeight), $"绘制调用: {drawCalls}", style);
yPos += lineHeight;
}
// 显示批处理
if (showBatches)
{
Color batchColor = batches > batchWarningThreshold ? warningColor : normalColor;
style.normal.textColor = batchColor;
GUI.Label(new Rect(10, yPos, 200, lineHeight), $"批处理: {batches}", style);
yPos += lineHeight;
}
// 显示三角形数量
if (showTris)
{
style.normal.textColor = normalColor;
GUI.Label(new Rect(10, yPos, 200, lineHeight), $"三角形: {triangles:N0}", style);
yPos += lineHeight;
}
// 显示顶点数量
if (showVerts)
{
style.normal.textColor = normalColor;
GUI.Label(new Rect(10, yPos, 200, lineHeight), $"顶点: {vertices:N0}", style);
yPos += lineHeight;
}
// 显示CPU时间
if (showCPUTime)
{
Color timeColor = cpuFrameTime > cpuTimeWarningThreshold ? warningColor : normalColor;
style.normal.textColor = timeColor;
GUI.Label(new Rect(10, yPos, 200, lineHeight), $"CPU时间: {cpuFrameTime:F2}ms", style);
yPos += lineHeight;
}
// 显示GPU时间
if (showGPUTime && FrameTimingManager.IsFeatureEnabled())
{
Color timeColor = gpuFrameTime > gpuTimeWarningThreshold ? warningColor : normalColor;
style.normal.textColor = timeColor;
GUI.Label(new Rect(10, yPos, 200, lineHeight), $"GPU时间: {gpuFrameTime:F2}ms", style);
yPos += lineHeight;
}
// 显示GC信息
if (showGCStats)
{
Color gcColor = gcCountInLastSecond > gcWarningThreshold ? warningColor : normalColor;
style.normal.textColor = gcColor;
GUI.Label(new Rect(10, yPos, 200, lineHeight), $"GC次数/秒: {gcCountInLastSecond}", style);
yPos += lineHeight;
}
// 显示资源信息
if (showResourceStats)
{
yPos += 10f;
style.normal.textColor = normalColor;
GUI.Label(new Rect(10, yPos, 200, lineHeight), "资源统计:", style);
yPos += lineHeight;
Color texMemColor = (totalTextureMemory / (1024f * 1024f)) > textureMemoryWarningThreshold ? warningColor : normalColor;
style.normal.textColor = texMemColor;
GUI.Label(new Rect(20, yPos, 300, lineHeight),
$"贴图: {loadedTextureCount}个 ({totalTextureMemory / (1024f * 1024f):F1}MB)", style);
yPos += lineHeight;
Color meshMemColor = (totalMeshMemory / (1024f * 1024f)) > meshMemoryWarningThreshold ? warningColor : normalColor;
style.normal.textColor = meshMemColor;
GUI.Label(new Rect(20, yPos, 300, lineHeight),
$"网格: {loadedMeshCount}个 ({totalMeshMemory / (1024f * 1024f):F1}MB)", style);
yPos += lineHeight;
}
// 显示系统性能分析
if (enableSystemProfiling && systemProfilers.Count > 0)
{
yPos += 10f;
style.normal.textColor = normalColor;
GUI.Label(new Rect(10, yPos, 200, lineHeight), "系统性能:", style);
yPos += lineHeight;
foreach (var profiler in systemProfilers.Values)
{
if (profiler.sampleCount > 0)
{
Color timeColor = profiler.AverageTime > systemTimeWarningThreshold ? warningColor : normalColor;
style.normal.textColor = timeColor;
GUI.Label(new Rect(20, yPos, 400, lineHeight),
$"{profiler.name}: {profiler.AverageTime:F2}ms (最大: {profiler.maxTime:F2}ms)", style);
yPos += lineHeight;
}
}
}
// 显示性能警告
if (performanceWarnings.Count > 0)
{
yPos += 10f;
style.normal.textColor = errorColor;
GUI.Label(new Rect(10, yPos, 400, lineHeight), "性能警告:", style);
yPos += lineHeight;
foreach (string warning in performanceWarnings)
{
GUI.Label(new Rect(20, yPos, 400, lineHeight), $"• {warning}", style);
yPos += lineHeight;
}
}
}
/// <summary>
/// 获取当前FPS
/// </summary>
public float GetFPS()
{
return fps;
}
/// <summary>
/// 获取内存使用量(MB
/// </summary>
public float GetMemoryUsage()
{
return memoryUsage;
}
/// <summary>
/// 获取绘制调用数量
/// </summary>
public int GetDrawCalls()
{
return drawCalls;
}
/// <summary>
/// 获取批处理数量
/// </summary>
public int GetBatches()
{
return batches;
}
/// <summary>
/// 记录性能数据到日志
/// </summary>
public void LogPerformanceData()
{
Debug.Log($"[性能数据] FPS: {fps:F1}, 内存: {memoryUsage:F1}MB, 绘制调用: {drawCalls}, 批处理: {batches}");
}
private void OnDisable()
{
CloseCsv();
}
private void OnDestroy()
{
CloseCsv();
}
private void InitCsvLogging()
{
try
{
var directory = Application.persistentDataPath;
logFilePath = Path.Combine(directory, $"perf_{System.DateTime.Now:yyyyMMdd_HHmmss}.csv");
csvWriter = new StreamWriter(new FileStream(logFilePath, FileMode.Create, FileAccess.Write, FileShare.ReadWrite));
csvWriter.WriteLine("time,fps,memoryMB,drawCalls,batches,triangles,vertices,cpuTime,gpuTime,gcCount," +
"textureCount,meshCount,textureMemoryMB,meshMemoryMB");
csvWriter.Flush();
nextLogTime = Time.unscaledTime + Mathf.Max(0.05f, logInterval);
Debug.Log($"性能CSV日志: {logFilePath}");
}
catch (System.Exception e)
{
Debug.LogWarning($"初始化CSV日志失败: {e.Message}");
enableCsvLogging = false;
}
}
private void WriteCsvRow()
{
try
{
if (csvWriter == null) return;
csvWriter.WriteLine($"{Time.unscaledTime:F3},{fps:F2},{memoryUsage:F1},{drawCalls},{batches},{triangles},{vertices}," +
$"{cpuFrameTime:F2},{gpuFrameTime:F2},{gcCountInLastSecond}," +
$"{loadedTextureCount},{loadedMeshCount},{totalTextureMemory/1024/1024:F1},{totalMeshMemory/1024/1024:F1}");
csvWriter.Flush();
}
catch (System.Exception e)
{
Debug.LogWarning($"写入CSV失败: {e.Message}");
}
}
private void CloseCsv()
{
try
{
if (csvWriter != null)
{
csvWriter.Flush();
csvWriter.Close();
csvWriter.Dispose();
csvWriter = null;
}
}
catch {}
}
public string GetLogFilePath()
{
return logFilePath;
}
/// <summary>
/// 开始系统性能采样
/// </summary>
public void BeginSample(string systemName)
{
if (!enableSystemProfiling) return;
if (!systemProfilers.ContainsKey(systemName))
{
systemProfilers[systemName] = new CustomProfiler
{
name = systemName,
stopwatch = new Stopwatch()
};
}
systemProfilers[systemName].stopwatch.Start();
}
/// <summary>
/// 结束系统性能采样
/// </summary>
public void EndSample(string systemName)
{
if (!enableSystemProfiling) return;
if (systemProfilers.TryGetValue(systemName, out var profiler))
{
profiler.stopwatch.Stop();
float time = profiler.stopwatch.ElapsedTicks / (float)System.TimeSpan.TicksPerMillisecond;
profiler.totalTime += time;
profiler.maxTime = Mathf.Max(profiler.maxTime, time);
profiler.sampleCount++;
profiler.stopwatch.Reset();
}
}
/// <summary>
/// 重置所有系统性能分析器
/// </summary>
public void ResetAllProfilers()
{
foreach (var profiler in systemProfilers.Values)
{
profiler.Reset();
}
}
/// <summary>
/// 获取系统性能数据
/// </summary>
public Dictionary<string, (float averageTime, float maxTime, int sampleCount)> GetSystemProfilingData()
{
var result = new Dictionary<string, (float, float, int)>();
foreach (var kvp in systemProfilers)
{
var profiler = kvp.Value;
result[kvp.Key] = (profiler.AverageTime, profiler.maxTime, profiler.sampleCount);
}
return result;
}
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 6cc8ba26ea081f143bce9da130c6992a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
+1 -1
View File
@@ -133,7 +133,7 @@ PlayerSettings:
vulkanEnableLateAcquireNextImage: 0
vulkanEnableCommandBufferRecycling: 1
loadStoreDebugModeEnabled: 0
bundleVersion: 0.3.1.3-20250806-155313
bundleVersion: 0.3.1.4-20250901-211336
preloadedAssets:
- {fileID: 11400000, guid: 0fb2bc2476953fc43a74f0ab8879077c, type: 2}
metroInputSource: 0
+2
View File
@@ -13,6 +13,8 @@ TagManager:
- MoveableCharacter
- Vehicle
- Selectable
- UIcamera
- ViewCamera
layers:
- Default
- TransparentFX