浏览代码

Removed Settings Manager (#1)

/main
GitHub Enterprise 5 年前
当前提交
4130c504
共有 4 个文件被更改,包括 0 次插入588 次删除
  1. 573
      Assets/Resources/SettingManager.prefab
  2. 7
      Assets/Resources/SettingManager.prefab.meta
  3. 8
      Assets/Scripts/Settings.meta

573
Assets/Resources/SettingManager.prefab


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &17122967772049871
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1414924781628167385}
- component: {fileID: 5092367010124167683}
m_Layer: 0
m_Name: Grain_Disable_Volume
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1414924781628167385
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 17122967772049871}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 2579661846097003049}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &5092367010124167683
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 17122967772049871}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 172515602e62fb746b5d573b38a5fe58, type: 3}
m_Name:
m_EditorClassIdentifier:
isGlobal: 1
priority: 3.4028235e+38
blendDistance: 0
weight: 1
sharedProfile: {fileID: 11400000, guid: 768b3b9926084e94e837efc24f590ca5, type: 2}
--- !u!1 &96400894660254656
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2579661846097003049}
- component: {fileID: 4267611141388372484}
- component: {fileID: 8787819906057741074}
- component: {fileID: 6984697754819560758}
- component: {fileID: 1435184916637376220}
m_Layer: 0
m_Name: HandleFilmGrain
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &2579661846097003049
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 96400894660254656}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1414924781628167385}
m_Father: {fileID: 3066241109427755063}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &4267611141388372484
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 96400894660254656}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4a42a87995c7dd1418e01c581ec175f1, type: 3}
m_Name:
m_EditorClassIdentifier:
MessageName: SETTINGS_CHANGED
OnMessageRecieved:
- {fileID: 8787819906057741074}
--- !u!114 &8787819906057741074
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 96400894660254656}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8f112b44599403f4cb00fc769fa22a86, type: 3}
m_Name:
m_EditorClassIdentifier:
Name: OnSettingLogic
Location: 0
SettingName: PostProcess.Grain
OnSetting:
- {fileID: 6984697754819560758}
- {fileID: 1435184916637376220}
--- !u!114 &6984697754819560758
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 96400894660254656}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 846d5f33f7af4014ea15adf7a92dc953, type: 3}
m_Name:
m_EditorClassIdentifier:
Name: Disable Grain
Targets:
- GameObject: {fileID: 17122967772049871}
State: 1
--- !u!114 &1435184916637376220
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 96400894660254656}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 846d5f33f7af4014ea15adf7a92dc953, type: 3}
m_Name:
m_EditorClassIdentifier:
Name: Enable Grain
Targets:
- GameObject: {fileID: 17122967772049871}
State: 0
--- !u!1 &296745871139078448
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5913521251766382649}
- component: {fileID: 6154809944602258273}
m_Layer: 0
m_Name: SSAO_Disable_Volume
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &5913521251766382649
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 296745871139078448}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 308898519839098083}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &6154809944602258273
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 296745871139078448}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 172515602e62fb746b5d573b38a5fe58, type: 3}
m_Name:
m_EditorClassIdentifier:
isGlobal: 1
priority: 3.4028235e+38
blendDistance: 0
weight: 1
sharedProfile: {fileID: 11400000, guid: 8baff6970f69d5045b081aaffe74cf61, type: 2}
--- !u!1 &821798185435999974
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6422363502629253639}
- component: {fileID: 7027506406706453652}
- component: {fileID: 434411460720338797}
m_Layer: 0
m_Name: HandleResolution
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6422363502629253639
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 821798185435999974}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 3066241109427755063}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &7027506406706453652
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 821798185435999974}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4a42a87995c7dd1418e01c581ec175f1, type: 3}
m_Name:
m_EditorClassIdentifier:
MessageName: SETTINGS_CHANGED
OnMessageRecieved:
- {fileID: 434411460720338797}
--- !u!114 &434411460720338797
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 821798185435999974}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 20f396e0b1687e341a26bbc8895cde1f, type: 3}
m_Name:
m_EditorClassIdentifier:
Name: SetResolution
ResolutionXSaveName: Resolution.X
ResolutionYSaveName: Resolution.Y
ResolutionFullScreenSaveName: Resolution.FullScreen
ResolutionAASaveName: Rendering.AntiAliasing
--- !u!1 &1705175703771109458
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5274560084517477758}
- component: {fileID: 4571674898267119725}
- component: {fileID: 2512354439867830080}
- component: {fileID: 4688397911657137344}
- component: {fileID: 7698278213852079658}
m_Layer: 0
m_Name: HandleMotionBlur
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &5274560084517477758
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1705175703771109458}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 4797741650553393019}
m_Father: {fileID: 3066241109427755063}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &4571674898267119725
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1705175703771109458}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4a42a87995c7dd1418e01c581ec175f1, type: 3}
m_Name:
m_EditorClassIdentifier:
MessageName: SETTINGS_CHANGED
OnMessageRecieved:
- {fileID: 2512354439867830080}
--- !u!114 &2512354439867830080
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1705175703771109458}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8f112b44599403f4cb00fc769fa22a86, type: 3}
m_Name:
m_EditorClassIdentifier:
Name: OnSettingLogic
Location: 0
SettingName: PostProcess.MotionBlur
OnSetting:
- {fileID: 4688397911657137344}
- {fileID: 7698278213852079658}
--- !u!114 &4688397911657137344
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1705175703771109458}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 846d5f33f7af4014ea15adf7a92dc953, type: 3}
m_Name:
m_EditorClassIdentifier:
Name: Disable MBlur
Targets:
- GameObject: {fileID: 4121235200658952871}
State: 1
--- !u!114 &7698278213852079658
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1705175703771109458}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 846d5f33f7af4014ea15adf7a92dc953, type: 3}
m_Name:
m_EditorClassIdentifier:
Name: Enable MBlur
Targets:
- GameObject: {fileID: 4121235200658952871}
State: 0
--- !u!1 &4121235200658952871
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4797741650553393019}
- component: {fileID: 2331828268637369906}
m_Layer: 0
m_Name: MBlur_Disable_Volume
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4797741650553393019
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4121235200658952871}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 5274560084517477758}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &2331828268637369906
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4121235200658952871}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 172515602e62fb746b5d573b38a5fe58, type: 3}
m_Name:
m_EditorClassIdentifier:
isGlobal: 1
priority: 3.4028235e+38
blendDistance: 0
weight: 1
sharedProfile: {fileID: 11400000, guid: c618d5e89e7b3824bb3b16f7099b5914, type: 2}
--- !u!1 &7133000489274922912
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3066241109427755063}
- component: {fileID: 1569027068800487041}
m_Layer: 0
m_Name: SettingManager
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3066241109427755063
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7133000489274922912}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 6422363502629253639}
- {fileID: 308898519839098083}
- {fileID: 5274560084517477758}
- {fileID: 2579661846097003049}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1569027068800487041
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7133000489274922912}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fcfba1ab95d435244a763fb59f4e19fd, type: 3}
m_Name:
m_EditorClassIdentifier:
defaultSettings:
- name: Resolution.X
defaultValue: 1920
- name: Resolution.Y
defaultValue: 1080
- name: Resolution.FullScreen
defaultValue: 1
- name: Rendering.AntiAliasing
defaultValue: 2
- name: PostProcess.SSAO
defaultValue: 1
- name: PostProcess.Grain
defaultValue: 1
- name: PostProcess.MotionBlur
defaultValue: 1
OnSettingChangedMessage: SETTINGS_CHANGED
--- !u!1 &7812079258036477810
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 308898519839098083}
- component: {fileID: 5080532971100768671}
- component: {fileID: 3815661387863207172}
- component: {fileID: 6307765746835927058}
- component: {fileID: 1068036618630534166}
m_Layer: 0
m_Name: HandleSSAO
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &308898519839098083
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7812079258036477810}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 5913521251766382649}
m_Father: {fileID: 3066241109427755063}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &5080532971100768671
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7812079258036477810}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4a42a87995c7dd1418e01c581ec175f1, type: 3}
m_Name:
m_EditorClassIdentifier:
MessageName: SETTINGS_CHANGED
OnMessageRecieved:
- {fileID: 3815661387863207172}
--- !u!114 &3815661387863207172
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7812079258036477810}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8f112b44599403f4cb00fc769fa22a86, type: 3}
m_Name:
m_EditorClassIdentifier:
Name: OnSettingLogic
Location: 0
SettingName: PostProcess.SSAO
OnSetting:
- {fileID: 6307765746835927058}
- {fileID: 1068036618630534166}
--- !u!114 &6307765746835927058
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7812079258036477810}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 846d5f33f7af4014ea15adf7a92dc953, type: 3}
m_Name:
m_EditorClassIdentifier:
Name: Disable SSAO
Targets:
- GameObject: {fileID: 296745871139078448}
State: 1
--- !u!114 &1068036618630534166
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7812079258036477810}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 846d5f33f7af4014ea15adf7a92dc953, type: 3}
m_Name:
m_EditorClassIdentifier:
Name: Enable SSAO
Targets:
- GameObject: {fileID: 296745871139078448}
State: 0

7
Assets/Resources/SettingManager.prefab.meta


fileFormatVersion: 2
guid: f64cc8058e932cb43ad69721298d7832
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Assets/Scripts/Settings.meta


fileFormatVersion: 2
guid: 7197023e55743094d90d0e3cc9515ffb
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
正在加载...
取消
保存