├── Assets ├── NKGSlate │ ├── NKGSlate.Runtime.asmdef │ ├── Core.meta │ ├── Sample.meta │ ├── Core │ │ ├── Datas.meta │ │ ├── Datas │ │ │ ├── Base.meta │ │ │ └── Base │ │ │ │ ├── ST_GroupData.cs.meta │ │ │ │ ├── ST_TrackData.cs.meta │ │ │ │ ├── ST_ActionData.cs.meta │ │ │ │ ├── ST_CutSceneData.cs.meta │ │ │ │ ├── ST_DirectableData.cs.meta │ │ │ │ ├── ST_ActionData.cs │ │ │ │ ├── ST_GroupData.cs │ │ │ │ ├── ST_TrackData.cs │ │ │ │ ├── ST_CutSceneData.cs │ │ │ │ └── ST_DirectableData.cs │ │ ├── Systems.meta │ │ ├── Utilities.meta │ │ ├── Systems │ │ │ ├── Base.meta │ │ │ ├── Interfaces.meta │ │ │ ├── Base │ │ │ │ ├── ST_Action.cs.meta │ │ │ │ ├── ST_Group.cs.meta │ │ │ │ ├── ST_Track.cs.meta │ │ │ │ ├── ST_CutScene.cs.meta │ │ │ │ ├── ST_Director.cs.meta │ │ │ │ ├── ST_EndTimePoint.cs.meta │ │ │ │ ├── ST_StartTimePoint.cs.meta │ │ │ │ ├── ST_EndTimePoint.cs │ │ │ │ ├── ST_StartTimePoint.cs │ │ │ │ ├── ST_CutScene.cs │ │ │ │ ├── ST_Group.cs │ │ │ │ ├── ST_Track.cs │ │ │ │ ├── ST_Action.cs │ │ │ │ └── ST_Director.cs │ │ │ └── Interfaces │ │ │ │ ├── ST_IDirectable.cs.meta │ │ │ │ ├── ST_ITimePointer.cs.meta │ │ │ │ ├── ST_ITimePointer.cs │ │ │ │ └── ST_IDirectable.cs │ │ └── Utilities │ │ │ ├── ST_TimeToFrameCaculator.cs.meta │ │ │ └── ST_TimeToFrameCaculator.cs │ ├── Sample │ │ ├── Actions.meta │ │ ├── SlateEntry.cs.meta │ │ ├── Actions │ │ │ ├── ST_Event.cs.meta │ │ │ ├── ST_EventData.cs.meta │ │ │ ├── ST_LogAction.cs.meta │ │ │ ├── ST_LogActionData.cs.meta │ │ │ ├── ST_EventData.cs │ │ │ ├── ST_LogActionData.cs │ │ │ ├── ST_Event.cs │ │ │ └── ST_LogAction.cs │ │ ├── Sample.bytes │ │ ├── Cube.prefab.meta │ │ ├── Sample.bytes.meta │ │ ├── SampleScene.unity.meta │ │ ├── SkillEntry.prefab.meta │ │ ├── SlateEntry.cs │ │ ├── Cube.prefab │ │ ├── SampleScene.unity │ │ └── SkillEntry.prefab │ └── NKGSlate.Runtime.asmdef.meta ├── Plugins │ ├── NKGSlate │ │ ├── Core │ │ │ ├── ST_ParadoxNotionCutScene.cs.meta │ │ │ ├── ST_ParadoxNotionGroup.cs.meta │ │ │ ├── ST_ParadoxNotionTrack.cs.meta │ │ │ ├── ST_AParadoxNotionSlateActionBase.cs.meta │ │ │ ├── ST_ParadoxNotionTrack.cs │ │ │ ├── ST_AParadoxNotionSlateActionBase.cs │ │ │ ├── ST_ParadoxNotionCutScene.cs │ │ │ └── ST_ParadoxNotionGroup.cs │ │ ├── Samples │ │ │ ├── ST_ParadoxNotionEvent.cs.meta │ │ │ ├── ST_ParadoxNotionLogAction.cs.meta │ │ │ ├── ST_ParadoxNotionLogAction.cs │ │ │ └── ST_ParadoxNotionEvent.cs │ │ ├── Core.meta │ │ └── Samples.meta │ ├── NKGSlate.meta │ ├── Sirenix.meta │ └── ParadoxNotion.meta ├── Plugins.meta └── NKGSlate.meta ├── ProjectSettings ├── ProjectVersion.txt ├── ClusterInputManager.asset ├── PresetManager.asset ├── EditorBuildSettings.asset ├── XRSettings.asset ├── VersionControlSettings.asset ├── TimeManager.asset ├── VFXManager.asset ├── BurstAotSettings_StandaloneWindows.json ├── TimelineSettings.asset ├── AudioManager.asset ├── TagManager.asset ├── UnityConnectSettings.asset ├── PackageManagerSettings.asset ├── EditorSettings.asset ├── DynamicsManager.asset ├── NavMeshAreas.asset ├── Physics2DSettings.asset ├── GraphicsSettings.asset ├── SceneTemplateSettings.json ├── InputManager.asset ├── QualitySettings.asset └── ProjectSettings.asset ├── .idea ├── .idea.New Unity Project │ └── .idea │ │ ├── encodings.xml │ │ ├── misc.xml │ │ ├── vcs.xml │ │ ├── .gitignore │ │ └── indexLayout.xml └── .idea.SkillEditorBasedOnSlate │ └── .idea │ ├── encodings.xml │ ├── vcs.xml │ ├── projectSettingsUpdater.xml │ ├── indexLayout.xml │ └── workspace.xml ├── LICENSE ├── UserSettings └── EditorUserSettings.asset ├── .gitignore ├── Packages ├── manifest.json └── packages-lock.json ├── README.md └── SlateChangedFiles ├── CutsceneInspector.cs └── ActionClipInspector.cs /Assets/NKGSlate/NKGSlate.Runtime.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "NKGSlate_Runtime" 3 | } -------------------------------------------------------------------------------- /Assets/NKGSlate/Core.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7d03146745084147af61abafc2b20e64 3 | timeCreated: 1627203223 -------------------------------------------------------------------------------- /Assets/NKGSlate/Sample.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dda5717466b54984b681ea2447586950 3 | timeCreated: 1629034419 -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Datas.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7eed431148434c5a8073f59facce05be 3 | timeCreated: 1628687024 -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Datas/Base.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 22e04c34c2a04a9da0ff02d0d16695f1 3 | timeCreated: 1628687057 -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Systems.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aac9f1b1618c409695cc1e9af5bf69c8 3 | timeCreated: 1628687010 -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Utilities.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 372b759cfc7f470a86ee271123be53f7 3 | timeCreated: 1628952492 -------------------------------------------------------------------------------- /Assets/NKGSlate/Sample/Actions.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 08a2aeb951144b2f802ab8c4d72024ae 3 | timeCreated: 1629034470 -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Systems/Base.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 63b60e42153b49259dd546313d3d9e7f 3 | timeCreated: 1627205022 -------------------------------------------------------------------------------- /Assets/NKGSlate/Sample/SlateEntry.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3cdeeb8373d04c4097428a2101015d45 3 | timeCreated: 1628773815 -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2020.3.12f1c1 2 | m_EditorVersionWithRevision: 2020.3.12f1c1 (5887f62ce680) 3 | -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Systems/Interfaces.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ea84bd8e513d41a0959c1f1c910ec55d 3 | timeCreated: 1627205000 -------------------------------------------------------------------------------- /Assets/NKGSlate/NKGSlate.Runtime.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1ecad69c0d654888909312d594112905 3 | timeCreated: 1629039168 -------------------------------------------------------------------------------- /Assets/NKGSlate/Sample/Actions/ST_Event.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c5e4697a55a5465fa870c21caf29195f 3 | timeCreated: 1629210769 -------------------------------------------------------------------------------- /Assets/NKGSlate/Sample/Sample.bytes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wqaetly/SkillEditorBasedOnSlate/HEAD/Assets/NKGSlate/Sample/Sample.bytes -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Datas/Base/ST_GroupData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2e98dd7c9e7f4aeba72fbca90704c4e8 3 | timeCreated: 1628687422 -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Datas/Base/ST_TrackData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f907fe2c44a6454599651897b79934fd 3 | timeCreated: 1628687410 -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Systems/Base/ST_Action.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bb4807c372db4390a4e02f74affac7db 3 | timeCreated: 1627203216 -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Systems/Base/ST_Group.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9e2dad0779ca4020acb34cdb88e3ff5f 3 | timeCreated: 1627203269 -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Systems/Base/ST_Track.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 57bc46cc46e945bf879e3f77427a4022 3 | timeCreated: 1627203257 -------------------------------------------------------------------------------- /Assets/NKGSlate/Sample/Actions/ST_EventData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c89d9acbd5bc4ac78ce1a64677f0a990 3 | timeCreated: 1629210780 -------------------------------------------------------------------------------- /Assets/NKGSlate/Sample/Actions/ST_LogAction.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1985bc09c9024878a1b05c87aa44fbaf 3 | timeCreated: 1628775202 -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Datas/Base/ST_ActionData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e186802a99ad43469d49ea01af0ba6d2 3 | timeCreated: 1628687397 -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Datas/Base/ST_CutSceneData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 304c6868848144f3af016021c5dd0081 3 | timeCreated: 1628687433 -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Datas/Base/ST_DirectableData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3eb1a2ddc5c7498ca94649967635a553 3 | timeCreated: 1628687095 -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Systems/Base/ST_CutScene.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7d671c48b26544d59d05e86fb78d8494 3 | timeCreated: 1627313014 -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Systems/Base/ST_Director.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 862f07dcc7ba4767a4221518ae929662 3 | timeCreated: 1627205141 -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Systems/Base/ST_EndTimePoint.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b309cd2d241948f2aa360c30454cc1f0 3 | timeCreated: 1627312830 -------------------------------------------------------------------------------- /Assets/NKGSlate/Sample/Actions/ST_LogActionData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 45ee240322f34eb085ae1a54be02a1d9 3 | timeCreated: 1628775604 -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Systems/Base/ST_StartTimePoint.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 163aaffee5ee4529b5dc6a3f8605eed8 3 | timeCreated: 1627312819 -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Systems/Interfaces/ST_IDirectable.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f29ba2c3e50943be8081b65c2b79c4c6 3 | timeCreated: 1627203193 -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Utilities/ST_TimeToFrameCaculator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 68a6d94d0c3a4856a0618c1364f32978 3 | timeCreated: 1628952510 -------------------------------------------------------------------------------- /Assets/Plugins/NKGSlate/Core/ST_ParadoxNotionCutScene.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 70de6f6fd9184b3bb4f57c522155a444 3 | timeCreated: 1629035510 -------------------------------------------------------------------------------- /Assets/Plugins/NKGSlate/Core/ST_ParadoxNotionGroup.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c785edc9012b448ca40994169f0bf46f 3 | timeCreated: 1629207028 -------------------------------------------------------------------------------- /Assets/Plugins/NKGSlate/Core/ST_ParadoxNotionTrack.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: be40bb89eea34f3ca4e8640c2e213fad 3 | timeCreated: 1629027253 -------------------------------------------------------------------------------- /Assets/Plugins/NKGSlate/Samples/ST_ParadoxNotionEvent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 39ce04bd71124f9285122667727cbff1 3 | timeCreated: 1629210673 -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Systems/Interfaces/ST_ITimePointer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3fc9cde8012545708ead95a3c3c26efe 3 | timeCreated: 1627204800 -------------------------------------------------------------------------------- /Assets/Plugins/NKGSlate/Samples/ST_ParadoxNotionLogAction.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5aefae19b193493eabfd46f7c85da6be 3 | timeCreated: 1629027024 -------------------------------------------------------------------------------- /Assets/Plugins/NKGSlate/Core/ST_AParadoxNotionSlateActionBase.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 04408f22b76e477ba20bfb06a4aa0749 3 | timeCreated: 1629025862 -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_DefaultPresets: {} 8 | -------------------------------------------------------------------------------- /Assets/NKGSlate/Sample/Cube.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0ff114601720f86499f5ddf8bf9e3cba 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0985505dc2114604f96bb5b0e33b7907 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/NKGSlate.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: beadd8e7c6092b7418384c7bb87cf5e2 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/NKGSlate/Sample/Sample.bytes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c26a0ac2304d7064db42d4bdda716d71 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/NKGSlate/Sample/SampleScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3fb2b7938c204e579ca3de181d30e6cb 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/NKGSlate/Sample/SkillEntry.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1670f48434407964dba7a91676f026c5 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /.idea/.idea.New Unity Project/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Assets/Plugins/NKGSlate.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 86e0700ead3c3274a81a507c19489b9d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Sirenix.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: da67cf1da76ad884fa2a6fdd3bf514f0 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: [] 8 | m_configObjects: {} 9 | -------------------------------------------------------------------------------- /.idea/.idea.New Unity Project/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /.idea/.idea.SkillEditorBasedOnSlate/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Assets/Plugins/NKGSlate/Core.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e4c974867318da94e85e573d1cb3541f 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/ParadoxNotion.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4517c0aa4e772a449abd61c951c65191 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /ProjectSettings/XRSettings.asset: -------------------------------------------------------------------------------- 1 | { 2 | "m_SettingKeys": [ 3 | "VR Device Disabled", 4 | "VR Device User Alert" 5 | ], 6 | "m_SettingValues": [ 7 | "False", 8 | "False" 9 | ] 10 | } -------------------------------------------------------------------------------- /Assets/Plugins/NKGSlate/Samples.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a65b2dd56c83ac94e95400d5f00d67a2 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /.idea/.idea.SkillEditorBasedOnSlate/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /ProjectSettings/VersionControlSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!890905787 &1 4 | VersionControlSettings: 5 | m_ObjectHideFlags: 0 6 | m_Mode: Visible Meta Files 7 | m_CollabEditorSettings: 8 | inProgressEnabled: 1 9 | -------------------------------------------------------------------------------- /.idea/.idea.SkillEditorBasedOnSlate/.idea/projectSettingsUpdater.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /.idea/.idea.New Unity Project/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /.idea/.idea.SkillEditorBasedOnSlate/.idea/indexLayout.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/.idea.New Unity Project/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | # Rider ignored files 5 | /contentModel.xml 6 | /modules.xml 7 | /.idea.New Unity Project.iml 8 | /projectSettingsUpdater.xml 9 | # Datasource local storage ignored files 10 | /dataSources/ 11 | /dataSources.local.xml 12 | # Editor-based HTTP Client requests 13 | /httpRequests/ 14 | -------------------------------------------------------------------------------- /ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 0} 7 | m_CopyBufferShader: {fileID: 0} 8 | m_SortShader: {fileID: 0} 9 | m_StripUpdateShader: {fileID: 0} 10 | m_RenderPipeSettingsPath: 11 | m_FixedTimeStep: 0.016666668 12 | m_MaxDeltaTime: 0.05 13 | -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Datas/Base/ST_ActionData.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------ 2 | // Author: 烟雨迷离半世殇 3 | // Mail: 1778139321@qq.com 4 | // Data: 2021年8月11日 21:09:57 5 | //------------------------------------------------------------ 6 | 7 | using Sirenix.OdinInspector; 8 | 9 | namespace NKGSlate.Runtime 10 | { 11 | public class ST_ActionData: ST_DirectableData 12 | { 13 | } 14 | } -------------------------------------------------------------------------------- /ProjectSettings/BurstAotSettings_StandaloneWindows.json: -------------------------------------------------------------------------------- 1 | { 2 | "MonoBehaviour": { 3 | "Version": 3, 4 | "EnableBurstCompilation": true, 5 | "EnableOptimisations": true, 6 | "EnableSafetyChecks": false, 7 | "EnableDebugInAllBuilds": false, 8 | "UsePlatformSDKLinker": false, 9 | "CpuMinTargetX32": 0, 10 | "CpuMaxTargetX32": 0, 11 | "CpuMinTargetX64": 0, 12 | "CpuMaxTargetX64": 0, 13 | "CpuTargetsX32": 6, 14 | "CpuTargetsX64": 72 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Datas/Base/ST_GroupData.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------ 2 | // Author: 烟雨迷离半世殇 3 | // Mail: 1778139321@qq.com 4 | // Data: 2021年8月11日 21:10:22 5 | //------------------------------------------------------------ 6 | 7 | using System.Collections.Generic; 8 | 9 | namespace NKGSlate.Runtime 10 | { 11 | public class ST_GroupData: ST_DirectableData 12 | { 13 | public List TrackDatas = new List(); 14 | } 15 | } -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Datas/Base/ST_TrackData.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------ 2 | // Author: 烟雨迷离半世殇 3 | // Mail: 1778139321@qq.com 4 | // Data: 2021年8月11日 21:10:10 5 | //------------------------------------------------------------ 6 | 7 | using System.Collections.Generic; 8 | 9 | namespace NKGSlate.Runtime 10 | { 11 | public class ST_TrackData: ST_DirectableData 12 | { 13 | public List ActionDatas = new List(); 14 | } 15 | } -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Datas/Base/ST_CutSceneData.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------ 2 | // Author: 烟雨迷离半世殇 3 | // Mail: 1778139321@qq.com 4 | // Data: 2021年8月11日 21:10:33 5 | //------------------------------------------------------------ 6 | 7 | using System.Collections.Generic; 8 | 9 | namespace NKGSlate.Runtime 10 | { 11 | public class ST_CutSceneData: ST_DirectableData 12 | { 13 | public List GroupDatas = new List(); 14 | } 15 | } -------------------------------------------------------------------------------- /ProjectSettings/TimelineSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &1 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 61 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: a287be6c49135cd4f9b2b8666c39d999, type: 3} 13 | m_Name: 14 | m_EditorClassIdentifier: 15 | assetDefaultFramerate: 60 16 | -------------------------------------------------------------------------------- /Assets/Plugins/NKGSlate/Core/ST_ParadoxNotionTrack.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------ 2 | // Author: 烟雨迷离半世殇 3 | // Mail: 1778139321@qq.com 4 | // Data: 2021年8月15日 19:34:13 5 | //------------------------------------------------------------ 6 | 7 | using Slate; 8 | 9 | 10 | namespace NKGSlate 11 | { 12 | [Name("Skill Track")] 13 | [Description("技能Track")] 14 | [Attachable(typeof(ST_ParadoxNotionGroup))] 15 | public class ST_ParadoxNotionTrack: CutsceneTrack 16 | { 17 | } 18 | } -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Volume: 1 8 | Rolloff Scale: 1 9 | Doppler Factor: 1 10 | Default Speaker Mode: 2 11 | m_SampleRate: 0 12 | m_DSPBufferSize: 1024 13 | m_VirtualVoiceCount: 512 14 | m_RealVoiceCount: 32 15 | m_SpatializerPlugin: 16 | m_AmbisonicDecoderPlugin: 17 | m_DisableAudio: 0 18 | m_VirtualizeEffects: 1 19 | m_RequestedDSPBufferSize: 1024 20 | -------------------------------------------------------------------------------- /Assets/NKGSlate/Sample/Actions/ST_EventData.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------ 2 | // Author: 烟雨迷离半世殇 3 | // Mail: 1778139321@qq.com 4 | // Data: 2021年8月17日 22:33:00 5 | //------------------------------------------------------------ 6 | 7 | using Sirenix.OdinInspector; 8 | 9 | namespace NKGSlate.Runtime 10 | { 11 | [HideLabel] 12 | [HideReferenceObjectPicker] 13 | public class ST_EventData: ST_ActionData 14 | { 15 | [LabelText("将要发送的的事件")] 16 | [BoxGroup("自定义数据")] 17 | public string EventInfo; 18 | } 19 | } -------------------------------------------------------------------------------- /Assets/NKGSlate/Sample/Actions/ST_LogActionData.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------ 2 | // Author: 烟雨迷离半世殇 3 | // Mail: 1778139321@qq.com 4 | // Data: 2021年8月12日 21:40:03 5 | //------------------------------------------------------------ 6 | 7 | using Sirenix.OdinInspector; 8 | 9 | namespace NKGSlate.Runtime 10 | { 11 | [HideLabel] 12 | [HideReferenceObjectPicker] 13 | public class ST_LogActionData : ST_ActionData 14 | { 15 | [LabelText("将要打印的信息")] 16 | [BoxGroup("自定义数据")] 17 | public string LogInfo; 18 | } 19 | } -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /Assets/NKGSlate/Sample/Actions/ST_Event.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------ 2 | // Author: 烟雨迷离半世殇 3 | // Mail: 1778139321@qq.com 4 | // Data: 2021年8月17日 22:32:49 5 | //------------------------------------------------------------ 6 | 7 | using UnityEngine; 8 | 9 | namespace NKGSlate.Runtime 10 | { 11 | public class ST_Event: ST_Action 12 | { 13 | public override void OnEnter(uint currentFrame) 14 | { 15 | base.OnEnter(currentFrame); 16 | Debug.LogError($"ST_Event抛出一个事件:{this.BindingData.EventInfo} 帧数:{currentFrame}"); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Systems/Interfaces/ST_ITimePointer.cs: -------------------------------------------------------------------------------- 1 | namespace NKGSlate.Runtime 2 | { 3 | public interface ST_ITimePointer 4 | { 5 | uint TriggerFrame { get; set; } 6 | 7 | /// 8 | /// 是否已被触发 9 | /// 10 | bool HasTrigger { get; set; } 11 | 12 | ST_IDirectable GetTarget { get; } 13 | 14 | /// 15 | /// 往前方向(右)触发 16 | /// 17 | /// 18 | /// 19 | void TriggerForward(uint currentFrame, uint previousFrame); 20 | } 21 | } -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Systems/Interfaces/ST_IDirectable.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------ 2 | // Author: 烟雨迷离半世殇 3 | // Mail: 1778139321@qq.com 4 | // Data: 2021年7月25日 16:53:13 5 | //------------------------------------------------------------ 6 | 7 | using System.Collections.Generic; 8 | 9 | namespace NKGSlate.Runtime 10 | { 11 | public interface ST_IDirectable 12 | { 13 | ST_DirectableData DirectableData { get; set; } 14 | uint StartFrame { get; set; } 15 | uint EndFrame { get; set; } 16 | 17 | bool Initialize(uint currentFrame, ST_DirectableData stDirectableData); 18 | void Enter(uint currentFrame); 19 | void Update(uint currentFrame, uint previousFrame); 20 | void Exit(); 21 | } 22 | } -------------------------------------------------------------------------------- /Assets/Plugins/NKGSlate/Samples/ST_ParadoxNotionLogAction.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------ 2 | // Author: 烟雨迷离半世殇 3 | // Mail: 1778139321@qq.com 4 | // Data: 2021年8月15日 19:30:24 5 | //------------------------------------------------------------ 6 | 7 | 8 | using System.Collections.Generic; 9 | using NKGSlate.Runtime; 10 | using Sirenix.OdinInspector; 11 | using Slate; 12 | using UnityEngine; 13 | 14 | namespace NKGSlate.Sample 15 | { 16 | [Attachable(typeof(ST_ParadoxNotionTrack))] 17 | [Description("打印一条信息")] 18 | [Name("打印信息")] 19 | public class ST_ParadoxNotionLogAction: ST_AParadoxNotionSlateActionBase 20 | { 21 | protected override void OnCreate() 22 | { 23 | base.OnCreate(); 24 | 25 | BindingDate = new ST_LogActionData(); 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /Assets/Plugins/NKGSlate/Samples/ST_ParadoxNotionEvent.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------ 2 | // Author: 烟雨迷离半世殇 3 | // Mail: 1778139321@qq.com 4 | // Data: 2021年8月17日 22:31:13 5 | //------------------------------------------------------------ 6 | 7 | using NKGSlate.Runtime; 8 | using Slate; 9 | using UnityEngine; 10 | 11 | namespace NKGSlate.Sample 12 | { 13 | [Attachable(typeof(ST_ParadoxNotionTrack))] 14 | [Description("抛出一个事件")] 15 | [Name("抛出事件")] 16 | public class ST_ParadoxNotionEvent: ST_AParadoxNotionSlateActionBase 17 | { 18 | public override float length 19 | { 20 | get { return 0; } 21 | } 22 | 23 | protected override void OnCreate() 24 | { 25 | base.OnCreate(); 26 | BindingDate = new ST_EventData(); 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 1 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events 10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events 11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com 12 | m_TestInitMode: 0 13 | CrashReportingSettings: 14 | m_EventUrl: https://perf-events.cloud.unity3d.com 15 | m_Enabled: 0 16 | m_LogBufferSize: 10 17 | m_CaptureEditorExceptions: 1 18 | UnityPurchasingSettings: 19 | m_Enabled: 0 20 | m_TestMode: 0 21 | UnityAnalyticsSettings: 22 | m_Enabled: 0 23 | m_TestMode: 0 24 | m_InitializeOnStartup: 1 25 | UnityAdsSettings: 26 | m_Enabled: 0 27 | m_InitializeOnStartup: 1 28 | m_TestMode: 0 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Systems/Base/ST_EndTimePoint.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------ 2 | // Author: 烟雨迷离半世殇 3 | // Mail: 1778139321@qq.com 4 | // Data: 2021年7月26日 23:20:30 5 | //------------------------------------------------------------ 6 | 7 | namespace NKGSlate.Runtime 8 | { 9 | public class ST_EndTimePoint : ST_ITimePointer 10 | { 11 | public bool HasTrigger { get; set; } 12 | 13 | public uint TriggerFrame 14 | { 15 | get => GetTarget.EndFrame; 16 | set => GetTarget.EndFrame = value; 17 | } 18 | 19 | public ST_IDirectable GetTarget { get; } 20 | 21 | public ST_EndTimePoint(ST_IDirectable target) 22 | { 23 | GetTarget = target; 24 | } 25 | 26 | public void TriggerForward(uint currentFrame, uint previousFrame) 27 | { 28 | if (currentFrame > TriggerFrame) 29 | { 30 | if (HasTrigger) return; 31 | HasTrigger = true; 32 | GetTarget.Exit(); 33 | } 34 | } 35 | } 36 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 NKG丶MadLife 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Datas/Base/ST_DirectableData.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------ 2 | // Author: 烟雨迷离半世殇 3 | // Mail: 1778139321@qq.com 4 | // Data: 2021年8月11日 21:04:55 5 | //------------------------------------------------------------ 6 | 7 | using Sirenix.OdinInspector; 8 | using UnityEngine; 9 | 10 | namespace NKGSlate.Runtime 11 | { 12 | public class ST_DirectableData 13 | { 14 | /// 15 | /// 起始时间点,为当前CutScene的相对时间点,例如600,即表示其起始时间点在这个CutScene运行600ms的时候 16 | /// 17 | [BoxGroup("基础数据")] 18 | [LabelText("起始时间点")] 19 | [Tooltip("为当前CutScene的相对时间点,例如600,即表示其起始时间点在这个CutScene运行600ms的时候")] 20 | [DisableInEditorMode] 21 | public long RelativelyStartTime; 22 | 23 | /// 24 | /// 时间长度,为当前CutScene的相对时间点,例如1200,即表示其结束时间点在这个CutScene运行1200ms的时候 25 | /// 26 | [BoxGroup("基础数据")] 27 | [LabelText("结束时间点")] 28 | [Tooltip("为当前CutScene的相对时间点,例如1200,即表示其结束时间点在这个CutScene运行1200ms的时候")] 29 | [DisableInEditorMode] 30 | public long RelativelyEndTime; 31 | } 32 | } -------------------------------------------------------------------------------- /UserSettings/EditorUserSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!162 &1 4 | EditorUserSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 4 7 | m_ConfigSettings: 8 | RecentlyUsedScenePath-0: 9 | value: 22424703114646680e0b0227036c711501572b292926237e38271427fb 10 | flags: 0 11 | RecentlyUsedScenePath-1: 12 | value: 22424703114646680e0b0227036c6c111b07142f1f2b233e2867083debf42d 13 | flags: 0 14 | RecentlyUsedScenePath-2: 15 | value: 22424703114646680c031c2e156c6c111b07142f631b273d3d251800e1e53a3dacf238e0f323 16 | flags: 0 17 | RecentlyUsedScenePath-3: 18 | value: 224247031146467526293f2e11375a5f2516153a202d69032c240d3fe7d3373dece278fce9332b25 19 | flags: 0 20 | vcSharedLogLevel: 21 | value: 0d5e400f0650 22 | flags: 0 23 | m_VCAutomaticAdd: 1 24 | m_VCDebugCom: 0 25 | m_VCDebugCmd: 0 26 | m_VCDebugOut: 0 27 | m_SemanticMergeMode: 2 28 | m_VCShowFailedCheckout: 1 29 | m_VCOverwriteFailedCheckoutAssets: 1 30 | m_VCProjectOverlayIcons: 1 31 | m_VCHierarchyOverlayIcons: 1 32 | m_VCOtherOverlayIcons: 1 33 | m_VCAllowAsyncUpdate: 0 34 | -------------------------------------------------------------------------------- /Assets/NKGSlate/Sample/Actions/ST_LogAction.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------ 2 | // Author: 烟雨迷离半世殇 3 | // Mail: 1778139321@qq.com 4 | // Data: 2021年8月12日 21:33:22 5 | //------------------------------------------------------------ 6 | 7 | using UnityEngine; 8 | 9 | namespace NKGSlate.Runtime 10 | { 11 | public class ST_LogAction: ST_Action 12 | { 13 | public override bool OnInitialize(uint currentFrame) 14 | { 15 | Debug.Log($"ST_LogInfo Initialize"); 16 | return true; 17 | } 18 | 19 | public override void OnEnter(uint currentFrame) 20 | { 21 | base.OnEnter(currentFrame); 22 | 23 | Debug.Log($"ST_LogInfo Enter"); 24 | } 25 | 26 | public override void OnUpdate(uint currentFrame, uint previousFrame) 27 | { 28 | Debug.Log($"ST_LogInfo: {this.BindingData.LogInfo} 帧数:{currentFrame}"); 29 | } 30 | 31 | public override void OnExit() 32 | { 33 | base.OnExit(); 34 | 35 | Debug.Log($"ST_LogInfo Exit"); 36 | } 37 | } 38 | } -------------------------------------------------------------------------------- /.idea/.idea.New Unity Project/.idea/indexLayout.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Library/PackageCache/com.unity.collab-proxy@1.2.16 7 | Library/PackageCache/com.unity.ext.nunit@1.0.0 8 | Library/PackageCache/com.unity.ide.rider@1.1.4 9 | Library/PackageCache/com.unity.ide.vscode@1.2.0 10 | Library/PackageCache/com.unity.test-framework@1.1.14 11 | Library/PackageCache/com.unity.textmeshpro@2.0.1 12 | Library/PackageCache/com.unity.timeline@1.2.14 13 | Packages 14 | ProjectSettings 15 | 16 | 17 | .idea 18 | Library 19 | Logs 20 | Temp 21 | obj 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /ProjectSettings/PackageManagerSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &1 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 61 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0} 13 | m_Name: 14 | m_EditorClassIdentifier: 15 | m_EnablePreviewPackages: 0 16 | m_EnablePackageDependencies: 0 17 | m_AdvancedSettingsExpanded: 1 18 | m_ScopedRegistriesSettingsExpanded: 1 19 | oneTimeWarningShown: 0 20 | m_Registries: 21 | - m_Id: main 22 | m_Name: 23 | m_Url: https://packages.unity.cn 24 | m_Scopes: [] 25 | m_IsDefault: 1 26 | m_Capabilities: 7 27 | m_UserSelectedRegistryName: 28 | m_UserAddingNewScopedRegistry: 0 29 | m_RegistryInfoDraft: 30 | m_ErrorMessage: 31 | m_Original: 32 | m_Id: 33 | m_Name: 34 | m_Url: 35 | m_Scopes: [] 36 | m_IsDefault: 0 37 | m_Capabilities: 0 38 | m_Modified: 0 39 | m_Name: 40 | m_Url: 41 | m_Scopes: 42 | - 43 | m_SelectedScopeIndex: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 9 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 0 10 | m_DefaultBehaviorMode: 0 11 | m_PrefabRegularEnvironment: {fileID: 0} 12 | m_PrefabUIEnvironment: {fileID: 0} 13 | m_SpritePackerMode: 0 14 | m_SpritePackerPaddingPower: 1 15 | m_EtcTextureCompressorBehavior: 1 16 | m_EtcTextureFastCompressor: 1 17 | m_EtcTextureNormalCompressor: 2 18 | m_EtcTextureBestCompressor: 4 19 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;rsp;asmref 20 | m_ProjectGenerationRootNamespace: 21 | m_CollabEditorSettings: 22 | inProgressEnabled: 1 23 | m_EnableTextureStreamingInEditMode: 1 24 | m_EnableTextureStreamingInPlayMode: 1 25 | m_AsyncShaderCompilation: 1 26 | m_EnterPlayModeOptionsEnabled: 0 27 | m_EnterPlayModeOptions: 3 28 | m_ShowLightmapResolutionOverlay: 1 29 | m_UseLegacyProbeSampleCount: 0 30 | m_AssetPipelineMode: 1 31 | m_CacheServerMode: 0 32 | m_CacheServerEndpoint: 33 | m_CacheServerNamespacePrefix: default 34 | m_CacheServerEnableDownload: 1 35 | m_CacheServerEnableUpload: 1 36 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # This .gitignore file should be placed at the root of your Unity project directory 2 | # 3 | # Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore 4 | # 5 | /[Ll]ibrary/ 6 | /[Tt]emp/ 7 | /[Oo]bj/ 8 | /[Bb]uild/ 9 | /[Bb]uilds/ 10 | /[Ll]ogs/ 11 | /[Mm]emoryCaptures/ 12 | /Assets/Plugins/Sirenix/ 13 | /Assets/Plugins/ParadoxNotion/ 14 | 15 | # Asset meta data should only be ignored when the corresponding asset is also ignored 16 | !/[Aa]ssets/**/*.meta 17 | 18 | # Uncomment this line if you wish to ignore the asset store tools plugin 19 | # /[Aa]ssets/AssetStoreTools* 20 | 21 | # Autogenerated Jetbrains Rider plugin 22 | [Aa]ssets/Plugins/Editor/JetBrains* 23 | 24 | # Visual Studio cache directory 25 | .vs/ 26 | 27 | # Gradle cache directory 28 | .gradle/ 29 | 30 | # Autogenerated VS/MD/Consulo solution and project files 31 | ExportedObj/ 32 | .consulo/ 33 | *.csproj 34 | *.unityproj 35 | *.sln 36 | *.suo 37 | *.tmp 38 | *.user 39 | *.userprefs 40 | *.pidb 41 | *.booproj 42 | *.svd 43 | *.pdb 44 | *.mdb 45 | *.opendb 46 | *.VC.db 47 | 48 | # Unity3D generated meta files 49 | *.pidb.meta 50 | *.pdb.meta 51 | *.mdb.meta 52 | 53 | # Unity3D generated file on crash reports 54 | sysinfo.txt 55 | 56 | # Builds 57 | *.apk 58 | *.unitypackage 59 | 60 | # Crashlytics generated file 61 | crashlytics-build.properties 62 | 63 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 11 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 0 23 | m_ReuseCollisionCallbacks: 1 24 | m_ClothInterCollisionSettingsToggle: 0 25 | m_ContactPairsMode: 0 26 | m_BroadphaseType: 0 27 | m_WorldBounds: 28 | m_Center: {x: 0, y: 0, z: 0} 29 | m_Extent: {x: 250, y: 250, z: 250} 30 | m_WorldSubdivisions: 8 31 | m_FrictionType: 0 32 | m_EnableEnhancedDeterminism: 0 33 | m_EnableUnifiedHeightmaps: 1 34 | m_DefaultMaxAngluarSpeed: 7 35 | -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Utilities/ST_TimeToFrameCaculator.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------ 2 | // Author: 烟雨迷离半世殇 3 | // Mail: 1778139321@qq.com 4 | // Data: 2021年8月14日 22:48:30 5 | //------------------------------------------------------------ 6 | 7 | using UnityEngine; 8 | 9 | namespace NKGSlate.Runtime 10 | { 11 | public static class ST_TimeToFrameCaculator 12 | { 13 | /// 14 | /// 帧率,即每秒Step多少次 TODO 现在使用的Unity FixedUpdate所以间隔为0.02,即刷新间隔为50ms 15 | /// 16 | public const int FrameFrequency = 50; 17 | 18 | /// 19 | /// 每帧的时间间隔,毫秒单位 20 | /// 21 | public const float FrameInterval = 1000f / FrameFrequency; 22 | 23 | /// 24 | /// 从时间长度计算帧数 25 | /// 例如FrameFrequency为 30 ,FrameInterval为 33.33 ,timeLength为600(ms),就有 600 / 33.33 = 18.0018,最后向上取整,最终结果为 19 26 | /// 27 | /// 28 | public static uint CaculateFrameCountFromTimeLength(long timeLength) 29 | { 30 | if (timeLength < 0) 31 | { 32 | Debug.LogError($"传递的时间长度:{timeLength} 非法,需要为大于等于0的长整形! "); 33 | return 0; 34 | } 35 | 36 | return (uint) Mathf.CeilToInt(timeLength / FrameInterval); 37 | } 38 | } 39 | } -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Systems/Base/ST_StartTimePoint.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------ 2 | // Author: 烟雨迷离半世殇 3 | // Mail: 1778139321@qq.com 4 | // Data: 2021年7月26日 23:20:19 5 | //------------------------------------------------------------ 6 | 7 | namespace NKGSlate.Runtime 8 | { 9 | public class ST_StartTimePoint : ST_ITimePointer 10 | { 11 | public bool HasTrigger { get; set; } 12 | public ST_IDirectable GetTarget { get; } 13 | 14 | public uint TriggerFrame 15 | { 16 | get => GetTarget.StartFrame; 17 | set => GetTarget.StartFrame = value; 18 | } 19 | 20 | public ST_StartTimePoint(ST_IDirectable target) 21 | { 22 | GetTarget = target; 23 | } 24 | 25 | public void TriggerForward(uint currentFrame, uint previousFrame) 26 | { 27 | if (currentFrame >= TriggerFrame) 28 | { 29 | if (HasTrigger) return; 30 | HasTrigger = true; 31 | GetTarget.Enter(currentFrame); 32 | } 33 | } 34 | 35 | public void Update(uint currentFrame, uint previousFrame) 36 | { 37 | if (currentFrame >= TriggerFrame && currentFrame <= GetTarget.EndFrame) 38 | GetTarget.Update(currentFrame, previousFrame); 39 | } 40 | } 41 | } -------------------------------------------------------------------------------- /Assets/Plugins/NKGSlate/Core/ST_AParadoxNotionSlateActionBase.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------ 2 | // Author: 烟雨迷离半世殇 3 | // Mail: 1778139321@qq.com 4 | // Data: 2021年8月15日 19:11:02 5 | //------------------------------------------------------------ 6 | 7 | using NKGSlate.Runtime; 8 | using Sirenix.OdinInspector; 9 | using Slate; 10 | using UnityEngine; 11 | 12 | namespace NKGSlate 13 | { 14 | /// 15 | /// 表现在Slate编辑器中的Action基类 16 | /// 17 | public abstract class ST_AParadoxNotionSlateActionBase : ActionClip 18 | { 19 | [SerializeField] [HideInInspector] private float m_Originlength = 1; 20 | 21 | public override float length 22 | { 23 | get { return m_Originlength; } 24 | set { m_Originlength = value; } 25 | } 26 | 27 | public override string info 28 | { 29 | get 30 | { 31 | if (string.IsNullOrEmpty(ActionName)) 32 | { 33 | var nameAtt = this.GetType().RTGetAttribute(true); 34 | if ( nameAtt != null ) { 35 | return nameAtt.name; 36 | } 37 | return this.GetType().Name.SplitCamelCase(); 38 | } 39 | 40 | return ActionName; 41 | } 42 | } 43 | 44 | [LabelText("Action名称")] 45 | public string ActionName; 46 | 47 | /// 48 | /// 绑定的数据,用于数据预览和导出 49 | /// 50 | [BoxGroup("绑定的数据", CenterLabel = true)] [HideLabel] public ST_DirectableData BindingDate; 51 | } 52 | } -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Systems/Base/ST_CutScene.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------ 2 | // Author: 烟雨迷离半世殇 3 | // Mail: 1778139321@qq.com 4 | // Data: 2021年7月26日 23:23:34 5 | //------------------------------------------------------------ 6 | 7 | using System.Collections.Generic; 8 | 9 | namespace NKGSlate.Runtime 10 | { 11 | public class ST_CutScene:ST_IDirectable 12 | { 13 | public ST_DirectableData DirectableData { get; set; } 14 | public uint StartFrame { get; set; } 15 | public uint EndFrame { get; set; } 16 | 17 | public bool Initialize(uint currentFrame, ST_DirectableData stDirectableData) 18 | { 19 | this.DirectableData = stDirectableData; 20 | StartFrame = 21 | currentFrame + ST_TimeToFrameCaculator.CaculateFrameCountFromTimeLength(this.DirectableData.RelativelyStartTime); 22 | EndFrame = 23 | currentFrame + ST_TimeToFrameCaculator.CaculateFrameCountFromTimeLength(this.DirectableData.RelativelyEndTime); 24 | return OnInitialize(currentFrame); 25 | } 26 | 27 | public void Enter(uint currentFrame) 28 | { 29 | 30 | } 31 | 32 | public void Update(uint currentFrame, uint previousFrame) 33 | { 34 | 35 | } 36 | 37 | public void Exit() 38 | { 39 | 40 | } 41 | 42 | public virtual bool OnInitialize(uint currentFrame) 43 | { 44 | return true; 45 | } 46 | 47 | public virtual void OnEnter(uint currentFrame) 48 | { 49 | } 50 | 51 | public virtual void OnUpdate(uint currentFrame, uint previousFrame) 52 | { 53 | } 54 | 55 | public virtual void OnExit() 56 | { 57 | } 58 | } 59 | } -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Systems/Base/ST_Group.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------ 2 | // Author: 烟雨迷离半世殇 3 | // Mail: 1778139321@qq.com 4 | // Data: 2021年7月25日 16:54:29 5 | //------------------------------------------------------------ 6 | 7 | using System.Collections.Generic; 8 | 9 | namespace NKGSlate.Runtime 10 | { 11 | public class ST_Group : ST_IDirectable 12 | { 13 | public ST_DirectableData DirectableData { get; set; } 14 | public uint StartFrame { get; set; } 15 | public uint EndFrame { get; set; } 16 | 17 | public bool Initialize(uint currentFrame, ST_DirectableData stDirectableData) 18 | { 19 | this.DirectableData = stDirectableData; 20 | StartFrame = 21 | currentFrame + ST_TimeToFrameCaculator.CaculateFrameCountFromTimeLength(this.DirectableData.RelativelyStartTime); 22 | EndFrame = 23 | currentFrame + ST_TimeToFrameCaculator.CaculateFrameCountFromTimeLength(this.DirectableData.RelativelyEndTime); 24 | return OnInitialize(); 25 | } 26 | 27 | void ST_IDirectable.Enter(uint currentFrame) 28 | { 29 | OnEnter(currentFrame); 30 | } 31 | 32 | void ST_IDirectable.Update(uint currentFrame, uint previousFrame) 33 | { 34 | OnUpdate(currentFrame, previousFrame); 35 | } 36 | 37 | void ST_IDirectable.Exit() 38 | { 39 | OnExit(); 40 | } 41 | 42 | public virtual bool OnInitialize() 43 | { 44 | return true; 45 | } 46 | 47 | public virtual void OnEnter(uint currentFrame) 48 | { 49 | } 50 | 51 | public virtual void OnUpdate(uint currentFrame, uint previousFrame) 52 | { 53 | } 54 | 55 | public virtual void OnExit() 56 | { 57 | } 58 | } 59 | } -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Systems/Base/ST_Track.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------ 2 | // Author: 烟雨迷离半世殇 3 | // Mail: 1778139321@qq.com 4 | // Data: 2021年7月25日 16:54:17 5 | //------------------------------------------------------------ 6 | 7 | using System.Collections.Generic; 8 | 9 | namespace NKGSlate.Runtime 10 | { 11 | public class ST_Track : ST_IDirectable 12 | { 13 | public ST_DirectableData DirectableData { get; set; } 14 | public uint StartFrame { get; set; } 15 | public uint EndFrame { get; set; } 16 | 17 | public bool Initialize(uint currentFrame, ST_DirectableData stDirectableData) 18 | { 19 | this.DirectableData = stDirectableData; 20 | StartFrame = 21 | currentFrame + ST_TimeToFrameCaculator.CaculateFrameCountFromTimeLength(this.DirectableData.RelativelyStartTime); 22 | EndFrame = 23 | currentFrame + ST_TimeToFrameCaculator.CaculateFrameCountFromTimeLength(this.DirectableData.RelativelyEndTime); 24 | return OnInitialize(currentFrame); 25 | } 26 | 27 | void ST_IDirectable.Enter(uint currentFrame) 28 | { 29 | OnEnter(currentFrame); 30 | } 31 | 32 | void ST_IDirectable.Update(uint currentFrame, uint previousFrame) 33 | { 34 | OnUpdate(currentFrame, previousFrame); 35 | } 36 | 37 | void ST_IDirectable.Exit() 38 | { 39 | OnExit(); 40 | } 41 | 42 | public virtual bool OnInitialize(uint currentFrame) 43 | { 44 | return true; 45 | } 46 | 47 | public virtual void OnEnter(uint currentFrame) 48 | { 49 | } 50 | 51 | public virtual void OnUpdate(uint currentFrame, uint previousFrame) 52 | { 53 | } 54 | 55 | public virtual void OnExit() 56 | { 57 | } 58 | } 59 | } -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.collab-proxy": "1.5.7", 4 | "com.unity.ext.nunit": "1.0.6", 5 | "com.unity.ide.rider": "2.0.7", 6 | "com.unity.ide.visualstudio": "2.0.8", 7 | "com.unity.ide.vscode": "1.2.3", 8 | "com.unity.properties": "1.6.0-preview", 9 | "com.unity.properties.ui": "1.6.2-preview.1", 10 | "com.unity.searcher": "4.7.0-preview", 11 | "com.unity.test-framework": "1.1.24", 12 | "com.unity.textmeshpro": "3.0.6", 13 | "com.unity.timeline": "1.4.8", 14 | "nuget.moq": "1.0.0", 15 | "com.unity.modules.ai": "1.0.0", 16 | "com.unity.modules.androidjni": "1.0.0", 17 | "com.unity.modules.animation": "1.0.0", 18 | "com.unity.modules.assetbundle": "1.0.0", 19 | "com.unity.modules.audio": "1.0.0", 20 | "com.unity.modules.cloth": "1.0.0", 21 | "com.unity.modules.director": "1.0.0", 22 | "com.unity.modules.imageconversion": "1.0.0", 23 | "com.unity.modules.imgui": "1.0.0", 24 | "com.unity.modules.jsonserialize": "1.0.0", 25 | "com.unity.modules.particlesystem": "1.0.0", 26 | "com.unity.modules.physics": "1.0.0", 27 | "com.unity.modules.physics2d": "1.0.0", 28 | "com.unity.modules.screencapture": "1.0.0", 29 | "com.unity.modules.terrain": "1.0.0", 30 | "com.unity.modules.terrainphysics": "1.0.0", 31 | "com.unity.modules.tilemap": "1.0.0", 32 | "com.unity.modules.ui": "1.0.0", 33 | "com.unity.modules.uielements": "1.0.0", 34 | "com.unity.modules.umbra": "1.0.0", 35 | "com.unity.modules.unityanalytics": "1.0.0", 36 | "com.unity.modules.unitywebrequest": "1.0.0", 37 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 38 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 39 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 40 | "com.unity.modules.unitywebrequestwww": "1.0.0", 41 | "com.unity.modules.vehicles": "1.0.0", 42 | "com.unity.modules.video": "1.0.0", 43 | "com.unity.modules.vr": "1.0.0", 44 | "com.unity.modules.wind": "1.0.0", 45 | "com.unity.modules.xr": "1.0.0" 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /Assets/NKGSlate/Sample/SlateEntry.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------ 2 | // Author: 烟雨迷离半世殇 3 | // Mail: 1778139321@qq.com 4 | // Data: 2021年8月12日 21:10:15 5 | //------------------------------------------------------------ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.IO; 10 | using Sirenix.Serialization; 11 | using UnityEngine; 12 | 13 | namespace NKGSlate.Runtime 14 | { 15 | public class SlateEntry : MonoBehaviour 16 | { 17 | public static Dictionary TypeInfos = new Dictionary() 18 | { 19 | {typeof(ST_LogActionData), typeof(ST_LogAction)}, 20 | {typeof(ST_EventData), typeof(ST_Event)}, 21 | }; 22 | 23 | public ST_Director Director = new ST_Director(); 24 | public ST_CutSceneData CutSceneData; 25 | 26 | private ST_CutSceneData DeserializeFromFile() 27 | { 28 | ST_CutSceneData sceneData = 29 | SerializationUtility.DeserializeValue( 30 | File.ReadAllBytes($"Assets/NKGSlate/Sample/Sample.bytes"), DataFormat.Binary); 31 | return sceneData; 32 | } 33 | 34 | private void Awake() 35 | { 36 | CutSceneData = DeserializeFromFile(); 37 | } 38 | 39 | private void Update() 40 | { 41 | if (Input.GetKeyDown(KeyCode.Space)) 42 | { 43 | if (Director.HasPaused) 44 | Director.Resume(); 45 | else 46 | { 47 | Director.Pause(); 48 | } 49 | } 50 | 51 | if (Input.GetKeyDown(KeyCode.Return)) 52 | { 53 | Director.BeginPlay(Director.CurrentFrame, CutSceneData); 54 | } 55 | } 56 | 57 | private void FixedUpdate() 58 | { 59 | if (!Director.HasPaused && Director.HasInited) 60 | { 61 | Director.CurrentFrame += 1; 62 | } 63 | 64 | Director.Sample(Director.CurrentFrame); 65 | } 66 | } 67 | } -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Systems/Base/ST_Action.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------ 2 | // Author: 烟雨迷离半世殇 3 | // Mail: 1778139321@qq.com 4 | // Data: 2021年7月25日 16:53:36 5 | //------------------------------------------------------------ 6 | 7 | using System.Collections.Generic; 8 | 9 | namespace NKGSlate.Runtime 10 | { 11 | public class ST_Action : ST_IDirectable where T : ST_DirectableData 12 | { 13 | public ST_DirectableData DirectableData { get; set; } 14 | 15 | public T BindingData => DirectableData as T; 16 | 17 | /// 18 | /// 起始帧,为运行时计算的帧数 19 | /// 20 | public uint StartFrame { get; set; } 21 | 22 | /// 23 | /// 结束帧,为运行时计算的帧数 24 | /// 25 | public uint EndFrame { get; set; } 26 | 27 | public bool Initialize(uint currentFrame, ST_DirectableData stDirectableData) 28 | { 29 | this.DirectableData = stDirectableData; 30 | StartFrame = 31 | currentFrame + ST_TimeToFrameCaculator.CaculateFrameCountFromTimeLength(this.DirectableData.RelativelyStartTime); 32 | EndFrame = 33 | currentFrame + ST_TimeToFrameCaculator.CaculateFrameCountFromTimeLength(this.DirectableData.RelativelyEndTime); 34 | return OnInitialize(currentFrame); 35 | } 36 | 37 | void ST_IDirectable.Enter(uint currentFrame) 38 | { 39 | OnEnter(currentFrame); 40 | } 41 | 42 | void ST_IDirectable.Update(uint currentFrame, uint previousFrame) 43 | { 44 | OnUpdate(currentFrame, previousFrame); 45 | } 46 | 47 | void ST_IDirectable.Exit() 48 | { 49 | OnExit(); 50 | } 51 | 52 | public virtual bool OnInitialize(uint currentFrame) 53 | { 54 | return true; 55 | } 56 | 57 | public virtual void OnEnter(uint currentFrame) 58 | { 59 | } 60 | 61 | public virtual void OnUpdate(uint currentFrame, uint previousFrame) 62 | { 63 | } 64 | 65 | public virtual void OnExit() 66 | { 67 | } 68 | } 69 | } -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 4 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_JobOptions: 23 | serializedVersion: 2 24 | useMultithreading: 0 25 | useConsistencySorting: 0 26 | m_InterpolationPosesPerJob: 100 27 | m_NewContactsPerJob: 30 28 | m_CollideContactsPerJob: 100 29 | m_ClearFlagsPerJob: 200 30 | m_ClearBodyForcesPerJob: 200 31 | m_SyncDiscreteFixturesPerJob: 50 32 | m_SyncContinuousFixturesPerJob: 50 33 | m_FindNearestContactsPerJob: 100 34 | m_UpdateTriggerContactsPerJob: 100 35 | m_IslandSolverCostThreshold: 100 36 | m_IslandSolverBodyCostScale: 1 37 | m_IslandSolverContactCostScale: 10 38 | m_IslandSolverJointCostScale: 10 39 | m_IslandSolverBodiesPerJob: 50 40 | m_IslandSolverContactsPerJob: 50 41 | m_AutoSimulation: 1 42 | m_QueriesHitTriggers: 1 43 | m_QueriesStartInColliders: 1 44 | m_CallbacksOnDisable: 1 45 | m_ReuseCollisionCallbacks: 1 46 | m_AutoSyncTransforms: 0 47 | m_AlwaysShowColliders: 0 48 | m_ShowColliderSleep: 1 49 | m_ShowColliderContacts: 0 50 | m_ShowColliderAABB: 0 51 | m_ContactArrowScale: 0.2 52 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 53 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 54 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 55 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 56 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 57 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 13 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 38 | m_PreloadedShaders: [] 39 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 40 | type: 0} 41 | m_CustomRenderPipeline: {fileID: 0} 42 | m_TransparencySortMode: 0 43 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 44 | m_DefaultRenderingPath: 1 45 | m_DefaultMobileRenderingPath: 1 46 | m_TierSettings: [] 47 | m_LightmapStripping: 0 48 | m_FogStripping: 0 49 | m_InstancingStripping: 0 50 | m_LightmapKeepPlain: 1 51 | m_LightmapKeepDirCombined: 1 52 | m_LightmapKeepDynamicPlain: 1 53 | m_LightmapKeepDynamicDirCombined: 1 54 | m_LightmapKeepShadowMask: 1 55 | m_LightmapKeepSubtractive: 1 56 | m_FogKeepLinear: 1 57 | m_FogKeepExp: 1 58 | m_FogKeepExp2: 1 59 | m_AlbedoSwatchInfos: [] 60 | m_LightsUseLinearIntensity: 0 61 | m_LightsUseColorTemperature: 0 62 | m_LogWhenShaderIsCompiled: 0 63 | m_AllowEnlightenSupportForUpgradedProject: 0 64 | -------------------------------------------------------------------------------- /Assets/Plugins/NKGSlate/Core/ST_ParadoxNotionCutScene.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------ 2 | // Author: 烟雨迷离半世殇 3 | // Mail: 1778139321@qq.com 4 | // Data: 2021年8月15日 21:51:50 5 | //------------------------------------------------------------ 6 | 7 | using System.IO; 8 | using NKGSlate.Runtime; 9 | using Sirenix.OdinInspector; 10 | using Sirenix.Serialization; 11 | using Slate; 12 | 13 | namespace NKGSlate 14 | { 15 | public class ST_ParadoxNotionCutScene : Cutscene 16 | { 17 | /// 18 | /// 导出技能数据 19 | /// 20 | [Button("导出技能数据", 35), GUIColor(0.78f, 0.23f, 0.56f)] 21 | public void ExportSkillDatas() 22 | { 23 | ST_CutSceneData stCutSceneData = new ST_CutSceneData(); 24 | foreach (var gCutsceneGroup in this.groups) 25 | { 26 | if (gCutsceneGroup is ST_ParadoxNotionGroup stParadoxNotionGroup) 27 | { 28 | ST_GroupData stGroupData = new ST_GroupData(); 29 | foreach (var cutsceneTrack in stParadoxNotionGroup.tracks) 30 | { 31 | ST_TrackData stTrackData = new ST_TrackData(); 32 | foreach (var cutsceneTrackClip in cutsceneTrack.clips) 33 | { 34 | ST_AParadoxNotionSlateActionBase aParadoxNotionSlateActionBase = 35 | cutsceneTrackClip as ST_AParadoxNotionSlateActionBase; 36 | ST_DirectableData stActionData = aParadoxNotionSlateActionBase.BindingDate; 37 | stActionData.RelativelyStartTime = (long) (aParadoxNotionSlateActionBase.startTime * 1000); 38 | stActionData.RelativelyEndTime = (long) (aParadoxNotionSlateActionBase.endTime * 1000); 39 | stTrackData.ActionDatas.Add(stActionData as ST_ActionData); 40 | } 41 | 42 | stGroupData.TrackDatas.Add(stTrackData); 43 | } 44 | 45 | stCutSceneData.GroupDatas.Add(stGroupData); 46 | } 47 | } 48 | 49 | 50 | using (FileStream file = File.Create($"Assets/NKGSlate/Sample/Sample.bytes")) 51 | { 52 | byte[] serResult = SerializationUtility.SerializeValue(stCutSceneData, DataFormat.Binary); 53 | file.Write(serResult, 0, serResult.Length); 54 | } 55 | } 56 | } 57 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | # SkillEditorBasedOnSlate 3 | 基于ParadoxNotion Slate的帧同步技能编辑器,博客链接:[ParadoxNotion-Slate学习笔记与拓展计划](https://www.lfzxb.top/unity-slate-study-and-extendplan/) 4 | 5 | 本项目只作为一个最小使用案例,工业级的使用案例请参见:[基于ET框架致敬LOL的Moba游戏,包含完整的客户端与服务端交互,热更新,基于双端行为树的技能系统,更多精彩等你发现!](https://gitee.com/NKG_admin/NKGMobaBasedOnET) 6 | 7 | 项目使用了两款插件,请自行购买并导入Assets/Plugins/目录中 8 | 9 | - [ParadoxNotion-Slate](https://slate.paradoxnotion.com/) 10 | - [Odin](https://odininspector.com/) 11 | 12 | ## 功能列表 13 | 14 | - [x] 基于帧同步的技能系统运行时 15 | - [x] 重写Slate创建Group的编辑器界面代码 16 | - [x] 部分Action库 17 | - [x] 技能数据的编辑与导出 18 | - [x] 测试用例 19 | 20 | ## 使用说明 21 | 22 | 在Scene场景新建一个游戏物体,并添加图中组件 23 | 24 | ![image](https://user-images.githubusercontent.com/35335061/129765453-cb24044a-52d4-49eb-9326-b4db06a04b37.png) 25 | 26 | 主要功能为编辑数据和导出数据 27 | 28 | ![image](https://user-images.githubusercontent.com/35335061/129765509-077f38ac-d672-42ff-9076-07446ea4f18e.png) 29 | 30 | 新建一个Skil Group 31 | 32 | ![image](https://user-images.githubusercontent.com/35335061/129765653-65da6ce7-a542-4f2d-b499-cda41b586b33.png) 33 | 34 | 新建Action 35 | 36 | ![image](https://user-images.githubusercontent.com/35335061/129765701-73b0d778-94bc-46df-8dd2-1a61cf907a6f.png) 37 | 38 | 选中Action即可在Inspector预览和编辑数据 39 | 40 | ![image](https://user-images.githubusercontent.com/35335061/129765819-c52dae7f-dc20-4717-8eda-7b87041507b1.png) 41 | 42 | 点击导出数据 43 | 44 | ![image](https://user-images.githubusercontent.com/35335061/129765861-ce8f6632-4fde-468f-b2f9-9e4fbd56537a.png) 45 | 46 | 在Scene场景新建一个游戏物体,并为其添加图中组件 47 | 48 | ![image](https://user-images.githubusercontent.com/35335061/129765931-97d830c0-9ce5-4129-aa5a-63412260eda7.png) 49 | 50 | 运行游戏,回车键为重新执行技能,空格键为暂停/恢复技能运行 51 | 52 | ## 更改内容 53 | 54 | 下列更改内容需要您手动将链接中的文件替换到Slate插件中 55 | 56 | 由于我们需要用Odin在Inpsector绘制内容,所以需要更改Slate自带的CustomEditor绘制: 57 | 58 | - [替换Plugins/ParadoxNotion/SLATE Cinematic Sequencer/Design/Editor/Inspectors/ActionClipInspector.cs](https://github.com/wqaetly/SkillEditorBasedOnSlate/blob/main/SlateChangedFiles/ActionClipInspector.cs) 59 | - [替换Plugins/ParadoxNotion/SLATE Cinematic Sequencer/Design/Editor/Inspectors/CutsceneInspector.cs](https://github.com/wqaetly/SkillEditorBasedOnSlate/blob/main/SlateChangedFiles/CutsceneInspector.cs) 60 | 61 | 由于我们为了分离数据运行时逻辑,采用了较为复杂的引用和层级关系,所以需要借助Odin的序列化,也就需要更改Slate ActionClip的继承对象为SerializedMonoBehaviour: 62 | 63 | - [替换Plugins/ParadoxNotion/SLATE Cinematic Sequencer/Directables/Clips/Runtime/ActionTrack/ActorActions/ActionClip.cs](https://github.com/wqaetly/SkillEditorBasedOnSlate/blob/main/SlateChangedFiles/ActionClip.cs) 64 | 65 | 出于个人喜好和可拓展性的考虑,重写了CutSceneEditor部分代码: 66 | - [替换Plugins/ParadoxNotion/SLATE Cinematic Sequencer/Design/Editor/Windows/CutsceneEditor.cs](https://github.com/wqaetly/SkillEditorBasedOnSlate/blob/main/SlateChangedFiles/CutsceneEditor.cs) 67 | 68 | 现在支持从搜索栏左侧的加号按钮新增Group 69 | 70 | ![image](https://user-images.githubusercontent.com/35335061/129744492-0dceddb1-d5d3-457e-aac3-f32bbd8f362e.png) 71 | 72 | ![image](https://user-images.githubusercontent.com/35335061/129744543-807f9024-be36-484d-8d0d-35df9cf4136a.png) 73 | -------------------------------------------------------------------------------- /Assets/Plugins/NKGSlate/Core/ST_ParadoxNotionGroup.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------ 2 | // Author: 烟雨迷离半世殇 3 | // Mail: 1778139321@qq.com 4 | // Data: 2021年8月17日 21:30:28 5 | //------------------------------------------------------------ 6 | 7 | using Slate; 8 | using UnityEngine; 9 | 10 | namespace NKGSlate 11 | { 12 | [Description("一个技能Track组,可包含多个Skill Track")] 13 | public class ST_ParadoxNotionGroup: CutsceneGroup 14 | { 15 | [SerializeField] 16 | private string _name; 17 | [SerializeField] 18 | private GameObject _actor; 19 | 20 | [SerializeField] 21 | private ActorReferenceMode _referenceMode; 22 | 23 | [SerializeField] 24 | [UnityEngine.Serialization.FormerlySerializedAs("_initialTransformation")] 25 | private ActorInitialTransformation _initialCoordinates; 26 | [SerializeField] 27 | [ShowIf("_initialCoordinates", 1)] 28 | private Vector3 _initialLocalPosition; 29 | [SerializeField] 30 | [ShowIf("_initialCoordinates", 1)] 31 | private Vector3 _initialLocalRotation; 32 | [SerializeField] 33 | [ShowIf("_initialCoordinates", 1)] 34 | private bool _displayVirtualMeshGizmo = true; 35 | 36 | public override string name { 37 | get { return string.IsNullOrEmpty(_name) ? ( actor != null ? actor.name : null ) : _name; } 38 | set { _name = value; } 39 | } 40 | 41 | public override GameObject actor { 42 | get { return base.ResolveActor(_actor); } 43 | set 44 | { 45 | if ( _actor != value ) { 46 | _actor = value; 47 | 48 | #if UNITY_EDITOR 49 | if ( value != null && !Application.isPlaying ) { 50 | if ( UnityEditor.EditorUtility.IsPersistent(value) ) { 51 | referenceMode = ActorReferenceMode.UseInstanceHideOriginal; 52 | initialTransformation = ActorInitialTransformation.UseLocal; 53 | 54 | } 55 | } 56 | #endif 57 | 58 | } 59 | } 60 | } 61 | 62 | public override ActorReferenceMode referenceMode { 63 | get { return _referenceMode; } 64 | set { _referenceMode = value; } 65 | } 66 | 67 | public override ActorInitialTransformation initialTransformation { 68 | get { return _initialCoordinates; } 69 | set { _initialCoordinates = value; } 70 | } 71 | 72 | public override Vector3 initialLocalPosition { 73 | get { return _initialLocalPosition; } 74 | set { _initialLocalPosition = value; } 75 | } 76 | 77 | public override Vector3 initialLocalRotation { 78 | get { return _initialLocalRotation; } 79 | set { _initialLocalRotation = value; } 80 | } 81 | 82 | public override bool displayVirtualMeshGizmo { 83 | get { return _displayVirtualMeshGizmo; } 84 | set { _displayVirtualMeshGizmo = value; } 85 | } 86 | } 87 | } -------------------------------------------------------------------------------- /Assets/NKGSlate/Sample/Cube.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &2910366045333253820 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 4401718731657747931} 12 | - component: {fileID: 5539753936731224180} 13 | - component: {fileID: 5199981875593809260} 14 | - component: {fileID: 5791436609237515918} 15 | m_Layer: 0 16 | m_Name: Cube 17 | m_TagString: Untagged 18 | m_Icon: {fileID: 0} 19 | m_NavMeshLayer: 0 20 | m_StaticEditorFlags: 0 21 | m_IsActive: 1 22 | --- !u!4 &4401718731657747931 23 | Transform: 24 | m_ObjectHideFlags: 0 25 | m_CorrespondingSourceObject: {fileID: 0} 26 | m_PrefabInstance: {fileID: 0} 27 | m_PrefabAsset: {fileID: 0} 28 | m_GameObject: {fileID: 2910366045333253820} 29 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 30 | m_LocalPosition: {x: 0, y: 0, z: 0} 31 | m_LocalScale: {x: 1, y: 1, z: 1} 32 | m_Children: [] 33 | m_Father: {fileID: 0} 34 | m_RootOrder: 0 35 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 36 | --- !u!33 &5539753936731224180 37 | MeshFilter: 38 | m_ObjectHideFlags: 0 39 | m_CorrespondingSourceObject: {fileID: 0} 40 | m_PrefabInstance: {fileID: 0} 41 | m_PrefabAsset: {fileID: 0} 42 | m_GameObject: {fileID: 2910366045333253820} 43 | m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} 44 | --- !u!23 &5199981875593809260 45 | MeshRenderer: 46 | m_ObjectHideFlags: 0 47 | m_CorrespondingSourceObject: {fileID: 0} 48 | m_PrefabInstance: {fileID: 0} 49 | m_PrefabAsset: {fileID: 0} 50 | m_GameObject: {fileID: 2910366045333253820} 51 | m_Enabled: 1 52 | m_CastShadows: 1 53 | m_ReceiveShadows: 1 54 | m_DynamicOccludee: 1 55 | m_MotionVectors: 1 56 | m_LightProbeUsage: 1 57 | m_ReflectionProbeUsage: 1 58 | m_RayTracingMode: 2 59 | m_RayTraceProcedural: 0 60 | m_RenderingLayerMask: 1 61 | m_RendererPriority: 0 62 | m_Materials: 63 | - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} 64 | m_StaticBatchInfo: 65 | firstSubMesh: 0 66 | subMeshCount: 0 67 | m_StaticBatchRoot: {fileID: 0} 68 | m_ProbeAnchor: {fileID: 0} 69 | m_LightProbeVolumeOverride: {fileID: 0} 70 | m_ScaleInLightmap: 1 71 | m_ReceiveGI: 1 72 | m_PreserveUVs: 0 73 | m_IgnoreNormalsForChartDetection: 0 74 | m_ImportantGI: 0 75 | m_StitchLightmapSeams: 1 76 | m_SelectedEditorRenderState: 3 77 | m_MinimumChartSize: 4 78 | m_AutoUVMaxDistance: 0.5 79 | m_AutoUVMaxAngle: 89 80 | m_LightmapParameters: {fileID: 0} 81 | m_SortingLayerID: 0 82 | m_SortingLayer: 0 83 | m_SortingOrder: 0 84 | m_AdditionalVertexStreams: {fileID: 0} 85 | --- !u!65 &5791436609237515918 86 | BoxCollider: 87 | m_ObjectHideFlags: 0 88 | m_CorrespondingSourceObject: {fileID: 0} 89 | m_PrefabInstance: {fileID: 0} 90 | m_PrefabAsset: {fileID: 0} 91 | m_GameObject: {fileID: 2910366045333253820} 92 | m_Material: {fileID: 0} 93 | m_IsTrigger: 0 94 | m_Enabled: 1 95 | serializedVersion: 2 96 | m_Size: {x: 1, y: 1, z: 1} 97 | m_Center: {x: 0, y: 0, z: 0} 98 | -------------------------------------------------------------------------------- /ProjectSettings/SceneTemplateSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "templatePinStates": [], 3 | "dependencyTypeInfos": [ 4 | { 5 | "userAdded": false, 6 | "type": "UnityEngine.AnimationClip", 7 | "ignore": false, 8 | "defaultInstantiationMode": 0, 9 | "supportsModification": true 10 | }, 11 | { 12 | "userAdded": false, 13 | "type": "UnityEditor.Animations.AnimatorController", 14 | "ignore": false, 15 | "defaultInstantiationMode": 0, 16 | "supportsModification": true 17 | }, 18 | { 19 | "userAdded": false, 20 | "type": "UnityEngine.AnimatorOverrideController", 21 | "ignore": false, 22 | "defaultInstantiationMode": 0, 23 | "supportsModification": true 24 | }, 25 | { 26 | "userAdded": false, 27 | "type": "UnityEditor.Audio.AudioMixerController", 28 | "ignore": false, 29 | "defaultInstantiationMode": 0, 30 | "supportsModification": true 31 | }, 32 | { 33 | "userAdded": false, 34 | "type": "UnityEngine.ComputeShader", 35 | "ignore": true, 36 | "defaultInstantiationMode": 1, 37 | "supportsModification": true 38 | }, 39 | { 40 | "userAdded": false, 41 | "type": "UnityEngine.Cubemap", 42 | "ignore": false, 43 | "defaultInstantiationMode": 0, 44 | "supportsModification": true 45 | }, 46 | { 47 | "userAdded": false, 48 | "type": "UnityEngine.GameObject", 49 | "ignore": false, 50 | "defaultInstantiationMode": 0, 51 | "supportsModification": true 52 | }, 53 | { 54 | "userAdded": false, 55 | "type": "UnityEditor.LightingDataAsset", 56 | "ignore": false, 57 | "defaultInstantiationMode": 0, 58 | "supportsModification": false 59 | }, 60 | { 61 | "userAdded": false, 62 | "type": "UnityEngine.LightingSettings", 63 | "ignore": false, 64 | "defaultInstantiationMode": 0, 65 | "supportsModification": true 66 | }, 67 | { 68 | "userAdded": false, 69 | "type": "UnityEngine.Material", 70 | "ignore": false, 71 | "defaultInstantiationMode": 0, 72 | "supportsModification": true 73 | }, 74 | { 75 | "userAdded": false, 76 | "type": "UnityEditor.MonoScript", 77 | "ignore": true, 78 | "defaultInstantiationMode": 1, 79 | "supportsModification": true 80 | }, 81 | { 82 | "userAdded": false, 83 | "type": "UnityEngine.PhysicMaterial", 84 | "ignore": false, 85 | "defaultInstantiationMode": 0, 86 | "supportsModification": true 87 | }, 88 | { 89 | "userAdded": false, 90 | "type": "UnityEngine.PhysicsMaterial2D", 91 | "ignore": false, 92 | "defaultInstantiationMode": 0, 93 | "supportsModification": true 94 | }, 95 | { 96 | "userAdded": false, 97 | "type": "UnityEngine.Rendering.PostProcessing.PostProcessProfile", 98 | "ignore": false, 99 | "defaultInstantiationMode": 0, 100 | "supportsModification": true 101 | }, 102 | { 103 | "userAdded": false, 104 | "type": "UnityEngine.Rendering.PostProcessing.PostProcessResources", 105 | "ignore": false, 106 | "defaultInstantiationMode": 0, 107 | "supportsModification": true 108 | }, 109 | { 110 | "userAdded": false, 111 | "type": "UnityEngine.Rendering.VolumeProfile", 112 | "ignore": false, 113 | "defaultInstantiationMode": 0, 114 | "supportsModification": true 115 | }, 116 | { 117 | "userAdded": false, 118 | "type": "UnityEditor.SceneAsset", 119 | "ignore": false, 120 | "defaultInstantiationMode": 0, 121 | "supportsModification": false 122 | }, 123 | { 124 | "userAdded": false, 125 | "type": "UnityEngine.Shader", 126 | "ignore": true, 127 | "defaultInstantiationMode": 1, 128 | "supportsModification": true 129 | }, 130 | { 131 | "userAdded": false, 132 | "type": "UnityEngine.ShaderVariantCollection", 133 | "ignore": true, 134 | "defaultInstantiationMode": 1, 135 | "supportsModification": true 136 | }, 137 | { 138 | "userAdded": false, 139 | "type": "UnityEngine.Texture", 140 | "ignore": false, 141 | "defaultInstantiationMode": 0, 142 | "supportsModification": true 143 | }, 144 | { 145 | "userAdded": false, 146 | "type": "UnityEngine.Texture2D", 147 | "ignore": false, 148 | "defaultInstantiationMode": 0, 149 | "supportsModification": true 150 | }, 151 | { 152 | "userAdded": false, 153 | "type": "UnityEngine.Timeline.TimelineAsset", 154 | "ignore": false, 155 | "defaultInstantiationMode": 0, 156 | "supportsModification": true 157 | } 158 | ], 159 | "defaultDependencyTypeInfo": { 160 | "userAdded": false, 161 | "type": "", 162 | "ignore": false, 163 | "defaultInstantiationMode": 1, 164 | "supportsModification": true 165 | }, 166 | "newSceneOverride": 0 167 | } -------------------------------------------------------------------------------- /Assets/NKGSlate/Core/Systems/Base/ST_Director.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------ 2 | // Author: 烟雨迷离半世殇 3 | // Mail: 1778139321@qq.com 4 | // Data: 2021年7月25日 17:25:41 5 | //------------------------------------------------------------ 6 | 7 | using System; 8 | using System.Collections.Generic; 9 | using System.Linq; 10 | using UnityEngine; 11 | 12 | namespace NKGSlate.Runtime 13 | { 14 | public class ST_Director 15 | { 16 | /// 17 | /// 一个导演只能导一部片子 18 | /// 19 | private ST_CutSceneData m_TargetCutSceneData; 20 | 21 | /// 22 | /// 每个导演自己管理一个CurrentFrame,用于处理顿帧的情况 23 | /// 24 | public uint CurrentFrame; 25 | 26 | private uint m_PreviousFrame; 27 | private uint m_MaxFrame; 28 | public bool HasPaused; 29 | public bool HasExited; 30 | public bool HasInited; 31 | 32 | /// 33 | /// 已排序的全部时间节点,之所以排序是因为前置触发可能会影响后续触发的条件 34 | /// 35 | private List m_TimePoints; 36 | 37 | /// 38 | /// 未排序的开始时间节点,之所以不需要排序,是因为在其Tick之前,m_TimePoints已经处理了进入/退出时触发的逻辑 39 | /// 所以这里只要条件符合,就可以进行乱序Tick 40 | /// 41 | private List m_UnsortedTimePoints; 42 | 43 | /// 44 | /// 从头开始播放 45 | /// 46 | /// 47 | public void BeginPlay(uint currentFrame, ST_CutSceneData targetCustSceneData) 48 | { 49 | m_TargetCutSceneData = targetCustSceneData; 50 | InitializeTimePointers(currentFrame); 51 | HasInited = true; 52 | HasPaused = false; 53 | HasExited = false; 54 | } 55 | 56 | /// 57 | /// 暂停播放 58 | /// 59 | public void Pause() 60 | { 61 | HasPaused = true; 62 | } 63 | 64 | /// 65 | /// 停止播放 66 | /// 67 | public void Stop() 68 | { 69 | HasExited = true; 70 | } 71 | 72 | /// 73 | /// 从暂停恢复播放 74 | /// 75 | public void Resume() 76 | { 77 | HasPaused = false; 78 | } 79 | 80 | /// 81 | /// 对Group进行Tick 82 | /// 83 | /// 当前帧数 84 | public void Sample(uint currentFrame) 85 | { 86 | if (HasPaused || HasExited || !HasInited) return; 87 | 88 | Internal_SamplePointers(currentFrame, m_PreviousFrame); 89 | m_PreviousFrame = currentFrame; 90 | } 91 | 92 | 93 | private void InitializeTimePointers(uint currentFrame) 94 | { 95 | m_TimePoints = new List(); 96 | m_UnsortedTimePoints = new List(); 97 | 98 | foreach (ST_GroupData stGroupData in m_TargetCutSceneData.GroupDatas.AsEnumerable().Reverse()) 99 | { 100 | ST_Group stGroup = new ST_Group(); 101 | 102 | if (stGroup.Initialize(currentFrame, stGroupData)) 103 | { 104 | var p1 = new ST_StartTimePoint(stGroup); 105 | m_TimePoints.Add(p1); 106 | 107 | foreach (ST_TrackData stTrackData in stGroupData.TrackDatas.AsEnumerable().Reverse()) 108 | { 109 | ST_Track stTrack = new ST_Track(); 110 | 111 | if (stTrack.Initialize(currentFrame, stTrackData)) 112 | { 113 | var p2 = new ST_StartTimePoint(stTrack); 114 | m_TimePoints.Add(p2); 115 | 116 | foreach (ST_ActionData stActionData in stTrackData.ActionDatas) 117 | { 118 | ST_IDirectable stAction = 119 | Activator.CreateInstance(SlateEntry.TypeInfos[stActionData.GetType()]) as 120 | ST_IDirectable; 121 | 122 | if (stAction.Initialize(currentFrame, stActionData)) 123 | { 124 | var p3 = new ST_StartTimePoint(stAction); 125 | m_TimePoints.Add(p3); 126 | 127 | m_UnsortedTimePoints.Add(p3); 128 | m_TimePoints.Add(new ST_EndTimePoint(stAction)); 129 | } 130 | } 131 | 132 | m_UnsortedTimePoints.Add(p2); 133 | m_TimePoints.Add(new ST_EndTimePoint(stTrack)); 134 | } 135 | } 136 | 137 | m_UnsortedTimePoints.Add(p1); 138 | m_TimePoints.Add(new ST_EndTimePoint(stGroup)); 139 | } 140 | } 141 | 142 | m_TimePoints = m_TimePoints.OrderBy(p => p.TriggerFrame).ToList(); 143 | } 144 | 145 | private void Internal_SamplePointers(uint currentTime, uint previousTime) 146 | { 147 | if (currentTime > previousTime) 148 | { 149 | foreach (var t in m_TimePoints) 150 | { 151 | try 152 | { 153 | t.TriggerForward(currentTime, previousTime); 154 | } 155 | catch (System.Exception e) 156 | { 157 | Debug.LogException(e); 158 | } 159 | } 160 | } 161 | 162 | foreach (var t in m_UnsortedTimePoints) 163 | { 164 | try 165 | { 166 | t.Update(currentTime, previousTime); 167 | } 168 | catch (System.Exception e) 169 | { 170 | Debug.LogException(e); 171 | } 172 | } 173 | } 174 | } 175 | } -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!13 &1 4 | InputManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Axes: 8 | - serializedVersion: 3 9 | m_Name: Horizontal 10 | descriptiveName: 11 | descriptiveNegativeName: 12 | negativeButton: left 13 | positiveButton: right 14 | altNegativeButton: a 15 | altPositiveButton: d 16 | gravity: 3 17 | dead: 0.001 18 | sensitivity: 3 19 | snap: 1 20 | invert: 0 21 | type: 0 22 | axis: 0 23 | joyNum: 0 24 | - serializedVersion: 3 25 | m_Name: Vertical 26 | descriptiveName: 27 | descriptiveNegativeName: 28 | negativeButton: down 29 | positiveButton: up 30 | altNegativeButton: s 31 | altPositiveButton: w 32 | gravity: 3 33 | dead: 0.001 34 | sensitivity: 3 35 | snap: 1 36 | invert: 0 37 | type: 0 38 | axis: 0 39 | joyNum: 0 40 | - serializedVersion: 3 41 | m_Name: Fire1 42 | descriptiveName: 43 | descriptiveNegativeName: 44 | negativeButton: 45 | positiveButton: left ctrl 46 | altNegativeButton: 47 | altPositiveButton: mouse 0 48 | gravity: 1000 49 | dead: 0.001 50 | sensitivity: 1000 51 | snap: 0 52 | invert: 0 53 | type: 0 54 | axis: 0 55 | joyNum: 0 56 | - serializedVersion: 3 57 | m_Name: Fire2 58 | descriptiveName: 59 | descriptiveNegativeName: 60 | negativeButton: 61 | positiveButton: left alt 62 | altNegativeButton: 63 | altPositiveButton: mouse 1 64 | gravity: 1000 65 | dead: 0.001 66 | sensitivity: 1000 67 | snap: 0 68 | invert: 0 69 | type: 0 70 | axis: 0 71 | joyNum: 0 72 | - serializedVersion: 3 73 | m_Name: Fire3 74 | descriptiveName: 75 | descriptiveNegativeName: 76 | negativeButton: 77 | positiveButton: left shift 78 | altNegativeButton: 79 | altPositiveButton: mouse 2 80 | gravity: 1000 81 | dead: 0.001 82 | sensitivity: 1000 83 | snap: 0 84 | invert: 0 85 | type: 0 86 | axis: 0 87 | joyNum: 0 88 | - serializedVersion: 3 89 | m_Name: Jump 90 | descriptiveName: 91 | descriptiveNegativeName: 92 | negativeButton: 93 | positiveButton: space 94 | altNegativeButton: 95 | altPositiveButton: 96 | gravity: 1000 97 | dead: 0.001 98 | sensitivity: 1000 99 | snap: 0 100 | invert: 0 101 | type: 0 102 | axis: 0 103 | joyNum: 0 104 | - serializedVersion: 3 105 | m_Name: Mouse X 106 | descriptiveName: 107 | descriptiveNegativeName: 108 | negativeButton: 109 | positiveButton: 110 | altNegativeButton: 111 | altPositiveButton: 112 | gravity: 0 113 | dead: 0 114 | sensitivity: 0.1 115 | snap: 0 116 | invert: 0 117 | type: 1 118 | axis: 0 119 | joyNum: 0 120 | - serializedVersion: 3 121 | m_Name: Mouse Y 122 | descriptiveName: 123 | descriptiveNegativeName: 124 | negativeButton: 125 | positiveButton: 126 | altNegativeButton: 127 | altPositiveButton: 128 | gravity: 0 129 | dead: 0 130 | sensitivity: 0.1 131 | snap: 0 132 | invert: 0 133 | type: 1 134 | axis: 1 135 | joyNum: 0 136 | - serializedVersion: 3 137 | m_Name: Mouse ScrollWheel 138 | descriptiveName: 139 | descriptiveNegativeName: 140 | negativeButton: 141 | positiveButton: 142 | altNegativeButton: 143 | altPositiveButton: 144 | gravity: 0 145 | dead: 0 146 | sensitivity: 0.1 147 | snap: 0 148 | invert: 0 149 | type: 1 150 | axis: 2 151 | joyNum: 0 152 | - serializedVersion: 3 153 | m_Name: Horizontal 154 | descriptiveName: 155 | descriptiveNegativeName: 156 | negativeButton: 157 | positiveButton: 158 | altNegativeButton: 159 | altPositiveButton: 160 | gravity: 0 161 | dead: 0.19 162 | sensitivity: 1 163 | snap: 0 164 | invert: 0 165 | type: 2 166 | axis: 0 167 | joyNum: 0 168 | - serializedVersion: 3 169 | m_Name: Vertical 170 | descriptiveName: 171 | descriptiveNegativeName: 172 | negativeButton: 173 | positiveButton: 174 | altNegativeButton: 175 | altPositiveButton: 176 | gravity: 0 177 | dead: 0.19 178 | sensitivity: 1 179 | snap: 0 180 | invert: 1 181 | type: 2 182 | axis: 1 183 | joyNum: 0 184 | - serializedVersion: 3 185 | m_Name: Fire1 186 | descriptiveName: 187 | descriptiveNegativeName: 188 | negativeButton: 189 | positiveButton: joystick button 0 190 | altNegativeButton: 191 | altPositiveButton: 192 | gravity: 1000 193 | dead: 0.001 194 | sensitivity: 1000 195 | snap: 0 196 | invert: 0 197 | type: 0 198 | axis: 0 199 | joyNum: 0 200 | - serializedVersion: 3 201 | m_Name: Fire2 202 | descriptiveName: 203 | descriptiveNegativeName: 204 | negativeButton: 205 | positiveButton: joystick button 1 206 | altNegativeButton: 207 | altPositiveButton: 208 | gravity: 1000 209 | dead: 0.001 210 | sensitivity: 1000 211 | snap: 0 212 | invert: 0 213 | type: 0 214 | axis: 0 215 | joyNum: 0 216 | - serializedVersion: 3 217 | m_Name: Fire3 218 | descriptiveName: 219 | descriptiveNegativeName: 220 | negativeButton: 221 | positiveButton: joystick button 2 222 | altNegativeButton: 223 | altPositiveButton: 224 | gravity: 1000 225 | dead: 0.001 226 | sensitivity: 1000 227 | snap: 0 228 | invert: 0 229 | type: 0 230 | axis: 0 231 | joyNum: 0 232 | - serializedVersion: 3 233 | m_Name: Jump 234 | descriptiveName: 235 | descriptiveNegativeName: 236 | negativeButton: 237 | positiveButton: joystick button 3 238 | altNegativeButton: 239 | altPositiveButton: 240 | gravity: 1000 241 | dead: 0.001 242 | sensitivity: 1000 243 | snap: 0 244 | invert: 0 245 | type: 0 246 | axis: 0 247 | joyNum: 0 248 | - serializedVersion: 3 249 | m_Name: Submit 250 | descriptiveName: 251 | descriptiveNegativeName: 252 | negativeButton: 253 | positiveButton: return 254 | altNegativeButton: 255 | altPositiveButton: joystick button 0 256 | gravity: 1000 257 | dead: 0.001 258 | sensitivity: 1000 259 | snap: 0 260 | invert: 0 261 | type: 0 262 | axis: 0 263 | joyNum: 0 264 | - serializedVersion: 3 265 | m_Name: Submit 266 | descriptiveName: 267 | descriptiveNegativeName: 268 | negativeButton: 269 | positiveButton: enter 270 | altNegativeButton: 271 | altPositiveButton: space 272 | gravity: 1000 273 | dead: 0.001 274 | sensitivity: 1000 275 | snap: 0 276 | invert: 0 277 | type: 0 278 | axis: 0 279 | joyNum: 0 280 | - serializedVersion: 3 281 | m_Name: Cancel 282 | descriptiveName: 283 | descriptiveNegativeName: 284 | negativeButton: 285 | positiveButton: escape 286 | altNegativeButton: 287 | altPositiveButton: joystick button 1 288 | gravity: 1000 289 | dead: 0.001 290 | sensitivity: 1000 291 | snap: 0 292 | invert: 0 293 | type: 0 294 | axis: 0 295 | joyNum: 0 296 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 5 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Very Low 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 0 21 | blendWeights: 1 22 | textureQuality: 1 23 | anisotropicTextures: 0 24 | antiAliasing: 0 25 | softParticles: 0 26 | softVegetation: 0 27 | realtimeReflectionProbes: 0 28 | billboardsFaceCameraPosition: 0 29 | vSyncCount: 0 30 | lodBias: 0.3 31 | maximumLODLevel: 0 32 | streamingMipmapsActive: 0 33 | streamingMipmapsAddAllCameras: 1 34 | streamingMipmapsMemoryBudget: 512 35 | streamingMipmapsRenderersPerFrame: 512 36 | streamingMipmapsMaxLevelReduction: 2 37 | streamingMipmapsMaxFileIORequests: 1024 38 | particleRaycastBudget: 4 39 | asyncUploadTimeSlice: 2 40 | asyncUploadBufferSize: 16 41 | asyncUploadPersistentBuffer: 1 42 | resolutionScalingFixedDPIFactor: 1 43 | excludedTargetPlatforms: [] 44 | - serializedVersion: 2 45 | name: Low 46 | pixelLightCount: 0 47 | shadows: 0 48 | shadowResolution: 0 49 | shadowProjection: 1 50 | shadowCascades: 1 51 | shadowDistance: 20 52 | shadowNearPlaneOffset: 3 53 | shadowCascade2Split: 0.33333334 54 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 55 | shadowmaskMode: 0 56 | blendWeights: 2 57 | textureQuality: 0 58 | anisotropicTextures: 0 59 | antiAliasing: 0 60 | softParticles: 0 61 | softVegetation: 0 62 | realtimeReflectionProbes: 0 63 | billboardsFaceCameraPosition: 0 64 | vSyncCount: 0 65 | lodBias: 0.4 66 | maximumLODLevel: 0 67 | streamingMipmapsActive: 0 68 | streamingMipmapsAddAllCameras: 1 69 | streamingMipmapsMemoryBudget: 512 70 | streamingMipmapsRenderersPerFrame: 512 71 | streamingMipmapsMaxLevelReduction: 2 72 | streamingMipmapsMaxFileIORequests: 1024 73 | particleRaycastBudget: 16 74 | asyncUploadTimeSlice: 2 75 | asyncUploadBufferSize: 16 76 | asyncUploadPersistentBuffer: 1 77 | resolutionScalingFixedDPIFactor: 1 78 | excludedTargetPlatforms: [] 79 | - serializedVersion: 2 80 | name: Medium 81 | pixelLightCount: 1 82 | shadows: 1 83 | shadowResolution: 0 84 | shadowProjection: 1 85 | shadowCascades: 1 86 | shadowDistance: 20 87 | shadowNearPlaneOffset: 3 88 | shadowCascade2Split: 0.33333334 89 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 90 | shadowmaskMode: 0 91 | blendWeights: 2 92 | textureQuality: 0 93 | anisotropicTextures: 1 94 | antiAliasing: 0 95 | softParticles: 0 96 | softVegetation: 0 97 | realtimeReflectionProbes: 0 98 | billboardsFaceCameraPosition: 0 99 | vSyncCount: 1 100 | lodBias: 0.7 101 | maximumLODLevel: 0 102 | streamingMipmapsActive: 0 103 | streamingMipmapsAddAllCameras: 1 104 | streamingMipmapsMemoryBudget: 512 105 | streamingMipmapsRenderersPerFrame: 512 106 | streamingMipmapsMaxLevelReduction: 2 107 | streamingMipmapsMaxFileIORequests: 1024 108 | particleRaycastBudget: 64 109 | asyncUploadTimeSlice: 2 110 | asyncUploadBufferSize: 16 111 | asyncUploadPersistentBuffer: 1 112 | resolutionScalingFixedDPIFactor: 1 113 | excludedTargetPlatforms: [] 114 | - serializedVersion: 2 115 | name: High 116 | pixelLightCount: 2 117 | shadows: 2 118 | shadowResolution: 1 119 | shadowProjection: 1 120 | shadowCascades: 2 121 | shadowDistance: 40 122 | shadowNearPlaneOffset: 3 123 | shadowCascade2Split: 0.33333334 124 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 125 | shadowmaskMode: 1 126 | blendWeights: 2 127 | textureQuality: 0 128 | anisotropicTextures: 1 129 | antiAliasing: 0 130 | softParticles: 0 131 | softVegetation: 1 132 | realtimeReflectionProbes: 1 133 | billboardsFaceCameraPosition: 1 134 | vSyncCount: 1 135 | lodBias: 1 136 | maximumLODLevel: 0 137 | streamingMipmapsActive: 0 138 | streamingMipmapsAddAllCameras: 1 139 | streamingMipmapsMemoryBudget: 512 140 | streamingMipmapsRenderersPerFrame: 512 141 | streamingMipmapsMaxLevelReduction: 2 142 | streamingMipmapsMaxFileIORequests: 1024 143 | particleRaycastBudget: 256 144 | asyncUploadTimeSlice: 2 145 | asyncUploadBufferSize: 16 146 | asyncUploadPersistentBuffer: 1 147 | resolutionScalingFixedDPIFactor: 1 148 | excludedTargetPlatforms: [] 149 | - serializedVersion: 2 150 | name: Very High 151 | pixelLightCount: 3 152 | shadows: 2 153 | shadowResolution: 2 154 | shadowProjection: 1 155 | shadowCascades: 2 156 | shadowDistance: 70 157 | shadowNearPlaneOffset: 3 158 | shadowCascade2Split: 0.33333334 159 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 160 | shadowmaskMode: 1 161 | blendWeights: 4 162 | textureQuality: 0 163 | anisotropicTextures: 2 164 | antiAliasing: 2 165 | softParticles: 1 166 | softVegetation: 1 167 | realtimeReflectionProbes: 1 168 | billboardsFaceCameraPosition: 1 169 | vSyncCount: 1 170 | lodBias: 1.5 171 | maximumLODLevel: 0 172 | streamingMipmapsActive: 0 173 | streamingMipmapsAddAllCameras: 1 174 | streamingMipmapsMemoryBudget: 512 175 | streamingMipmapsRenderersPerFrame: 512 176 | streamingMipmapsMaxLevelReduction: 2 177 | streamingMipmapsMaxFileIORequests: 1024 178 | particleRaycastBudget: 1024 179 | asyncUploadTimeSlice: 2 180 | asyncUploadBufferSize: 16 181 | asyncUploadPersistentBuffer: 1 182 | resolutionScalingFixedDPIFactor: 1 183 | excludedTargetPlatforms: [] 184 | - serializedVersion: 2 185 | name: Ultra 186 | pixelLightCount: 4 187 | shadows: 2 188 | shadowResolution: 2 189 | shadowProjection: 1 190 | shadowCascades: 4 191 | shadowDistance: 150 192 | shadowNearPlaneOffset: 3 193 | shadowCascade2Split: 0.33333334 194 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 195 | shadowmaskMode: 1 196 | blendWeights: 4 197 | textureQuality: 0 198 | anisotropicTextures: 2 199 | antiAliasing: 2 200 | softParticles: 1 201 | softVegetation: 1 202 | realtimeReflectionProbes: 1 203 | billboardsFaceCameraPosition: 1 204 | vSyncCount: 1 205 | lodBias: 2 206 | maximumLODLevel: 0 207 | streamingMipmapsActive: 0 208 | streamingMipmapsAddAllCameras: 1 209 | streamingMipmapsMemoryBudget: 512 210 | streamingMipmapsRenderersPerFrame: 512 211 | streamingMipmapsMaxLevelReduction: 2 212 | streamingMipmapsMaxFileIORequests: 1024 213 | particleRaycastBudget: 4096 214 | asyncUploadTimeSlice: 2 215 | asyncUploadBufferSize: 16 216 | asyncUploadPersistentBuffer: 1 217 | resolutionScalingFixedDPIFactor: 1 218 | excludedTargetPlatforms: [] 219 | m_PerPlatformDefaultQuality: 220 | Android: 2 221 | Lumin: 5 222 | Nintendo 3DS: 5 223 | Nintendo Switch: 5 224 | PS4: 5 225 | PSP2: 2 226 | Stadia: 5 227 | Standalone: 5 228 | WebGL: 3 229 | Windows Store Apps: 5 230 | XboxOne: 5 231 | iPhone: 2 232 | tvOS: 2 233 | -------------------------------------------------------------------------------- /SlateChangedFiles/CutsceneInspector.cs: -------------------------------------------------------------------------------- 1 | #if UNITY_EDITOR 2 | 3 | using UnityEditor; 4 | using UnityEngine; 5 | using System.Collections; 6 | using System.Collections.Generic; 7 | using System.Reflection; 8 | using System.Linq; 9 | using Sirenix.OdinInspector.Editor; 10 | 11 | namespace Slate 12 | { 13 | [CustomEditor(typeof(Cutscene), true)] 14 | public class CutsceneInspector : OdinEditor 15 | { 16 | private bool optionsFold = true; 17 | private bool actorsFold = false; 18 | 19 | private static Cutscene cutscene; 20 | private static bool willResample; 21 | private static bool willDirty; 22 | private static Dictionary directableEditors = new Dictionary(); 23 | private static Editor currentDirectableEditor; 24 | 25 | //... 26 | void OnEnable() 27 | { 28 | currentDirectableEditor = null; 29 | cutscene = (Cutscene) target; 30 | willResample = false; 31 | willDirty = false; 32 | } 33 | 34 | //... 35 | void OnDisable() 36 | { 37 | DestroyImmediate(currentDirectableEditor); 38 | foreach (var pair in directableEditors) 39 | { 40 | DestroyImmediate(pair.Value); 41 | } 42 | 43 | currentDirectableEditor = null; 44 | directableEditors.Clear(); 45 | cutscene = null; 46 | willResample = false; 47 | willDirty = false; 48 | } 49 | 50 | //... 51 | public override void OnInspectorGUI() 52 | { 53 | cutscene = (Cutscene) target; 54 | 55 | if (UnityEditor.EditorUtility.IsPersistent(cutscene)) 56 | { 57 | EditorGUILayout.HelpBox("To edit a cutscene prefab please open it first.", MessageType.Info); 58 | return; 59 | } 60 | 61 | var e = Event.current; 62 | GUI.skin.GetStyle("label").richText = true; 63 | 64 | if (e.rawType == EventType.MouseDown && e.button == 0) 65 | { 66 | //generic undo 67 | Undo.RegisterFullObjectHierarchyUndo(cutscene.groupsRoot.gameObject, "Cutscene Inspector"); 68 | Undo.RecordObject(cutscene, "Cutscene Inspector"); 69 | willDirty = true; 70 | } 71 | 72 | if (e.rawType == EventType.MouseUp && e.button == 0 || e.rawType == EventType.KeyUp) 73 | { 74 | willDirty = true; 75 | if (CutsceneUtility.selectedObject != null && 76 | CutsceneUtility.selectedObject.startTime <= cutscene.currentTime) 77 | { 78 | willResample = true; 79 | } 80 | } 81 | 82 | GUILayout.Space(5); 83 | if (GUILayout.Button("EDIT IN SLATE")) 84 | { 85 | CutsceneEditor.ShowWindow(cutscene); 86 | } 87 | 88 | GUILayout.Space(5); 89 | 90 | DoCutsceneInspector(); 91 | DoSelectionInspector(); 92 | 93 | if (willDirty) 94 | { 95 | willDirty = false; 96 | EditorUtility.SetDirty(cutscene); 97 | if (CutsceneUtility.selectedObject as UnityEngine.Object != null) 98 | { 99 | EditorUtility.SetDirty((UnityEngine.Object) CutsceneUtility.selectedObject); 100 | } 101 | } 102 | 103 | if (willResample) 104 | { 105 | //resample after the changes on fresh gui pass 106 | willResample = false; 107 | //delaycall so that other gui controls are finalized before resample. 108 | EditorApplication.delayCall += () => 109 | { 110 | if (cutscene != null) cutscene.ReSample(); 111 | }; 112 | } 113 | 114 | Repaint(); 115 | } 116 | 117 | //Show cutscene options 118 | void DoCutsceneInspector() 119 | { 120 | GUI.color = new Color(0, 0, 0, 0.2f); 121 | GUILayout.BeginHorizontal(Slate.Styles.headerBoxStyle); 122 | GUI.color = Color.white; 123 | GUILayout.Label(string.Format("{0} Cutscene Settings", optionsFold ? "▼" : "▶")); 124 | GUILayout.EndHorizontal(); 125 | 126 | var lastRect = GUILayoutUtility.GetLastRect(); 127 | EditorGUIUtility.AddCursorRect(lastRect, MouseCursor.Link); 128 | if (Event.current.type == EventType.MouseDown && lastRect.Contains(Event.current.mousePosition)) 129 | { 130 | optionsFold = !optionsFold; 131 | Event.current.Use(); 132 | } 133 | 134 | GUILayout.Space(2); 135 | if (optionsFold) 136 | { 137 | base.OnInspectorGUI(); 138 | 139 | DoActorsInspector(); 140 | } 141 | } 142 | 143 | //Show bound actors 144 | void DoActorsInspector() 145 | { 146 | actorsFold = EditorGUILayout.Foldout(actorsFold, "Affected Group Actors"); 147 | GUI.enabled = cutscene.currentTime == 0; 148 | if (actorsFold) 149 | { 150 | EditorGUI.indentLevel++; 151 | var exists = false; 152 | foreach (var group in cutscene.groups.OfType()) 153 | { 154 | var name = string.IsNullOrEmpty(group.name) ? "(No Name Specified)" : group.name; 155 | group.actor = 156 | EditorGUILayout.ObjectField(name, group.actor, typeof(GameObject), true) as GameObject; 157 | exists = true; 158 | } 159 | 160 | if (!exists) 161 | { 162 | GUILayout.Label("No Actor Groups"); 163 | } 164 | 165 | EditorGUI.indentLevel--; 166 | } 167 | 168 | GUI.enabled = true; 169 | } 170 | 171 | //Show selection inspector 172 | static void DoSelectionInspector() 173 | { 174 | var selection = CutsceneUtility.selectedObject as Object; //cast object 175 | if (currentDirectableEditor != null && (currentDirectableEditor.target != selection || selection == null)) 176 | { 177 | var disableMethod = currentDirectableEditor.GetType().GetMethod("OnDisable", 178 | BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | 179 | BindingFlags.FlattenHierarchy); 180 | if (disableMethod != null) 181 | { 182 | disableMethod.Invoke(currentDirectableEditor, null); 183 | } 184 | } 185 | 186 | if (selection == null) 187 | { 188 | currentDirectableEditor = null; 189 | return; 190 | } 191 | 192 | Editor newEditor = null; 193 | if (!directableEditors.TryGetValue(selection, out newEditor)) 194 | { 195 | directableEditors[selection] = newEditor = Editor.CreateEditor(selection); 196 | } 197 | 198 | if (currentDirectableEditor != newEditor) 199 | { 200 | var enableMethod = newEditor.GetType().GetMethod("OnEnable", 201 | BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | 202 | BindingFlags.FlattenHierarchy); 203 | if (enableMethod != null) 204 | { 205 | enableMethod.Invoke(newEditor, null); 206 | } 207 | 208 | currentDirectableEditor = newEditor; 209 | } 210 | 211 | EditorTools.BoldSeparator(); 212 | GUILayout.Space(4); 213 | ShowPreliminaryInspector(); 214 | currentDirectableEditor.OnInspectorGUI(); 215 | } 216 | 217 | //Show basic stuff 218 | static void ShowPreliminaryInspector() 219 | { 220 | var type = CutsceneUtility.selectedObject.GetType(); 221 | var nameAtt = type.GetCustomAttributes(typeof(NameAttribute), false).FirstOrDefault() as NameAttribute; 222 | var name = nameAtt != null ? nameAtt.name : type.Name.SplitCamelCase(); 223 | var withinRange = cutscene.currentTime > 0 && 224 | cutscene.currentTime >= CutsceneUtility.selectedObject.startTime && 225 | cutscene.currentTime <= CutsceneUtility.selectedObject.endTime; 226 | var keyable = CutsceneUtility.selectedObject is IKeyable && 227 | (CutsceneUtility.selectedObject as IKeyable).animationData != null && 228 | (CutsceneUtility.selectedObject as IKeyable).animationData.isValid; 229 | var isActive = CutsceneUtility.selectedObject.isActive; 230 | 231 | GUI.color = new Color(0, 0, 0, 0.2f); 232 | GUILayout.BeginHorizontal(Slate.Styles.headerBoxStyle); 233 | GUI.color = Color.white; 234 | GUILayout.Label(string.Format("{0}{1}", 235 | withinRange && keyable && isActive ? "● " : "", name)); 236 | GUI.backgroundColor = default(Color); 237 | var clip = CutsceneUtility.selectedObject as ActionClip; 238 | if (clip != null && GUILayout.Button(Styles.gearIcon, GUILayout.Width(40))) 239 | { 240 | var menu = new GenericMenu(); 241 | menu.AddItem(new GUIContent("Copy Values"), false, () => { CutsceneUtility.CopyClipValues(clip); }); 242 | menu.AddItem(new GUIContent("Paste Values"), false, () => { CutsceneUtility.PasteClipValues(clip); }); 243 | menu.ShowAsContext(); 244 | } 245 | 246 | GUI.backgroundColor = Color.white; 247 | GUILayout.EndHorizontal(); 248 | 249 | if (Prefs.showDescriptions) 250 | { 251 | var descAtt = 252 | type.GetCustomAttributes(typeof(DescriptionAttribute), true).FirstOrDefault() as 253 | DescriptionAttribute; 254 | var description = descAtt != null ? descAtt.description : null; 255 | if (!string.IsNullOrEmpty(description)) 256 | { 257 | EditorGUILayout.HelpBox(description, MessageType.None); 258 | } 259 | } 260 | 261 | GUILayout.Space(2); 262 | } 263 | } 264 | } 265 | 266 | #endif -------------------------------------------------------------------------------- /SlateChangedFiles/ActionClipInspector.cs: -------------------------------------------------------------------------------- 1 | #if UNITY_EDITOR 2 | 3 | using Sirenix.OdinInspector.Editor; 4 | using UnityEditor; 5 | using UnityEngine; 6 | 7 | namespace Slate 8 | { 9 | public class ActionClipInspector : ActionClipInspector where T : ActionClip 10 | { 11 | protected T action 12 | { 13 | get { return (T) target; } 14 | } 15 | } 16 | 17 | [CustomEditor(typeof(ActionClip), true)] 18 | public class ActionClipInspector : OdinEditor 19 | { 20 | private ActionClip action 21 | { 22 | get { return (ActionClip) target; } 23 | } 24 | 25 | public override void OnInspectorGUI() 26 | { 27 | ShowCommonInspector(); 28 | ShowAnimatableParameters(); 29 | if (GUI.changed) 30 | { 31 | action.Validate(); 32 | } 33 | } 34 | 35 | protected void ShowCommonInspector(bool showBaseInspector = true) 36 | { 37 | ShowErrors(); 38 | ShowInOutControls(); 39 | ShowBlendingControls(); 40 | if (showBaseInspector) 41 | { 42 | base.OnInspectorGUI(); 43 | } 44 | 45 | ShowSubClipGUI(); 46 | } 47 | 48 | //In case this is ISubClipContainable shows button to set length at subclip length 49 | protected void ShowSubClipGUI() 50 | { 51 | var subContainable = action as ISubClipContainable; 52 | if (subContainable != null && subContainable.subClipLength > 0) 53 | { 54 | GUILayout.Space(10); 55 | 56 | GUILayout.BeginHorizontal(); 57 | 58 | if (GUILayout.Button("Match Previous Loop", EditorStyles.miniButtonLeft)) 59 | { 60 | action.TryMatchPreviousSubClipLoop(); 61 | } 62 | 63 | if (GUILayout.Button("Match Clip Length", EditorStyles.miniButtonMid)) 64 | { 65 | action.TryMatchSubClipLength(); 66 | } 67 | 68 | if (GUILayout.Button("Match Next Loop", EditorStyles.miniButtonRight)) 69 | { 70 | action.TryMatchNexSubClipLoop(); 71 | } 72 | 73 | GUILayout.EndHorizontal(); 74 | } 75 | } 76 | 77 | //Shows all animatable parameters of the clip 78 | protected void ShowAnimatableParameters() 79 | { 80 | if (action.hasParameters) 81 | { 82 | foreach (var animParam in action.animationData.animatedParameters) 83 | { 84 | //field based parameters are shown through AnimatableParameterDrawer 85 | if (animParam.isProperty || animParam.isExternal) 86 | { 87 | AnimatableParameterEditor.ShowParameter(animParam, action); 88 | } 89 | } 90 | 91 | GUILayout.Space(5); 92 | } 93 | } 94 | 95 | //Shows possible errors 96 | void ShowErrors() 97 | { 98 | if (action.actor == null) 99 | { 100 | EditorGUILayout.HelpBox("The target Actor is null.", MessageType.Error); 101 | GUILayout.Space(5); 102 | return; 103 | } 104 | 105 | if (!action.isValid) 106 | { 107 | var type = action.GetType(); 108 | while (type != null && type != typeof(ActionClip)) 109 | { 110 | var cur = type.IsGenericType ? type.GetGenericTypeDefinition() : type; 111 | if (typeof(Slate.ActionClips.ActorActionClip<>) == cur) 112 | { 113 | var requiredType = type.GetGenericArguments()[0]; 114 | if (action.actor.GetComponent(requiredType) == null) 115 | { 116 | EditorGUILayout.HelpBox( 117 | string.Format("This clip requires the actor to have the '{0}' Component", 118 | requiredType.Name), MessageType.Error); 119 | GUILayout.Space(5); 120 | } 121 | 122 | return; 123 | } 124 | 125 | type = type.BaseType; 126 | } 127 | 128 | EditorGUILayout.HelpBox( 129 | "The clip is currently invalid. Please make sure the required parameters are set.", 130 | MessageType.Error); 131 | GUILayout.Space(5); 132 | return; 133 | } 134 | } 135 | 136 | //Shows clip in/out controls 137 | void ShowInOutControls() 138 | { 139 | var previousClip = action.GetPreviousSibling(); 140 | var previousTime = previousClip != null ? previousClip.endTime : action.parent.startTime; 141 | if (action.CanCrossBlend(previousClip)) 142 | { 143 | previousTime -= Mathf.Min(action.length / 2, (previousClip.endTime - previousClip.startTime) / 2); 144 | } 145 | 146 | var nextClip = action.GetNextSibling(); 147 | var nextTime = nextClip != null ? nextClip.startTime : action.parent.endTime; 148 | if (action.CanCrossBlend(nextClip)) 149 | { 150 | nextTime += Mathf.Min(action.length / 2, (nextClip.endTime - nextClip.startTime) / 2); 151 | } 152 | 153 | var canScale = action.CanScale(); 154 | var doFrames = Prefs.timeStepMode == Prefs.TimeStepMode.Frames; 155 | 156 | GUILayout.BeginVertical((GUIStyle) "box"); 157 | GUILayout.BeginHorizontal(); 158 | 159 | var _in = action.startTime; 160 | var _length = action.length; 161 | var _out = action.endTime; 162 | 163 | if (canScale) 164 | { 165 | GUILayout.Label("IN", GUILayout.Width(30)); 166 | if (doFrames) 167 | { 168 | _in *= Prefs.frameRate; 169 | _in = (int) EditorGUILayout.DelayedIntField((int) _in, GUILayout.Width(80)); 170 | _in = _in * (1f / Prefs.frameRate); 171 | } 172 | else 173 | { 174 | _in = EditorGUILayout.DelayedFloatField(_in, GUILayout.Width(80)); 175 | } 176 | 177 | GUILayout.FlexibleSpace(); 178 | GUILayout.Label("◄"); 179 | if (doFrames) 180 | { 181 | _length *= Prefs.frameRate; 182 | _length = (int) EditorGUILayout.DelayedIntField((int) _length, GUILayout.Width(80)); 183 | _length = _length * (1f / Prefs.frameRate); 184 | } 185 | else 186 | { 187 | _length = EditorGUILayout.DelayedFloatField(_length, GUILayout.Width(80)); 188 | } 189 | 190 | GUILayout.Label("►"); 191 | GUILayout.FlexibleSpace(); 192 | 193 | GUILayout.Label("OUT", GUILayout.Width(30)); 194 | if (doFrames) 195 | { 196 | _out *= Prefs.frameRate; 197 | _out = (int) EditorGUILayout.DelayedIntField((int) _out, GUILayout.Width(80)); 198 | _out = _out * (1f / Prefs.frameRate); 199 | } 200 | else 201 | { 202 | _out = EditorGUILayout.DelayedFloatField(_out, GUILayout.Width(80)); 203 | } 204 | } 205 | 206 | GUILayout.EndHorizontal(); 207 | 208 | if (canScale) 209 | { 210 | if (_in >= action.parent.startTime && _out <= action.parent.endTime) 211 | { 212 | if (_out > _in) 213 | { 214 | EditorGUILayout.MinMaxSlider(ref _in, ref _out, previousTime, nextTime); 215 | } 216 | else 217 | { 218 | _in = EditorGUILayout.Slider(_in, previousTime, nextTime); 219 | _out = _in; 220 | } 221 | } 222 | } 223 | else 224 | { 225 | GUILayout.Label("IN", GUILayout.Width(30)); 226 | _in = EditorGUILayout.Slider(_in, 0, action.parent.endTime); 227 | _out = _in; 228 | } 229 | 230 | 231 | if (GUI.changed) 232 | { 233 | if (_length != action.length) 234 | { 235 | _out = _in + _length; 236 | } 237 | 238 | _in = Mathf.Round(_in / Prefs.snapInterval) * Prefs.snapInterval; 239 | _out = Mathf.Round(_out / Prefs.snapInterval) * Prefs.snapInterval; 240 | 241 | _in = Mathf.Clamp(_in, previousTime, _out); 242 | _out = Mathf.Clamp(_out, _in, nextClip != null ? nextTime : float.PositiveInfinity); 243 | 244 | // var deltaMove = action.startTime - _in; 245 | // foreach ( var curve in action.GetCurvesAll() ) { curve.OffsetCurveTime(deltaMove); } 246 | // CutsceneUtility.RefreshAllAnimationEditorsOf(action.animationData); 247 | // if ( action is ISubClipContainable ) { ( action as ISubClipContainable ).subClipOffset += deltaMove; } 248 | 249 | action.startTime = _in; 250 | action.endTime = _out; 251 | } 252 | 253 | if (_in > action.parent.endTime) 254 | { 255 | EditorGUILayout.HelpBox("Clip is outside of playable range", MessageType.Warning); 256 | } 257 | else 258 | { 259 | if (_out > action.parent.endTime) 260 | { 261 | EditorGUILayout.HelpBox("Clip end time is outside of playable range", MessageType.Warning); 262 | } 263 | } 264 | 265 | if (_out < action.parent.startTime) 266 | { 267 | EditorGUILayout.HelpBox("Clip is outside of playable range", MessageType.Warning); 268 | } 269 | else 270 | { 271 | if (_in < action.parent.startTime) 272 | { 273 | EditorGUILayout.HelpBox("Clip start time is outside of playable range", MessageType.Warning); 274 | } 275 | } 276 | 277 | GUILayout.EndVertical(); 278 | } 279 | 280 | //Show blending in/out controls 281 | void ShowBlendingControls() 282 | { 283 | var canBlendIn = action.CanBlendIn(); 284 | var canBlendOut = action.CanBlendOut(); 285 | if ((canBlendIn || canBlendOut) && action.length > 0) 286 | { 287 | GUILayout.BeginVertical((GUIStyle) "box"); 288 | GUILayout.BeginHorizontal(); 289 | if (canBlendIn) 290 | { 291 | GUILayout.BeginVertical(); 292 | GUILayout.Label("Blend In"); 293 | var max = action.length - action.blendOut; 294 | action.blendIn = EditorGUILayout.Slider(action.blendIn, 0, max); 295 | action.blendIn = Mathf.Clamp(action.blendIn, 0, max); 296 | GUILayout.EndVertical(); 297 | } 298 | 299 | if (canBlendOut) 300 | { 301 | GUILayout.BeginVertical(); 302 | GUILayout.Label("Blend Out"); 303 | var max = action.length - action.blendIn; 304 | action.blendOut = EditorGUILayout.Slider(action.blendOut, 0, max); 305 | action.blendOut = Mathf.Clamp(action.blendOut, 0, max); 306 | GUILayout.EndVertical(); 307 | } 308 | 309 | GUILayout.EndHorizontal(); 310 | GUILayout.EndVertical(); 311 | } 312 | } 313 | } 314 | } 315 | 316 | #endif -------------------------------------------------------------------------------- /.idea/.idea.SkillEditorBasedOnSlate/.idea/workspace.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 87 | 88 | 89 | 90 | 91 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 109 | 110 | 111 | 112 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 1629034337506 127 | 133 | 134 | 135 | 136 | 138 | 139 | 140 | 141 | 150 | 152 | 153 | 155 | -------------------------------------------------------------------------------- /Packages/packages-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.burst": { 4 | "version": "1.3.5", 5 | "depth": 2, 6 | "source": "registry", 7 | "dependencies": { 8 | "com.unity.mathematics": "1.2.1" 9 | }, 10 | "url": "https://packages.unity.cn" 11 | }, 12 | "com.unity.collab-proxy": { 13 | "version": "1.5.7", 14 | "depth": 0, 15 | "source": "registry", 16 | "dependencies": { 17 | "com.unity.nuget.newtonsoft-json": "2.0.0" 18 | }, 19 | "url": "https://packages.unity.cn" 20 | }, 21 | "com.unity.collections": { 22 | "version": "0.12.0-preview.13", 23 | "depth": 2, 24 | "source": "registry", 25 | "dependencies": { 26 | "com.unity.test-framework.performance": "2.3.1-preview", 27 | "com.unity.burst": "1.3.2" 28 | }, 29 | "url": "https://packages.unity.cn" 30 | }, 31 | "com.unity.ext.nunit": { 32 | "version": "1.0.6", 33 | "depth": 0, 34 | "source": "registry", 35 | "dependencies": {}, 36 | "url": "https://packages.unity.cn" 37 | }, 38 | "com.unity.ide.rider": { 39 | "version": "2.0.7", 40 | "depth": 0, 41 | "source": "registry", 42 | "dependencies": { 43 | "com.unity.test-framework": "1.1.1" 44 | }, 45 | "url": "https://packages.unity.cn" 46 | }, 47 | "com.unity.ide.visualstudio": { 48 | "version": "2.0.8", 49 | "depth": 0, 50 | "source": "registry", 51 | "dependencies": { 52 | "com.unity.test-framework": "1.1.9" 53 | }, 54 | "url": "https://packages.unity.cn" 55 | }, 56 | "com.unity.ide.vscode": { 57 | "version": "1.2.3", 58 | "depth": 0, 59 | "source": "registry", 60 | "dependencies": {}, 61 | "url": "https://packages.unity.cn" 62 | }, 63 | "com.unity.jobs": { 64 | "version": "0.5.0-preview.14", 65 | "depth": 2, 66 | "source": "registry", 67 | "dependencies": { 68 | "com.unity.collections": "0.12.0-preview.13", 69 | "com.unity.mathematics": "1.1.0" 70 | }, 71 | "url": "https://packages.unity.cn" 72 | }, 73 | "com.unity.mathematics": { 74 | "version": "1.2.1", 75 | "depth": 3, 76 | "source": "registry", 77 | "dependencies": {}, 78 | "url": "https://packages.unity.cn" 79 | }, 80 | "com.unity.nuget.mono-cecil": { 81 | "version": "0.1.6-preview.2", 82 | "depth": 1, 83 | "source": "registry", 84 | "dependencies": { 85 | "nuget.mono-cecil": "0.1.6-preview" 86 | }, 87 | "url": "https://packages.unity.cn" 88 | }, 89 | "com.unity.nuget.newtonsoft-json": { 90 | "version": "2.0.0", 91 | "depth": 1, 92 | "source": "registry", 93 | "dependencies": {}, 94 | "url": "https://packages.unity.cn" 95 | }, 96 | "com.unity.properties": { 97 | "version": "1.6.0-preview", 98 | "depth": 0, 99 | "source": "registry", 100 | "dependencies": { 101 | "com.unity.nuget.mono-cecil": "0.1.6-preview.2", 102 | "com.unity.test-framework.performance": "2.3.1-preview" 103 | }, 104 | "url": "https://packages.unity.cn" 105 | }, 106 | "com.unity.properties.ui": { 107 | "version": "1.6.2-preview.1", 108 | "depth": 0, 109 | "source": "registry", 110 | "dependencies": { 111 | "com.unity.properties": "1.6.0-preview", 112 | "com.unity.serialization": "1.6.1-preview", 113 | "com.unity.modules.uielements": "1.0.0" 114 | }, 115 | "url": "https://packages.unity.cn" 116 | }, 117 | "com.unity.searcher": { 118 | "version": "4.7.0-preview", 119 | "depth": 0, 120 | "source": "registry", 121 | "dependencies": {}, 122 | "url": "https://packages.unity.cn" 123 | }, 124 | "com.unity.serialization": { 125 | "version": "1.6.1-preview", 126 | "depth": 1, 127 | "source": "registry", 128 | "dependencies": { 129 | "com.unity.collections": "0.12.0-preview.13", 130 | "com.unity.burst": "1.3.5", 131 | "com.unity.jobs": "0.5.0-preview.14", 132 | "com.unity.properties": "1.6.0-preview", 133 | "com.unity.test-framework.performance": "2.3.1-preview" 134 | }, 135 | "url": "https://packages.unity.cn" 136 | }, 137 | "com.unity.test-framework": { 138 | "version": "1.1.24", 139 | "depth": 0, 140 | "source": "registry", 141 | "dependencies": { 142 | "com.unity.ext.nunit": "1.0.6", 143 | "com.unity.modules.imgui": "1.0.0", 144 | "com.unity.modules.jsonserialize": "1.0.0" 145 | }, 146 | "url": "https://packages.unity.cn" 147 | }, 148 | "com.unity.test-framework.performance": { 149 | "version": "2.3.1-preview", 150 | "depth": 1, 151 | "source": "registry", 152 | "dependencies": { 153 | "com.unity.test-framework": "1.1.0", 154 | "com.unity.nuget.newtonsoft-json": "2.0.0-preview" 155 | }, 156 | "url": "https://packages.unity.cn" 157 | }, 158 | "com.unity.textmeshpro": { 159 | "version": "3.0.6", 160 | "depth": 0, 161 | "source": "registry", 162 | "dependencies": { 163 | "com.unity.ugui": "1.0.0" 164 | }, 165 | "url": "https://packages.unity.cn" 166 | }, 167 | "com.unity.timeline": { 168 | "version": "1.4.8", 169 | "depth": 0, 170 | "source": "registry", 171 | "dependencies": { 172 | "com.unity.modules.director": "1.0.0", 173 | "com.unity.modules.animation": "1.0.0", 174 | "com.unity.modules.audio": "1.0.0", 175 | "com.unity.modules.particlesystem": "1.0.0" 176 | }, 177 | "url": "https://packages.unity.cn" 178 | }, 179 | "com.unity.ugui": { 180 | "version": "1.0.0", 181 | "depth": 1, 182 | "source": "builtin", 183 | "dependencies": { 184 | "com.unity.modules.ui": "1.0.0", 185 | "com.unity.modules.imgui": "1.0.0" 186 | } 187 | }, 188 | "nuget.castle-core": { 189 | "version": "1.0.1", 190 | "depth": 1, 191 | "source": "registry", 192 | "dependencies": {}, 193 | "url": "https://packages.unity.cn" 194 | }, 195 | "nuget.mono-cecil": { 196 | "version": "0.1.6-preview", 197 | "depth": 2, 198 | "source": "registry", 199 | "dependencies": {}, 200 | "url": "https://packages.unity.cn" 201 | }, 202 | "nuget.moq": { 203 | "version": "1.0.0", 204 | "depth": 0, 205 | "source": "registry", 206 | "dependencies": { 207 | "nuget.castle-core": "1.0.1" 208 | }, 209 | "url": "https://packages.unity.cn" 210 | }, 211 | "com.unity.modules.ai": { 212 | "version": "1.0.0", 213 | "depth": 0, 214 | "source": "builtin", 215 | "dependencies": {} 216 | }, 217 | "com.unity.modules.androidjni": { 218 | "version": "1.0.0", 219 | "depth": 0, 220 | "source": "builtin", 221 | "dependencies": {} 222 | }, 223 | "com.unity.modules.animation": { 224 | "version": "1.0.0", 225 | "depth": 0, 226 | "source": "builtin", 227 | "dependencies": {} 228 | }, 229 | "com.unity.modules.assetbundle": { 230 | "version": "1.0.0", 231 | "depth": 0, 232 | "source": "builtin", 233 | "dependencies": {} 234 | }, 235 | "com.unity.modules.audio": { 236 | "version": "1.0.0", 237 | "depth": 0, 238 | "source": "builtin", 239 | "dependencies": {} 240 | }, 241 | "com.unity.modules.cloth": { 242 | "version": "1.0.0", 243 | "depth": 0, 244 | "source": "builtin", 245 | "dependencies": { 246 | "com.unity.modules.physics": "1.0.0" 247 | } 248 | }, 249 | "com.unity.modules.director": { 250 | "version": "1.0.0", 251 | "depth": 0, 252 | "source": "builtin", 253 | "dependencies": { 254 | "com.unity.modules.audio": "1.0.0", 255 | "com.unity.modules.animation": "1.0.0" 256 | } 257 | }, 258 | "com.unity.modules.imageconversion": { 259 | "version": "1.0.0", 260 | "depth": 0, 261 | "source": "builtin", 262 | "dependencies": {} 263 | }, 264 | "com.unity.modules.imgui": { 265 | "version": "1.0.0", 266 | "depth": 0, 267 | "source": "builtin", 268 | "dependencies": {} 269 | }, 270 | "com.unity.modules.jsonserialize": { 271 | "version": "1.0.0", 272 | "depth": 0, 273 | "source": "builtin", 274 | "dependencies": {} 275 | }, 276 | "com.unity.modules.particlesystem": { 277 | "version": "1.0.0", 278 | "depth": 0, 279 | "source": "builtin", 280 | "dependencies": {} 281 | }, 282 | "com.unity.modules.physics": { 283 | "version": "1.0.0", 284 | "depth": 0, 285 | "source": "builtin", 286 | "dependencies": {} 287 | }, 288 | "com.unity.modules.physics2d": { 289 | "version": "1.0.0", 290 | "depth": 0, 291 | "source": "builtin", 292 | "dependencies": {} 293 | }, 294 | "com.unity.modules.screencapture": { 295 | "version": "1.0.0", 296 | "depth": 0, 297 | "source": "builtin", 298 | "dependencies": { 299 | "com.unity.modules.imageconversion": "1.0.0" 300 | } 301 | }, 302 | "com.unity.modules.subsystems": { 303 | "version": "1.0.0", 304 | "depth": 1, 305 | "source": "builtin", 306 | "dependencies": { 307 | "com.unity.modules.jsonserialize": "1.0.0" 308 | } 309 | }, 310 | "com.unity.modules.terrain": { 311 | "version": "1.0.0", 312 | "depth": 0, 313 | "source": "builtin", 314 | "dependencies": {} 315 | }, 316 | "com.unity.modules.terrainphysics": { 317 | "version": "1.0.0", 318 | "depth": 0, 319 | "source": "builtin", 320 | "dependencies": { 321 | "com.unity.modules.physics": "1.0.0", 322 | "com.unity.modules.terrain": "1.0.0" 323 | } 324 | }, 325 | "com.unity.modules.tilemap": { 326 | "version": "1.0.0", 327 | "depth": 0, 328 | "source": "builtin", 329 | "dependencies": { 330 | "com.unity.modules.physics2d": "1.0.0" 331 | } 332 | }, 333 | "com.unity.modules.ui": { 334 | "version": "1.0.0", 335 | "depth": 0, 336 | "source": "builtin", 337 | "dependencies": {} 338 | }, 339 | "com.unity.modules.uielements": { 340 | "version": "1.0.0", 341 | "depth": 0, 342 | "source": "builtin", 343 | "dependencies": { 344 | "com.unity.modules.ui": "1.0.0", 345 | "com.unity.modules.imgui": "1.0.0", 346 | "com.unity.modules.jsonserialize": "1.0.0", 347 | "com.unity.modules.uielementsnative": "1.0.0" 348 | } 349 | }, 350 | "com.unity.modules.uielementsnative": { 351 | "version": "1.0.0", 352 | "depth": 1, 353 | "source": "builtin", 354 | "dependencies": { 355 | "com.unity.modules.ui": "1.0.0", 356 | "com.unity.modules.imgui": "1.0.0", 357 | "com.unity.modules.jsonserialize": "1.0.0" 358 | } 359 | }, 360 | "com.unity.modules.umbra": { 361 | "version": "1.0.0", 362 | "depth": 0, 363 | "source": "builtin", 364 | "dependencies": {} 365 | }, 366 | "com.unity.modules.unityanalytics": { 367 | "version": "1.0.0", 368 | "depth": 0, 369 | "source": "builtin", 370 | "dependencies": { 371 | "com.unity.modules.unitywebrequest": "1.0.0", 372 | "com.unity.modules.jsonserialize": "1.0.0" 373 | } 374 | }, 375 | "com.unity.modules.unitywebrequest": { 376 | "version": "1.0.0", 377 | "depth": 0, 378 | "source": "builtin", 379 | "dependencies": {} 380 | }, 381 | "com.unity.modules.unitywebrequestassetbundle": { 382 | "version": "1.0.0", 383 | "depth": 0, 384 | "source": "builtin", 385 | "dependencies": { 386 | "com.unity.modules.assetbundle": "1.0.0", 387 | "com.unity.modules.unitywebrequest": "1.0.0" 388 | } 389 | }, 390 | "com.unity.modules.unitywebrequestaudio": { 391 | "version": "1.0.0", 392 | "depth": 0, 393 | "source": "builtin", 394 | "dependencies": { 395 | "com.unity.modules.unitywebrequest": "1.0.0", 396 | "com.unity.modules.audio": "1.0.0" 397 | } 398 | }, 399 | "com.unity.modules.unitywebrequesttexture": { 400 | "version": "1.0.0", 401 | "depth": 0, 402 | "source": "builtin", 403 | "dependencies": { 404 | "com.unity.modules.unitywebrequest": "1.0.0", 405 | "com.unity.modules.imageconversion": "1.0.0" 406 | } 407 | }, 408 | "com.unity.modules.unitywebrequestwww": { 409 | "version": "1.0.0", 410 | "depth": 0, 411 | "source": "builtin", 412 | "dependencies": { 413 | "com.unity.modules.unitywebrequest": "1.0.0", 414 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 415 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 416 | "com.unity.modules.audio": "1.0.0", 417 | "com.unity.modules.assetbundle": "1.0.0", 418 | "com.unity.modules.imageconversion": "1.0.0" 419 | } 420 | }, 421 | "com.unity.modules.vehicles": { 422 | "version": "1.0.0", 423 | "depth": 0, 424 | "source": "builtin", 425 | "dependencies": { 426 | "com.unity.modules.physics": "1.0.0" 427 | } 428 | }, 429 | "com.unity.modules.video": { 430 | "version": "1.0.0", 431 | "depth": 0, 432 | "source": "builtin", 433 | "dependencies": { 434 | "com.unity.modules.audio": "1.0.0", 435 | "com.unity.modules.ui": "1.0.0", 436 | "com.unity.modules.unitywebrequest": "1.0.0" 437 | } 438 | }, 439 | "com.unity.modules.vr": { 440 | "version": "1.0.0", 441 | "depth": 0, 442 | "source": "builtin", 443 | "dependencies": { 444 | "com.unity.modules.jsonserialize": "1.0.0", 445 | "com.unity.modules.physics": "1.0.0", 446 | "com.unity.modules.xr": "1.0.0" 447 | } 448 | }, 449 | "com.unity.modules.wind": { 450 | "version": "1.0.0", 451 | "depth": 0, 452 | "source": "builtin", 453 | "dependencies": {} 454 | }, 455 | "com.unity.modules.xr": { 456 | "version": "1.0.0", 457 | "depth": 0, 458 | "source": "builtin", 459 | "dependencies": { 460 | "com.unity.modules.physics": "1.0.0", 461 | "com.unity.modules.jsonserialize": "1.0.0", 462 | "com.unity.modules.subsystems": "1.0.0" 463 | } 464 | } 465 | } 466 | } 467 | -------------------------------------------------------------------------------- /Assets/NKGSlate/Sample/SampleScene.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 0 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 128 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 705507994} 41 | m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 12 47 | m_GIWorkflowMode: 1 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_EnvironmentLightingMode: 0 54 | m_EnableBakedLightmaps: 1 55 | m_EnableRealtimeLightmaps: 0 56 | m_LightmapEditorSettings: 57 | serializedVersion: 12 58 | m_Resolution: 2 59 | m_BakeResolution: 40 60 | m_AtlasSize: 1024 61 | m_AO: 0 62 | m_AOMaxDistance: 1 63 | m_CompAOExponent: 1 64 | m_CompAOExponentDirect: 0 65 | m_ExtractAmbientOcclusion: 0 66 | m_Padding: 2 67 | m_LightmapParameters: {fileID: 0} 68 | m_LightmapsBakeMode: 1 69 | m_TextureCompression: 1 70 | m_FinalGather: 0 71 | m_FinalGatherFiltering: 1 72 | m_FinalGatherRayCount: 256 73 | m_ReflectionCompression: 2 74 | m_MixedBakeMode: 2 75 | m_BakeBackend: 1 76 | m_PVRSampling: 1 77 | m_PVRDirectSampleCount: 32 78 | m_PVRSampleCount: 500 79 | m_PVRBounces: 2 80 | m_PVREnvironmentSampleCount: 500 81 | m_PVREnvironmentReferencePointCount: 2048 82 | m_PVRFilteringMode: 2 83 | m_PVRDenoiserTypeDirect: 0 84 | m_PVRDenoiserTypeIndirect: 0 85 | m_PVRDenoiserTypeAO: 0 86 | m_PVRFilterTypeDirect: 0 87 | m_PVRFilterTypeIndirect: 0 88 | m_PVRFilterTypeAO: 0 89 | m_PVREnvironmentMIS: 0 90 | m_PVRCulling: 1 91 | m_PVRFilteringGaussRadiusDirect: 1 92 | m_PVRFilteringGaussRadiusIndirect: 5 93 | m_PVRFilteringGaussRadiusAO: 2 94 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 95 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 96 | m_PVRFilteringAtrousPositionSigmaAO: 1 97 | m_ExportTrainingData: 0 98 | m_TrainingDataDestination: TrainingData 99 | m_LightProbeSampleCountMultiplier: 4 100 | m_LightingDataAsset: {fileID: 0} 101 | m_LightingSettings: {fileID: 2000715914} 102 | --- !u!196 &4 103 | NavMeshSettings: 104 | serializedVersion: 2 105 | m_ObjectHideFlags: 0 106 | m_BuildSettings: 107 | serializedVersion: 2 108 | agentTypeID: 0 109 | agentRadius: 0.5 110 | agentHeight: 2 111 | agentSlope: 45 112 | agentClimb: 0.4 113 | ledgeDropHeight: 0 114 | maxJumpAcrossDistance: 0 115 | minRegionArea: 2 116 | manualCellSize: 0 117 | cellSize: 0.16666667 118 | manualTileSize: 0 119 | tileSize: 256 120 | accuratePlacement: 0 121 | maxJobWorkers: 0 122 | preserveTilesOutsideBounds: 0 123 | debug: 124 | m_Flags: 0 125 | m_NavMeshData: {fileID: 0} 126 | --- !u!1 &705507993 127 | GameObject: 128 | m_ObjectHideFlags: 0 129 | m_CorrespondingSourceObject: {fileID: 0} 130 | m_PrefabInstance: {fileID: 0} 131 | m_PrefabAsset: {fileID: 0} 132 | serializedVersion: 6 133 | m_Component: 134 | - component: {fileID: 705507995} 135 | - component: {fileID: 705507994} 136 | m_Layer: 0 137 | m_Name: Directional Light 138 | m_TagString: Untagged 139 | m_Icon: {fileID: 0} 140 | m_NavMeshLayer: 0 141 | m_StaticEditorFlags: 0 142 | m_IsActive: 1 143 | --- !u!108 &705507994 144 | Light: 145 | m_ObjectHideFlags: 0 146 | m_CorrespondingSourceObject: {fileID: 0} 147 | m_PrefabInstance: {fileID: 0} 148 | m_PrefabAsset: {fileID: 0} 149 | m_GameObject: {fileID: 705507993} 150 | m_Enabled: 1 151 | serializedVersion: 10 152 | m_Type: 1 153 | m_Shape: 0 154 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 155 | m_Intensity: 1 156 | m_Range: 10 157 | m_SpotAngle: 30 158 | m_InnerSpotAngle: 21.80208 159 | m_CookieSize: 10 160 | m_Shadows: 161 | m_Type: 2 162 | m_Resolution: -1 163 | m_CustomResolution: -1 164 | m_Strength: 1 165 | m_Bias: 0.05 166 | m_NormalBias: 0.4 167 | m_NearPlane: 0.2 168 | m_CullingMatrixOverride: 169 | e00: 1 170 | e01: 0 171 | e02: 0 172 | e03: 0 173 | e10: 0 174 | e11: 1 175 | e12: 0 176 | e13: 0 177 | e20: 0 178 | e21: 0 179 | e22: 1 180 | e23: 0 181 | e30: 0 182 | e31: 0 183 | e32: 0 184 | e33: 1 185 | m_UseCullingMatrixOverride: 0 186 | m_Cookie: {fileID: 0} 187 | m_DrawHalo: 0 188 | m_Flare: {fileID: 0} 189 | m_RenderMode: 0 190 | m_CullingMask: 191 | serializedVersion: 2 192 | m_Bits: 4294967295 193 | m_RenderingLayerMask: 1 194 | m_Lightmapping: 1 195 | m_LightShadowCasterMode: 0 196 | m_AreaSize: {x: 1, y: 1} 197 | m_BounceIntensity: 1 198 | m_ColorTemperature: 6570 199 | m_UseColorTemperature: 0 200 | m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} 201 | m_UseBoundingSphereOverride: 0 202 | m_UseViewFrustumForShadowCasterCull: 1 203 | m_ShadowRadius: 0 204 | m_ShadowAngle: 0 205 | --- !u!4 &705507995 206 | Transform: 207 | m_ObjectHideFlags: 0 208 | m_CorrespondingSourceObject: {fileID: 0} 209 | m_PrefabInstance: {fileID: 0} 210 | m_PrefabAsset: {fileID: 0} 211 | m_GameObject: {fileID: 705507993} 212 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} 213 | m_LocalPosition: {x: 0, y: 3, z: 0} 214 | m_LocalScale: {x: 1, y: 1, z: 1} 215 | m_Children: [] 216 | m_Father: {fileID: 0} 217 | m_RootOrder: 1 218 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} 219 | --- !u!1 &963194225 220 | GameObject: 221 | m_ObjectHideFlags: 0 222 | m_CorrespondingSourceObject: {fileID: 0} 223 | m_PrefabInstance: {fileID: 0} 224 | m_PrefabAsset: {fileID: 0} 225 | serializedVersion: 6 226 | m_Component: 227 | - component: {fileID: 963194228} 228 | - component: {fileID: 963194227} 229 | - component: {fileID: 963194226} 230 | m_Layer: 0 231 | m_Name: Main Camera 232 | m_TagString: MainCamera 233 | m_Icon: {fileID: 0} 234 | m_NavMeshLayer: 0 235 | m_StaticEditorFlags: 0 236 | m_IsActive: 1 237 | --- !u!81 &963194226 238 | AudioListener: 239 | m_ObjectHideFlags: 0 240 | m_CorrespondingSourceObject: {fileID: 0} 241 | m_PrefabInstance: {fileID: 0} 242 | m_PrefabAsset: {fileID: 0} 243 | m_GameObject: {fileID: 963194225} 244 | m_Enabled: 1 245 | --- !u!20 &963194227 246 | Camera: 247 | m_ObjectHideFlags: 0 248 | m_CorrespondingSourceObject: {fileID: 0} 249 | m_PrefabInstance: {fileID: 0} 250 | m_PrefabAsset: {fileID: 0} 251 | m_GameObject: {fileID: 963194225} 252 | m_Enabled: 1 253 | serializedVersion: 2 254 | m_ClearFlags: 1 255 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 256 | m_projectionMatrixMode: 1 257 | m_GateFitMode: 2 258 | m_FOVAxisMode: 0 259 | m_SensorSize: {x: 36, y: 24} 260 | m_LensShift: {x: 0, y: 0} 261 | m_FocalLength: 50 262 | m_NormalizedViewPortRect: 263 | serializedVersion: 2 264 | x: 0 265 | y: 0 266 | width: 1 267 | height: 1 268 | near clip plane: 0.3 269 | far clip plane: 1000 270 | field of view: 60 271 | orthographic: 0 272 | orthographic size: 5 273 | m_Depth: -1 274 | m_CullingMask: 275 | serializedVersion: 2 276 | m_Bits: 4294967295 277 | m_RenderingPath: -1 278 | m_TargetTexture: {fileID: 0} 279 | m_TargetDisplay: 0 280 | m_TargetEye: 3 281 | m_HDR: 1 282 | m_AllowMSAA: 1 283 | m_AllowDynamicResolution: 0 284 | m_ForceIntoRT: 0 285 | m_OcclusionCulling: 1 286 | m_StereoConvergence: 10 287 | m_StereoSeparation: 0.022 288 | --- !u!4 &963194228 289 | Transform: 290 | m_ObjectHideFlags: 0 291 | m_CorrespondingSourceObject: {fileID: 0} 292 | m_PrefabInstance: {fileID: 0} 293 | m_PrefabAsset: {fileID: 0} 294 | m_GameObject: {fileID: 963194225} 295 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 296 | m_LocalPosition: {x: 0, y: 1, z: -10} 297 | m_LocalScale: {x: 1, y: 1, z: 1} 298 | m_Children: [] 299 | m_Father: {fileID: 0} 300 | m_RootOrder: 0 301 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 302 | --- !u!1 &1645297120 303 | GameObject: 304 | m_ObjectHideFlags: 0 305 | m_CorrespondingSourceObject: {fileID: 0} 306 | m_PrefabInstance: {fileID: 0} 307 | m_PrefabAsset: {fileID: 0} 308 | serializedVersion: 6 309 | m_Component: 310 | - component: {fileID: 1645297122} 311 | - component: {fileID: 1645297121} 312 | m_Layer: 0 313 | m_Name: "\u2605 Director Camera Root" 314 | m_TagString: Untagged 315 | m_Icon: {fileID: 0} 316 | m_NavMeshLayer: 0 317 | m_StaticEditorFlags: 0 318 | m_IsActive: 1 319 | --- !u!114 &1645297121 320 | MonoBehaviour: 321 | m_ObjectHideFlags: 0 322 | m_CorrespondingSourceObject: {fileID: 0} 323 | m_PrefabInstance: {fileID: 0} 324 | m_PrefabAsset: {fileID: 0} 325 | m_GameObject: {fileID: 1645297120} 326 | m_Enabled: 1 327 | m_EditorHideFlags: 0 328 | m_Script: {fileID: 11500000, guid: 20dd075d1d387484988c039e6d2f77e1, type: 3} 329 | m_Name: 330 | m_EditorClassIdentifier: 331 | _matchMainWhenActive: 1 332 | _setMainWhenActive: 1 333 | _autoHandleActiveState: 1 334 | _ignoreFOVChanges: 0 335 | _dontDestroyOnLoad: 0 336 | --- !u!4 &1645297122 337 | Transform: 338 | m_ObjectHideFlags: 0 339 | m_CorrespondingSourceObject: {fileID: 0} 340 | m_PrefabInstance: {fileID: 0} 341 | m_PrefabAsset: {fileID: 0} 342 | m_GameObject: {fileID: 1645297120} 343 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 344 | m_LocalPosition: {x: 0, y: 0, z: 0} 345 | m_LocalScale: {x: 1, y: 1, z: 1} 346 | m_Children: 347 | - {fileID: 1803035968} 348 | m_Father: {fileID: 0} 349 | m_RootOrder: 3 350 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 351 | --- !u!1 &1803035967 352 | GameObject: 353 | m_ObjectHideFlags: 0 354 | m_CorrespondingSourceObject: {fileID: 0} 355 | m_PrefabInstance: {fileID: 0} 356 | m_PrefabAsset: {fileID: 0} 357 | serializedVersion: 6 358 | m_Component: 359 | - component: {fileID: 1803035968} 360 | - component: {fileID: 1803035971} 361 | - component: {fileID: 1803035970} 362 | - component: {fileID: 1803035969} 363 | m_Layer: 0 364 | m_Name: Render Camera 365 | m_TagString: Untagged 366 | m_Icon: {fileID: 0} 367 | m_NavMeshLayer: 0 368 | m_StaticEditorFlags: 0 369 | m_IsActive: 0 370 | --- !u!4 &1803035968 371 | Transform: 372 | m_ObjectHideFlags: 0 373 | m_CorrespondingSourceObject: {fileID: 0} 374 | m_PrefabInstance: {fileID: 0} 375 | m_PrefabAsset: {fileID: 0} 376 | m_GameObject: {fileID: 1803035967} 377 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 378 | m_LocalPosition: {x: 0, y: 0, z: 0} 379 | m_LocalScale: {x: 1, y: 1, z: 1} 380 | m_Children: [] 381 | m_Father: {fileID: 1645297122} 382 | m_RootOrder: 0 383 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 384 | --- !u!124 &1803035969 385 | Behaviour: 386 | m_ObjectHideFlags: 0 387 | m_CorrespondingSourceObject: {fileID: 0} 388 | m_PrefabInstance: {fileID: 0} 389 | m_PrefabAsset: {fileID: 0} 390 | m_GameObject: {fileID: 1803035967} 391 | m_Enabled: 1 392 | --- !u!81 &1803035970 393 | AudioListener: 394 | m_ObjectHideFlags: 0 395 | m_CorrespondingSourceObject: {fileID: 0} 396 | m_PrefabInstance: {fileID: 0} 397 | m_PrefabAsset: {fileID: 0} 398 | m_GameObject: {fileID: 1803035967} 399 | m_Enabled: 1 400 | --- !u!20 &1803035971 401 | Camera: 402 | m_ObjectHideFlags: 0 403 | m_CorrespondingSourceObject: {fileID: 0} 404 | m_PrefabInstance: {fileID: 0} 405 | m_PrefabAsset: {fileID: 0} 406 | m_GameObject: {fileID: 1803035967} 407 | m_Enabled: 1 408 | serializedVersion: 2 409 | m_ClearFlags: 1 410 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 411 | m_projectionMatrixMode: 1 412 | m_GateFitMode: 2 413 | m_FOVAxisMode: 0 414 | m_SensorSize: {x: 36, y: 24} 415 | m_LensShift: {x: 0, y: 0} 416 | m_FocalLength: 50 417 | m_NormalizedViewPortRect: 418 | serializedVersion: 2 419 | x: 0 420 | y: 0 421 | width: 1 422 | height: 1 423 | near clip plane: 0.01 424 | far clip plane: 1000 425 | field of view: 60 426 | orthographic: 0 427 | orthographic size: 5 428 | m_Depth: 0 429 | m_CullingMask: 430 | serializedVersion: 2 431 | m_Bits: 4294967295 432 | m_RenderingPath: -1 433 | m_TargetTexture: {fileID: 0} 434 | m_TargetDisplay: 0 435 | m_TargetEye: 3 436 | m_HDR: 1 437 | m_AllowMSAA: 1 438 | m_AllowDynamicResolution: 0 439 | m_ForceIntoRT: 0 440 | m_OcclusionCulling: 1 441 | m_StereoConvergence: 10 442 | m_StereoSeparation: 0.022 443 | --- !u!850595691 &2000715914 444 | LightingSettings: 445 | m_ObjectHideFlags: 0 446 | m_CorrespondingSourceObject: {fileID: 0} 447 | m_PrefabInstance: {fileID: 0} 448 | m_PrefabAsset: {fileID: 0} 449 | m_Name: Settings.lighting 450 | serializedVersion: 3 451 | m_GIWorkflowMode: 1 452 | m_EnableBakedLightmaps: 1 453 | m_EnableRealtimeLightmaps: 0 454 | m_RealtimeEnvironmentLighting: 1 455 | m_BounceScale: 1 456 | m_AlbedoBoost: 1 457 | m_IndirectOutputScale: 1 458 | m_UsingShadowmask: 1 459 | m_BakeBackend: 1 460 | m_LightmapMaxSize: 1024 461 | m_BakeResolution: 40 462 | m_Padding: 2 463 | m_TextureCompression: 1 464 | m_AO: 0 465 | m_AOMaxDistance: 1 466 | m_CompAOExponent: 1 467 | m_CompAOExponentDirect: 0 468 | m_ExtractAO: 0 469 | m_MixedBakeMode: 2 470 | m_LightmapsBakeMode: 1 471 | m_FilterMode: 1 472 | m_LightmapParameters: {fileID: 15204, guid: 0000000000000000f000000000000000, type: 0} 473 | m_ExportTrainingData: 0 474 | m_TrainingDataDestination: TrainingData 475 | m_RealtimeResolution: 2 476 | m_ForceWhiteAlbedo: 0 477 | m_ForceUpdates: 0 478 | m_FinalGather: 0 479 | m_FinalGatherRayCount: 256 480 | m_FinalGatherFiltering: 1 481 | m_PVRCulling: 1 482 | m_PVRSampling: 1 483 | m_PVRDirectSampleCount: 32 484 | m_PVRSampleCount: 500 485 | m_PVREnvironmentSampleCount: 500 486 | m_PVREnvironmentReferencePointCount: 2048 487 | m_LightProbeSampleCountMultiplier: 4 488 | m_PVRBounces: 2 489 | m_PVRMinBounces: 2 490 | m_PVREnvironmentMIS: 0 491 | m_PVRFilteringMode: 2 492 | m_PVRDenoiserTypeDirect: 0 493 | m_PVRDenoiserTypeIndirect: 0 494 | m_PVRDenoiserTypeAO: 0 495 | m_PVRFilterTypeDirect: 0 496 | m_PVRFilterTypeIndirect: 0 497 | m_PVRFilterTypeAO: 0 498 | m_PVRFilteringGaussRadiusDirect: 1 499 | m_PVRFilteringGaussRadiusIndirect: 5 500 | m_PVRFilteringGaussRadiusAO: 2 501 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 502 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 503 | m_PVRFilteringAtrousPositionSigmaAO: 1 504 | --- !u!1 &2120595554 505 | GameObject: 506 | m_ObjectHideFlags: 0 507 | m_CorrespondingSourceObject: {fileID: 0} 508 | m_PrefabInstance: {fileID: 0} 509 | m_PrefabAsset: {fileID: 0} 510 | serializedVersion: 6 511 | m_Component: 512 | - component: {fileID: 2120595556} 513 | - component: {fileID: 2120595555} 514 | m_Layer: 0 515 | m_Name: GameObject 516 | m_TagString: Untagged 517 | m_Icon: {fileID: 0} 518 | m_NavMeshLayer: 0 519 | m_StaticEditorFlags: 0 520 | m_IsActive: 1 521 | --- !u!114 &2120595555 522 | MonoBehaviour: 523 | m_ObjectHideFlags: 0 524 | m_CorrespondingSourceObject: {fileID: 0} 525 | m_PrefabInstance: {fileID: 0} 526 | m_PrefabAsset: {fileID: 0} 527 | m_GameObject: {fileID: 2120595554} 528 | m_Enabled: 1 529 | m_EditorHideFlags: 0 530 | m_Script: {fileID: 11500000, guid: 3cdeeb8373d04c4097428a2101015d45, type: 3} 531 | m_Name: 532 | m_EditorClassIdentifier: 533 | --- !u!4 &2120595556 534 | Transform: 535 | m_ObjectHideFlags: 0 536 | m_CorrespondingSourceObject: {fileID: 0} 537 | m_PrefabInstance: {fileID: 0} 538 | m_PrefabAsset: {fileID: 0} 539 | m_GameObject: {fileID: 2120595554} 540 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 541 | m_LocalPosition: {x: 0, y: 0, z: 0} 542 | m_LocalScale: {x: 1, y: 1, z: 1} 543 | m_Children: [] 544 | m_Father: {fileID: 0} 545 | m_RootOrder: 2 546 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 547 | -------------------------------------------------------------------------------- /Assets/NKGSlate/Sample/SkillEntry.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &26173600849633492 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 1191627203392878110} 12 | - component: {fileID: 2680178889268254733} 13 | - component: {fileID: 1155048503005113692} 14 | m_Layer: 0 15 | m_Name: Events Track 16 | m_TagString: Untagged 17 | m_Icon: {fileID: 0} 18 | m_NavMeshLayer: 0 19 | m_StaticEditorFlags: 0 20 | m_IsActive: 1 21 | --- !u!4 &1191627203392878110 22 | Transform: 23 | m_ObjectHideFlags: 0 24 | m_CorrespondingSourceObject: {fileID: 0} 25 | m_PrefabInstance: {fileID: 0} 26 | m_PrefabAsset: {fileID: 0} 27 | m_GameObject: {fileID: 26173600849633492} 28 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 29 | m_LocalPosition: {x: 0, y: 0, z: 0} 30 | m_LocalScale: {x: 1, y: 1, z: 1} 31 | m_Children: [] 32 | m_Father: {fileID: 4211981138158430200} 33 | m_RootOrder: 0 34 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 35 | --- !u!114 &2680178889268254733 36 | MonoBehaviour: 37 | m_ObjectHideFlags: 0 38 | m_CorrespondingSourceObject: {fileID: 0} 39 | m_PrefabInstance: {fileID: 0} 40 | m_PrefabAsset: {fileID: 0} 41 | m_GameObject: {fileID: 26173600849633492} 42 | m_Enabled: 1 43 | m_EditorHideFlags: 0 44 | m_Script: {fileID: 11500000, guid: 0b9cb7b110ccf394a9e8eef8d8047e62, type: 3} 45 | m_Name: 46 | m_EditorClassIdentifier: 47 | _name: Events Track 48 | _color: {r: 1, g: 1, b: 1, a: 1} 49 | _active: 1 50 | _isLocked: 0 51 | _actionClips: 52 | - {fileID: 1155048503005113692} 53 | _customHeight: 300 54 | _icon: {fileID: 0} 55 | --- !u!114 &1155048503005113692 56 | MonoBehaviour: 57 | m_ObjectHideFlags: 0 58 | m_CorrespondingSourceObject: {fileID: 0} 59 | m_PrefabInstance: {fileID: 0} 60 | m_PrefabAsset: {fileID: 0} 61 | m_GameObject: {fileID: 26173600849633492} 62 | m_Enabled: 1 63 | m_EditorHideFlags: 0 64 | m_Script: {fileID: 11500000, guid: bb10e84ae2138c048b0b1c2a4fcca4ff, type: 3} 65 | m_Name: 66 | m_EditorClassIdentifier: 67 | serializationData: 68 | SerializedFormat: 2 69 | SerializedBytes: 70 | ReferencedUnityObjects: [] 71 | SerializedBytesString: 72 | Prefab: {fileID: 0} 73 | PrefabModificationsReferencedUnityObjects: [] 74 | PrefabModifications: [] 75 | SerializationNodes: [] 76 | _startTime: 1.7550001 77 | _animationData: 78 | _animatedParameters: [] 79 | message: 80 | componentIndex: -1 81 | --- !u!1 &718295359046027422 82 | GameObject: 83 | m_ObjectHideFlags: 0 84 | m_CorrespondingSourceObject: {fileID: 0} 85 | m_PrefabInstance: {fileID: 0} 86 | m_PrefabAsset: {fileID: 0} 87 | serializedVersion: 6 88 | m_Component: 89 | - component: {fileID: 3433067734147873839} 90 | - component: {fileID: 707794664485419555} 91 | - component: {fileID: 8096738283675776081} 92 | m_Layer: 0 93 | m_Name: ST_Paradox Notion Track 94 | m_TagString: Untagged 95 | m_Icon: {fileID: 0} 96 | m_NavMeshLayer: 0 97 | m_StaticEditorFlags: 0 98 | m_IsActive: 1 99 | --- !u!4 &3433067734147873839 100 | Transform: 101 | m_ObjectHideFlags: 0 102 | m_CorrespondingSourceObject: {fileID: 0} 103 | m_PrefabInstance: {fileID: 0} 104 | m_PrefabAsset: {fileID: 0} 105 | m_GameObject: {fileID: 718295359046027422} 106 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 107 | m_LocalPosition: {x: 0, y: 0, z: 0} 108 | m_LocalScale: {x: 1, y: 1, z: 1} 109 | m_Children: [] 110 | m_Father: {fileID: 867231728046013670} 111 | m_RootOrder: 1 112 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 113 | --- !u!114 &707794664485419555 114 | MonoBehaviour: 115 | m_ObjectHideFlags: 0 116 | m_CorrespondingSourceObject: {fileID: 0} 117 | m_PrefabInstance: {fileID: 0} 118 | m_PrefabAsset: {fileID: 0} 119 | m_GameObject: {fileID: 718295359046027422} 120 | m_Enabled: 1 121 | m_EditorHideFlags: 0 122 | m_Script: {fileID: 11500000, guid: be40bb89eea34f3ca4e8640c2e213fad, type: 3} 123 | m_Name: 124 | m_EditorClassIdentifier: 125 | _name: 126 | _color: {r: 1, g: 1, b: 1, a: 1} 127 | _active: 1 128 | _isLocked: 0 129 | _actionClips: 130 | - {fileID: 8096738283675776081} 131 | _customHeight: 300 132 | --- !u!114 &8096738283675776081 133 | MonoBehaviour: 134 | m_ObjectHideFlags: 0 135 | m_CorrespondingSourceObject: {fileID: 0} 136 | m_PrefabInstance: {fileID: 0} 137 | m_PrefabAsset: {fileID: 0} 138 | m_GameObject: {fileID: 718295359046027422} 139 | m_Enabled: 1 140 | m_EditorHideFlags: 0 141 | m_Script: {fileID: 11500000, guid: 5aefae19b193493eabfd46f7c85da6be, type: 3} 142 | m_Name: 143 | m_EditorClassIdentifier: 144 | serializationData: 145 | SerializedFormat: 2 146 | SerializedBytes: 147 | ReferencedUnityObjects: [] 148 | SerializedBytesString: 149 | Prefab: {fileID: 0} 150 | PrefabModificationsReferencedUnityObjects: [] 151 | PrefabModifications: [] 152 | SerializationNodes: 153 | - Name: BindingDate 154 | Entry: 7 155 | Data: 0|NKGSlate.Runtime.ST_LogActionData, NKGSlate_Runtime 156 | - Name: RelativelyStartTime 157 | Entry: 3 158 | Data: 500 159 | - Name: RelativelyEndTime 160 | Entry: 3 161 | Data: 3000 162 | - Name: LogInfo 163 | Entry: 1 164 | Data: "\u6D4B\u8BD5\u6253\u5370\u6D88\u606F" 165 | - Name: 166 | Entry: 8 167 | Data: 168 | _startTime: 0.5 169 | _animationData: 170 | _animatedParameters: [] 171 | m_Originlength: 2.5000002 172 | ActionName: 173 | --- !u!1 &1593422085259153402 174 | GameObject: 175 | m_ObjectHideFlags: 0 176 | m_CorrespondingSourceObject: {fileID: 0} 177 | m_PrefabInstance: {fileID: 0} 178 | m_PrefabAsset: {fileID: 0} 179 | serializedVersion: 6 180 | m_Component: 181 | - component: {fileID: 1593422085259153396} 182 | - component: {fileID: 1593422085259153397} 183 | m_Layer: 0 184 | m_Name: SkillEntry 185 | m_TagString: Untagged 186 | m_Icon: {fileID: 0} 187 | m_NavMeshLayer: 0 188 | m_StaticEditorFlags: 0 189 | m_IsActive: 1 190 | --- !u!4 &1593422085259153396 191 | Transform: 192 | m_ObjectHideFlags: 0 193 | m_CorrespondingSourceObject: {fileID: 0} 194 | m_PrefabInstance: {fileID: 0} 195 | m_PrefabAsset: {fileID: 0} 196 | m_GameObject: {fileID: 1593422085259153402} 197 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 198 | m_LocalPosition: {x: 0, y: 0, z: 0} 199 | m_LocalScale: {x: 1, y: 1, z: 1} 200 | m_Children: 201 | - {fileID: 1593422085297015355} 202 | m_Father: {fileID: 0} 203 | m_RootOrder: 0 204 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 205 | --- !u!114 &1593422085259153397 206 | MonoBehaviour: 207 | m_ObjectHideFlags: 0 208 | m_CorrespondingSourceObject: {fileID: 0} 209 | m_PrefabInstance: {fileID: 0} 210 | m_PrefabAsset: {fileID: 0} 211 | m_GameObject: {fileID: 1593422085259153402} 212 | m_Enabled: 1 213 | m_EditorHideFlags: 0 214 | m_Script: {fileID: 11500000, guid: 70de6f6fd9184b3bb4f57c522155a444, type: 3} 215 | m_Name: 216 | m_EditorClassIdentifier: 217 | _updateMode: 0 218 | _defaultWrapMode: 0 219 | _defaultStopMode: 0 220 | _playbackSpeed: 1 221 | _explicitActiveLayers: 0 222 | _activeLayers: 223 | serializedVersion: 2 224 | m_Bits: 55 225 | groups: 226 | - {fileID: 1593422085675406672} 227 | - {fileID: 7301745836361793244} 228 | - {fileID: 3917698563345150254} 229 | _length: 20 230 | _viewTimeMin: -0.8264693 231 | _viewTimeMax: 4.173716 232 | --- !u!1 &1593422085297015352 233 | GameObject: 234 | m_ObjectHideFlags: 0 235 | m_CorrespondingSourceObject: {fileID: 0} 236 | m_PrefabInstance: {fileID: 0} 237 | m_PrefabAsset: {fileID: 0} 238 | serializedVersion: 6 239 | m_Component: 240 | - component: {fileID: 1593422085297015355} 241 | m_Layer: 0 242 | m_Name: __GroupsRoot__ 243 | m_TagString: Untagged 244 | m_Icon: {fileID: 0} 245 | m_NavMeshLayer: 0 246 | m_StaticEditorFlags: 0 247 | m_IsActive: 0 248 | --- !u!4 &1593422085297015355 249 | Transform: 250 | m_ObjectHideFlags: 0 251 | m_CorrespondingSourceObject: {fileID: 0} 252 | m_PrefabInstance: {fileID: 0} 253 | m_PrefabAsset: {fileID: 0} 254 | m_GameObject: {fileID: 1593422085297015352} 255 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 256 | m_LocalPosition: {x: 0, y: 0, z: 0} 257 | m_LocalScale: {x: 1, y: 1, z: 1} 258 | m_Children: 259 | - {fileID: 1593422085675406675} 260 | - {fileID: 867231728046013670} 261 | - {fileID: 4211981138158430200} 262 | m_Father: {fileID: 1593422085259153396} 263 | m_RootOrder: 0 264 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 265 | --- !u!1 &1593422085675406673 266 | GameObject: 267 | m_ObjectHideFlags: 0 268 | m_CorrespondingSourceObject: {fileID: 0} 269 | m_PrefabInstance: {fileID: 0} 270 | m_PrefabAsset: {fileID: 0} 271 | serializedVersion: 6 272 | m_Component: 273 | - component: {fileID: 1593422085675406675} 274 | - component: {fileID: 1593422085675406672} 275 | m_Layer: 0 276 | m_Name: DirectorGroup 277 | m_TagString: Untagged 278 | m_Icon: {fileID: 0} 279 | m_NavMeshLayer: 0 280 | m_StaticEditorFlags: 0 281 | m_IsActive: 1 282 | --- !u!4 &1593422085675406675 283 | Transform: 284 | m_ObjectHideFlags: 0 285 | m_CorrespondingSourceObject: {fileID: 0} 286 | m_PrefabInstance: {fileID: 0} 287 | m_PrefabAsset: {fileID: 0} 288 | m_GameObject: {fileID: 1593422085675406673} 289 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 290 | m_LocalPosition: {x: 0, y: 0, z: 0} 291 | m_LocalScale: {x: 1, y: 1, z: 1} 292 | m_Children: [] 293 | m_Father: {fileID: 1593422085297015355} 294 | m_RootOrder: 0 295 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 296 | --- !u!114 &1593422085675406672 297 | MonoBehaviour: 298 | m_ObjectHideFlags: 0 299 | m_CorrespondingSourceObject: {fileID: 0} 300 | m_PrefabInstance: {fileID: 0} 301 | m_PrefabAsset: {fileID: 0} 302 | m_GameObject: {fileID: 1593422085675406673} 303 | m_Enabled: 1 304 | m_EditorHideFlags: 0 305 | m_Script: {fileID: 11500000, guid: bdc8b61f12029504c9f82940d8937473, type: 3} 306 | m_Name: 307 | m_EditorClassIdentifier: 308 | _tracks: [] 309 | _sections: [] 310 | _isCollapsed: 0 311 | _active: 1 312 | _isLocked: 0 313 | --- !u!1 &2661715524841229854 314 | GameObject: 315 | m_ObjectHideFlags: 0 316 | m_CorrespondingSourceObject: {fileID: 0} 317 | m_PrefabInstance: {fileID: 0} 318 | m_PrefabAsset: {fileID: 0} 319 | serializedVersion: 6 320 | m_Component: 321 | - component: {fileID: 1354645478575376569} 322 | - component: {fileID: 1532472854707732089} 323 | - component: {fileID: 3745623930695716048} 324 | - component: {fileID: 9200805727406037528} 325 | m_Layer: 0 326 | m_Name: ST_Paradox Notion Track 327 | m_TagString: Untagged 328 | m_Icon: {fileID: 0} 329 | m_NavMeshLayer: 0 330 | m_StaticEditorFlags: 0 331 | m_IsActive: 1 332 | --- !u!4 &1354645478575376569 333 | Transform: 334 | m_ObjectHideFlags: 0 335 | m_CorrespondingSourceObject: {fileID: 0} 336 | m_PrefabInstance: {fileID: 0} 337 | m_PrefabAsset: {fileID: 0} 338 | m_GameObject: {fileID: 2661715524841229854} 339 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 340 | m_LocalPosition: {x: 0, y: 0, z: 0} 341 | m_LocalScale: {x: 1, y: 1, z: 1} 342 | m_Children: [] 343 | m_Father: {fileID: 867231728046013670} 344 | m_RootOrder: 0 345 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 346 | --- !u!114 &1532472854707732089 347 | MonoBehaviour: 348 | m_ObjectHideFlags: 0 349 | m_CorrespondingSourceObject: {fileID: 0} 350 | m_PrefabInstance: {fileID: 0} 351 | m_PrefabAsset: {fileID: 0} 352 | m_GameObject: {fileID: 2661715524841229854} 353 | m_Enabled: 1 354 | m_EditorHideFlags: 0 355 | m_Script: {fileID: 11500000, guid: be40bb89eea34f3ca4e8640c2e213fad, type: 3} 356 | m_Name: 357 | m_EditorClassIdentifier: 358 | _name: 359 | _color: {r: 1, g: 1, b: 1, a: 1} 360 | _active: 1 361 | _isLocked: 0 362 | _actionClips: 363 | - {fileID: 3745623930695716048} 364 | - {fileID: 9200805727406037528} 365 | _customHeight: 300 366 | --- !u!114 &3745623930695716048 367 | MonoBehaviour: 368 | m_ObjectHideFlags: 0 369 | m_CorrespondingSourceObject: {fileID: 0} 370 | m_PrefabInstance: {fileID: 0} 371 | m_PrefabAsset: {fileID: 0} 372 | m_GameObject: {fileID: 2661715524841229854} 373 | m_Enabled: 1 374 | m_EditorHideFlags: 0 375 | m_Script: {fileID: 11500000, guid: 39ce04bd71124f9285122667727cbff1, type: 3} 376 | m_Name: 377 | m_EditorClassIdentifier: 378 | serializationData: 379 | SerializedFormat: 2 380 | SerializedBytes: 381 | ReferencedUnityObjects: [] 382 | SerializedBytesString: 383 | Prefab: {fileID: 0} 384 | PrefabModificationsReferencedUnityObjects: [] 385 | PrefabModifications: [] 386 | SerializationNodes: 387 | - Name: BindingDate 388 | Entry: 7 389 | Data: 0|NKGSlate.Runtime.ST_EventData, NKGSlate_Runtime 390 | - Name: RelativelyStartTime 391 | Entry: 3 392 | Data: 1500 393 | - Name: RelativelyEndTime 394 | Entry: 3 395 | Data: 1500 396 | - Name: EventInfo 397 | Entry: 1 398 | Data: "\u629B\u51FA\u4E8B\u4EF61" 399 | - Name: 400 | Entry: 8 401 | Data: 402 | _startTime: 1.5000001 403 | _animationData: 404 | _animatedParameters: [] 405 | m_Originlength: 0 406 | ActionName: 407 | --- !u!114 &9200805727406037528 408 | MonoBehaviour: 409 | m_ObjectHideFlags: 0 410 | m_CorrespondingSourceObject: {fileID: 0} 411 | m_PrefabInstance: {fileID: 0} 412 | m_PrefabAsset: {fileID: 0} 413 | m_GameObject: {fileID: 2661715524841229854} 414 | m_Enabled: 1 415 | m_EditorHideFlags: 0 416 | m_Script: {fileID: 11500000, guid: 39ce04bd71124f9285122667727cbff1, type: 3} 417 | m_Name: 418 | m_EditorClassIdentifier: 419 | serializationData: 420 | SerializedFormat: 2 421 | SerializedBytes: 422 | ReferencedUnityObjects: [] 423 | SerializedBytesString: 424 | Prefab: {fileID: 0} 425 | PrefabModificationsReferencedUnityObjects: [] 426 | PrefabModifications: [] 427 | SerializationNodes: 428 | - Name: BindingDate 429 | Entry: 7 430 | Data: 0|NKGSlate.Runtime.ST_EventData, NKGSlate_Runtime 431 | - Name: RelativelyStartTime 432 | Entry: 3 433 | Data: 2500 434 | - Name: RelativelyEndTime 435 | Entry: 3 436 | Data: 2500 437 | - Name: EventInfo 438 | Entry: 1 439 | Data: "\u629B\u51FA\u4E8B\u4EF62" 440 | - Name: 441 | Entry: 8 442 | Data: 443 | _startTime: 2.5 444 | _animationData: 445 | _animatedParameters: [] 446 | m_Originlength: 0 447 | ActionName: "\u6D4B\u8BD5\u4E8B\u4EF62" 448 | --- !u!1 &2947518905856401721 449 | GameObject: 450 | m_ObjectHideFlags: 0 451 | m_CorrespondingSourceObject: {fileID: 0} 452 | m_PrefabInstance: {fileID: 0} 453 | m_PrefabAsset: {fileID: 0} 454 | serializedVersion: 6 455 | m_Component: 456 | - component: {fileID: 867231728046013670} 457 | - component: {fileID: 7301745836361793244} 458 | m_Layer: 0 459 | m_Name: ST_ParadoxNotionGroup 460 | m_TagString: Untagged 461 | m_Icon: {fileID: 0} 462 | m_NavMeshLayer: 0 463 | m_StaticEditorFlags: 0 464 | m_IsActive: 1 465 | --- !u!4 &867231728046013670 466 | Transform: 467 | m_ObjectHideFlags: 0 468 | m_CorrespondingSourceObject: {fileID: 0} 469 | m_PrefabInstance: {fileID: 0} 470 | m_PrefabAsset: {fileID: 0} 471 | m_GameObject: {fileID: 2947518905856401721} 472 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 473 | m_LocalPosition: {x: 0, y: 0, z: 0} 474 | m_LocalScale: {x: 1, y: 1, z: 1} 475 | m_Children: 476 | - {fileID: 1354645478575376569} 477 | - {fileID: 3433067734147873839} 478 | m_Father: {fileID: 1593422085297015355} 479 | m_RootOrder: 1 480 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 481 | --- !u!114 &7301745836361793244 482 | MonoBehaviour: 483 | m_ObjectHideFlags: 0 484 | m_CorrespondingSourceObject: {fileID: 0} 485 | m_PrefabInstance: {fileID: 0} 486 | m_PrefabAsset: {fileID: 0} 487 | m_GameObject: {fileID: 2947518905856401721} 488 | m_Enabled: 1 489 | m_EditorHideFlags: 0 490 | m_Script: {fileID: 11500000, guid: c785edc9012b448ca40994169f0bf46f, type: 3} 491 | m_Name: 492 | m_EditorClassIdentifier: 493 | _tracks: 494 | - {fileID: 707794664485419555} 495 | - {fileID: 1532472854707732089} 496 | _sections: [] 497 | _isCollapsed: 0 498 | _active: 1 499 | _isLocked: 0 500 | _name: 501 | _actor: {fileID: 1593422085259153402} 502 | _referenceMode: 0 503 | _initialCoordinates: 0 504 | _initialLocalPosition: {x: 0, y: 0, z: 0} 505 | _initialLocalRotation: {x: 0, y: 0, z: 0} 506 | _displayVirtualMeshGizmo: 1 507 | --- !u!1 &5364085311429667473 508 | GameObject: 509 | m_ObjectHideFlags: 0 510 | m_CorrespondingSourceObject: {fileID: 0} 511 | m_PrefabInstance: {fileID: 0} 512 | m_PrefabAsset: {fileID: 0} 513 | serializedVersion: 6 514 | m_Component: 515 | - component: {fileID: 4211981138158430200} 516 | - component: {fileID: 3917698563345150254} 517 | m_Layer: 0 518 | m_Name: ActorGroup 519 | m_TagString: Untagged 520 | m_Icon: {fileID: 0} 521 | m_NavMeshLayer: 0 522 | m_StaticEditorFlags: 0 523 | m_IsActive: 1 524 | --- !u!4 &4211981138158430200 525 | Transform: 526 | m_ObjectHideFlags: 0 527 | m_CorrespondingSourceObject: {fileID: 0} 528 | m_PrefabInstance: {fileID: 0} 529 | m_PrefabAsset: {fileID: 0} 530 | m_GameObject: {fileID: 5364085311429667473} 531 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 532 | m_LocalPosition: {x: 0, y: 0, z: 0} 533 | m_LocalScale: {x: 1, y: 1, z: 1} 534 | m_Children: 535 | - {fileID: 1191627203392878110} 536 | m_Father: {fileID: 1593422085297015355} 537 | m_RootOrder: 2 538 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 539 | --- !u!114 &3917698563345150254 540 | MonoBehaviour: 541 | m_ObjectHideFlags: 0 542 | m_CorrespondingSourceObject: {fileID: 0} 543 | m_PrefabInstance: {fileID: 0} 544 | m_PrefabAsset: {fileID: 0} 545 | m_GameObject: {fileID: 5364085311429667473} 546 | m_Enabled: 1 547 | m_EditorHideFlags: 0 548 | m_Script: {fileID: 11500000, guid: bd05e43ee4cd7c04495df2241ebcb833, type: 3} 549 | m_Name: 550 | m_EditorClassIdentifier: 551 | _tracks: 552 | - {fileID: 2680178889268254733} 553 | _sections: [] 554 | _isCollapsed: 0 555 | _active: 1 556 | _isLocked: 0 557 | _name: 558 | _actor: {fileID: 0} 559 | _referenceMode: 0 560 | _initialCoordinates: 0 561 | _initialLocalPosition: {x: 0, y: 0, z: 0} 562 | _initialLocalRotation: {x: 0, y: 0, z: 0} 563 | _displayVirtualMeshGizmo: 1 564 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 22 7 | productGUID: cfccfea9b0f188f4994cb37a79736f1a 8 | AndroidProfiler: 0 9 | AndroidFilterTouchesWhenObscured: 0 10 | AndroidEnableSustainedPerformanceMode: 0 11 | defaultScreenOrientation: 4 12 | targetDevice: 2 13 | useOnDemandResources: 0 14 | accelerometerFrequency: 60 15 | companyName: DefaultCompany 16 | productName: New Unity Project 17 | defaultCursor: {fileID: 0} 18 | cursorHotspot: {x: 0, y: 0} 19 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} 20 | m_ShowUnitySplashScreen: 1 21 | m_ShowUnitySplashLogo: 1 22 | m_SplashScreenOverlayOpacity: 1 23 | m_SplashScreenAnimation: 1 24 | m_SplashScreenLogoStyle: 1 25 | m_SplashScreenDrawMode: 0 26 | m_SplashScreenBackgroundAnimationZoom: 1 27 | m_SplashScreenLogoAnimationZoom: 1 28 | m_SplashScreenBackgroundLandscapeAspect: 1 29 | m_SplashScreenBackgroundPortraitAspect: 1 30 | m_SplashScreenBackgroundLandscapeUvs: 31 | serializedVersion: 2 32 | x: 0 33 | y: 0 34 | width: 1 35 | height: 1 36 | m_SplashScreenBackgroundPortraitUvs: 37 | serializedVersion: 2 38 | x: 0 39 | y: 0 40 | width: 1 41 | height: 1 42 | m_SplashScreenLogos: [] 43 | m_VirtualRealitySplashScreen: {fileID: 0} 44 | m_ShowUnitySplashAds: 0 45 | m_AdsAndroidGameId: 46 | m_AdsIosGameId: 47 | m_ShowSplashAdsSlogan: 0 48 | m_SloganImage: {fileID: 0} 49 | m_SloganHeight: 150 50 | m_HolographicTrackingLossScreen: {fileID: 0} 51 | defaultScreenWidth: 1024 52 | defaultScreenHeight: 768 53 | defaultScreenWidthWeb: 960 54 | defaultScreenHeightWeb: 600 55 | m_StereoRenderingPath: 0 56 | m_ActiveColorSpace: 0 57 | m_MTRendering: 1 58 | mipStripping: 0 59 | numberOfMipsStripped: 0 60 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 61 | iosShowActivityIndicatorOnLoading: -1 62 | androidShowActivityIndicatorOnLoading: -1 63 | iosUseCustomAppBackgroundBehavior: 0 64 | iosAllowHTTPDownload: 1 65 | allowedAutorotateToPortrait: 1 66 | allowedAutorotateToPortraitUpsideDown: 1 67 | allowedAutorotateToLandscapeRight: 1 68 | allowedAutorotateToLandscapeLeft: 1 69 | useOSAutorotation: 1 70 | use32BitDisplayBuffer: 1 71 | preserveFramebufferAlpha: 0 72 | disableDepthAndStencilBuffers: 0 73 | androidStartInFullscreen: 1 74 | androidRenderOutsideSafeArea: 1 75 | androidUseSwappy: 0 76 | androidBlitType: 0 77 | defaultIsNativeResolution: 1 78 | macRetinaSupport: 1 79 | runInBackground: 1 80 | captureSingleScreen: 0 81 | muteOtherAudioSources: 0 82 | Prepare IOS For Recording: 0 83 | Force IOS Speakers When Recording: 0 84 | deferSystemGesturesMode: 0 85 | hideHomeButton: 0 86 | submitAnalytics: 1 87 | usePlayerLog: 1 88 | bakeCollisionMeshes: 0 89 | forceSingleInstance: 0 90 | useFlipModelSwapchain: 1 91 | resizableWindow: 0 92 | useMacAppStoreValidation: 0 93 | macAppStoreCategory: public.app-category.games 94 | gpuSkinning: 1 95 | xboxPIXTextureCapture: 0 96 | xboxEnableAvatar: 0 97 | xboxEnableKinect: 0 98 | xboxEnableKinectAutoTracking: 0 99 | xboxEnableFitness: 0 100 | visibleInBackground: 1 101 | allowFullscreenSwitch: 1 102 | fullscreenMode: 1 103 | xboxSpeechDB: 0 104 | xboxEnableHeadOrientation: 0 105 | xboxEnableGuest: 0 106 | xboxEnablePIXSampling: 0 107 | metalFramebufferOnly: 0 108 | xboxOneResolution: 0 109 | xboxOneSResolution: 0 110 | xboxOneXResolution: 3 111 | xboxOneMonoLoggingLevel: 0 112 | xboxOneLoggingLevel: 1 113 | xboxOneDisableEsram: 0 114 | xboxOneEnableTypeOptimization: 0 115 | xboxOnePresentImmediateThreshold: 0 116 | switchQueueCommandMemory: 0 117 | switchQueueControlMemory: 16384 118 | switchQueueComputeMemory: 262144 119 | switchNVNShaderPoolsGranularity: 33554432 120 | switchNVNDefaultPoolsGranularity: 16777216 121 | switchNVNOtherPoolsGranularity: 16777216 122 | switchNVNMaxPublicTextureIDCount: 0 123 | switchNVNMaxPublicSamplerIDCount: 0 124 | stadiaPresentMode: 0 125 | stadiaTargetFramerate: 0 126 | vulkanNumSwapchainBuffers: 3 127 | vulkanEnableSetSRGBWrite: 0 128 | vulkanEnablePreTransform: 0 129 | vulkanEnableLateAcquireNextImage: 0 130 | m_SupportedAspectRatios: 131 | 4:3: 1 132 | 5:4: 1 133 | 16:10: 1 134 | 16:9: 1 135 | Others: 1 136 | bundleVersion: 0.1 137 | preloadedAssets: [] 138 | metroInputSource: 0 139 | wsaTransparentSwapchain: 0 140 | m_HolographicPauseOnTrackingLoss: 1 141 | xboxOneDisableKinectGpuReservation: 1 142 | xboxOneEnable7thCore: 1 143 | vrSettings: 144 | enable360StereoCapture: 0 145 | isWsaHolographicRemotingEnabled: 0 146 | enableFrameTimingStats: 0 147 | useHDRDisplay: 0 148 | D3DHDRBitDepth: 0 149 | m_ColorGamuts: 00000000 150 | targetPixelDensity: 30 151 | resolutionScalingMode: 0 152 | androidSupportedAspectRatio: 1 153 | androidMaxAspectRatio: 2.1 154 | applicationIdentifier: 155 | Standalone: com.DefaultCompany.NewUnityProject 156 | buildNumber: 157 | Standalone: 0 158 | iPhone: 0 159 | tvOS: 0 160 | overrideDefaultApplicationIdentifier: 0 161 | AndroidBundleVersionCode: 1 162 | AndroidMinSdkVersion: 19 163 | AndroidTargetSdkVersion: 0 164 | AndroidPreferredInstallLocation: 1 165 | aotOptions: 166 | stripEngineCode: 1 167 | iPhoneStrippingLevel: 0 168 | iPhoneScriptCallOptimization: 0 169 | ForceInternetPermission: 0 170 | ForceSDCardPermission: 0 171 | CreateWallpaper: 0 172 | APKExpansionFiles: 0 173 | keepLoadedShadersAlive: 0 174 | StripUnusedMeshComponents: 1 175 | VertexChannelCompressionMask: 4054 176 | iPhoneSdkVersion: 988 177 | iOSTargetOSVersionString: 11.0 178 | tvOSSdkVersion: 0 179 | tvOSRequireExtendedGameController: 0 180 | tvOSTargetOSVersionString: 11.0 181 | uIPrerenderedIcon: 0 182 | uIRequiresPersistentWiFi: 0 183 | uIRequiresFullScreen: 1 184 | uIStatusBarHidden: 1 185 | uIExitOnSuspend: 0 186 | uIStatusBarStyle: 0 187 | appleTVSplashScreen: {fileID: 0} 188 | appleTVSplashScreen2x: {fileID: 0} 189 | tvOSSmallIconLayers: [] 190 | tvOSSmallIconLayers2x: [] 191 | tvOSLargeIconLayers: [] 192 | tvOSLargeIconLayers2x: [] 193 | tvOSTopShelfImageLayers: [] 194 | tvOSTopShelfImageLayers2x: [] 195 | tvOSTopShelfImageWideLayers: [] 196 | tvOSTopShelfImageWideLayers2x: [] 197 | iOSLaunchScreenType: 0 198 | iOSLaunchScreenPortrait: {fileID: 0} 199 | iOSLaunchScreenLandscape: {fileID: 0} 200 | iOSLaunchScreenBackgroundColor: 201 | serializedVersion: 2 202 | rgba: 0 203 | iOSLaunchScreenFillPct: 100 204 | iOSLaunchScreenSize: 100 205 | iOSLaunchScreenCustomXibPath: 206 | iOSLaunchScreeniPadType: 0 207 | iOSLaunchScreeniPadImage: {fileID: 0} 208 | iOSLaunchScreeniPadBackgroundColor: 209 | serializedVersion: 2 210 | rgba: 0 211 | iOSLaunchScreeniPadFillPct: 100 212 | iOSLaunchScreeniPadSize: 100 213 | iOSLaunchScreeniPadCustomXibPath: 214 | iOSLaunchScreenCustomStoryboardPath: 215 | iOSLaunchScreeniPadCustomStoryboardPath: 216 | iOSDeviceRequirements: [] 217 | iOSURLSchemes: [] 218 | iOSBackgroundModes: 0 219 | iOSMetalForceHardShadows: 0 220 | metalEditorSupport: 1 221 | metalAPIValidation: 1 222 | iOSRenderExtraFrameOnPause: 0 223 | iosCopyPluginsCodeInsteadOfSymlink: 0 224 | appleDeveloperTeamID: 225 | iOSManualSigningProvisioningProfileID: 226 | tvOSManualSigningProvisioningProfileID: 227 | iOSManualSigningProvisioningProfileType: 0 228 | tvOSManualSigningProvisioningProfileType: 0 229 | appleEnableAutomaticSigning: 0 230 | iOSRequireARKit: 0 231 | iOSAutomaticallyDetectAndAddCapabilities: 1 232 | appleEnableProMotion: 0 233 | shaderPrecisionModel: 0 234 | clonedFromGUID: c0afd0d1d80e3634a9dac47e8a0426ea 235 | templatePackageId: com.unity.template.3d@4.2.8 236 | templateDefaultScene: Assets/Scenes/SampleScene.unity 237 | useCustomMainManifest: 0 238 | useCustomLauncherManifest: 0 239 | useCustomMainGradleTemplate: 0 240 | useCustomLauncherGradleManifest: 0 241 | useCustomBaseGradleTemplate: 0 242 | useCustomGradlePropertiesTemplate: 0 243 | useCustomProguardFile: 0 244 | AndroidTargetArchitectures: 1 245 | AndroidSplashScreenScale: 0 246 | androidSplashScreen: {fileID: 0} 247 | AndroidKeystoreName: 248 | AndroidKeyaliasName: 249 | AndroidBuildApkPerCpuArchitecture: 0 250 | AndroidTVCompatibility: 0 251 | AndroidIsGame: 1 252 | AndroidEnableTango: 0 253 | androidEnableBanner: 1 254 | androidUseLowAccuracyLocation: 0 255 | androidUseCustomKeystore: 0 256 | m_AndroidBanners: 257 | - width: 320 258 | height: 180 259 | banner: {fileID: 0} 260 | androidGamepadSupportLevel: 0 261 | AndroidMinifyWithR8: 0 262 | AndroidMinifyRelease: 0 263 | AndroidMinifyDebug: 0 264 | AndroidValidateAppBundleSize: 1 265 | AndroidAppBundleSizeToValidate: 150 266 | m_BuildTargetIcons: [] 267 | m_BuildTargetPlatformIcons: [] 268 | m_BuildTargetBatching: 269 | - m_BuildTarget: Standalone 270 | m_StaticBatching: 1 271 | m_DynamicBatching: 0 272 | - m_BuildTarget: tvOS 273 | m_StaticBatching: 1 274 | m_DynamicBatching: 0 275 | - m_BuildTarget: Android 276 | m_StaticBatching: 1 277 | m_DynamicBatching: 0 278 | - m_BuildTarget: iPhone 279 | m_StaticBatching: 1 280 | m_DynamicBatching: 0 281 | - m_BuildTarget: WebGL 282 | m_StaticBatching: 0 283 | m_DynamicBatching: 0 284 | m_BuildTargetGraphicsJobs: 285 | - m_BuildTarget: MacStandaloneSupport 286 | m_GraphicsJobs: 0 287 | - m_BuildTarget: Switch 288 | m_GraphicsJobs: 1 289 | - m_BuildTarget: MetroSupport 290 | m_GraphicsJobs: 1 291 | - m_BuildTarget: AppleTVSupport 292 | m_GraphicsJobs: 0 293 | - m_BuildTarget: BJMSupport 294 | m_GraphicsJobs: 1 295 | - m_BuildTarget: LinuxStandaloneSupport 296 | m_GraphicsJobs: 1 297 | - m_BuildTarget: PS4Player 298 | m_GraphicsJobs: 1 299 | - m_BuildTarget: iOSSupport 300 | m_GraphicsJobs: 0 301 | - m_BuildTarget: WindowsStandaloneSupport 302 | m_GraphicsJobs: 1 303 | - m_BuildTarget: XboxOnePlayer 304 | m_GraphicsJobs: 1 305 | - m_BuildTarget: LuminSupport 306 | m_GraphicsJobs: 0 307 | - m_BuildTarget: AndroidPlayer 308 | m_GraphicsJobs: 0 309 | - m_BuildTarget: WebGLSupport 310 | m_GraphicsJobs: 0 311 | m_BuildTargetGraphicsJobMode: 312 | - m_BuildTarget: PS4Player 313 | m_GraphicsJobMode: 0 314 | - m_BuildTarget: XboxOnePlayer 315 | m_GraphicsJobMode: 0 316 | m_BuildTargetGraphicsAPIs: 317 | - m_BuildTarget: AndroidPlayer 318 | m_APIs: 150000000b000000 319 | m_Automatic: 0 320 | - m_BuildTarget: iOSSupport 321 | m_APIs: 10000000 322 | m_Automatic: 1 323 | - m_BuildTarget: AppleTVSupport 324 | m_APIs: 10000000 325 | m_Automatic: 1 326 | - m_BuildTarget: WebGLSupport 327 | m_APIs: 0b000000 328 | m_Automatic: 1 329 | m_BuildTargetVRSettings: 330 | - m_BuildTarget: Standalone 331 | m_Enabled: 0 332 | m_Devices: 333 | - Oculus 334 | - OpenVR 335 | openGLRequireES31: 0 336 | openGLRequireES31AEP: 0 337 | openGLRequireES32: 0 338 | m_TemplateCustomTags: {} 339 | mobileMTRendering: 340 | Android: 1 341 | iPhone: 1 342 | tvOS: 1 343 | m_BuildTargetGroupLightmapEncodingQuality: [] 344 | m_BuildTargetGroupLightmapSettings: [] 345 | m_BuildTargetNormalMapEncoding: [] 346 | playModeTestRunnerEnabled: 0 347 | runPlayModeTestAsEditModeTest: 0 348 | actionOnDotNetUnhandledException: 1 349 | enableInternalProfiler: 0 350 | logObjCUncaughtExceptions: 1 351 | enableCrashReportAPI: 0 352 | cameraUsageDescription: 353 | locationUsageDescription: 354 | microphoneUsageDescription: 355 | switchNMETAOverride: 356 | switchNetLibKey: 357 | switchSocketMemoryPoolSize: 6144 358 | switchSocketAllocatorPoolSize: 128 359 | switchSocketConcurrencyLimit: 14 360 | switchScreenResolutionBehavior: 2 361 | switchUseCPUProfiler: 0 362 | switchUseGOLDLinker: 0 363 | switchApplicationID: 0x01004b9000490000 364 | switchNSODependencies: 365 | switchTitleNames_0: 366 | switchTitleNames_1: 367 | switchTitleNames_2: 368 | switchTitleNames_3: 369 | switchTitleNames_4: 370 | switchTitleNames_5: 371 | switchTitleNames_6: 372 | switchTitleNames_7: 373 | switchTitleNames_8: 374 | switchTitleNames_9: 375 | switchTitleNames_10: 376 | switchTitleNames_11: 377 | switchTitleNames_12: 378 | switchTitleNames_13: 379 | switchTitleNames_14: 380 | switchTitleNames_15: 381 | switchPublisherNames_0: 382 | switchPublisherNames_1: 383 | switchPublisherNames_2: 384 | switchPublisherNames_3: 385 | switchPublisherNames_4: 386 | switchPublisherNames_5: 387 | switchPublisherNames_6: 388 | switchPublisherNames_7: 389 | switchPublisherNames_8: 390 | switchPublisherNames_9: 391 | switchPublisherNames_10: 392 | switchPublisherNames_11: 393 | switchPublisherNames_12: 394 | switchPublisherNames_13: 395 | switchPublisherNames_14: 396 | switchPublisherNames_15: 397 | switchIcons_0: {fileID: 0} 398 | switchIcons_1: {fileID: 0} 399 | switchIcons_2: {fileID: 0} 400 | switchIcons_3: {fileID: 0} 401 | switchIcons_4: {fileID: 0} 402 | switchIcons_5: {fileID: 0} 403 | switchIcons_6: {fileID: 0} 404 | switchIcons_7: {fileID: 0} 405 | switchIcons_8: {fileID: 0} 406 | switchIcons_9: {fileID: 0} 407 | switchIcons_10: {fileID: 0} 408 | switchIcons_11: {fileID: 0} 409 | switchIcons_12: {fileID: 0} 410 | switchIcons_13: {fileID: 0} 411 | switchIcons_14: {fileID: 0} 412 | switchIcons_15: {fileID: 0} 413 | switchSmallIcons_0: {fileID: 0} 414 | switchSmallIcons_1: {fileID: 0} 415 | switchSmallIcons_2: {fileID: 0} 416 | switchSmallIcons_3: {fileID: 0} 417 | switchSmallIcons_4: {fileID: 0} 418 | switchSmallIcons_5: {fileID: 0} 419 | switchSmallIcons_6: {fileID: 0} 420 | switchSmallIcons_7: {fileID: 0} 421 | switchSmallIcons_8: {fileID: 0} 422 | switchSmallIcons_9: {fileID: 0} 423 | switchSmallIcons_10: {fileID: 0} 424 | switchSmallIcons_11: {fileID: 0} 425 | switchSmallIcons_12: {fileID: 0} 426 | switchSmallIcons_13: {fileID: 0} 427 | switchSmallIcons_14: {fileID: 0} 428 | switchSmallIcons_15: {fileID: 0} 429 | switchManualHTML: 430 | switchAccessibleURLs: 431 | switchLegalInformation: 432 | switchMainThreadStackSize: 1048576 433 | switchPresenceGroupId: 434 | switchLogoHandling: 0 435 | switchReleaseVersion: 0 436 | switchDisplayVersion: 1.0.0 437 | switchStartupUserAccount: 0 438 | switchTouchScreenUsage: 0 439 | switchSupportedLanguagesMask: 0 440 | switchLogoType: 0 441 | switchApplicationErrorCodeCategory: 442 | switchUserAccountSaveDataSize: 0 443 | switchUserAccountSaveDataJournalSize: 0 444 | switchApplicationAttribute: 0 445 | switchCardSpecSize: -1 446 | switchCardSpecClock: -1 447 | switchRatingsMask: 0 448 | switchRatingsInt_0: 0 449 | switchRatingsInt_1: 0 450 | switchRatingsInt_2: 0 451 | switchRatingsInt_3: 0 452 | switchRatingsInt_4: 0 453 | switchRatingsInt_5: 0 454 | switchRatingsInt_6: 0 455 | switchRatingsInt_7: 0 456 | switchRatingsInt_8: 0 457 | switchRatingsInt_9: 0 458 | switchRatingsInt_10: 0 459 | switchRatingsInt_11: 0 460 | switchRatingsInt_12: 0 461 | switchLocalCommunicationIds_0: 462 | switchLocalCommunicationIds_1: 463 | switchLocalCommunicationIds_2: 464 | switchLocalCommunicationIds_3: 465 | switchLocalCommunicationIds_4: 466 | switchLocalCommunicationIds_5: 467 | switchLocalCommunicationIds_6: 468 | switchLocalCommunicationIds_7: 469 | switchParentalControl: 0 470 | switchAllowsScreenshot: 1 471 | switchAllowsVideoCapturing: 1 472 | switchAllowsRuntimeAddOnContentInstall: 0 473 | switchDataLossConfirmation: 0 474 | switchUserAccountLockEnabled: 0 475 | switchSystemResourceMemory: 16777216 476 | switchSupportedNpadStyles: 22 477 | switchNativeFsCacheSize: 32 478 | switchIsHoldTypeHorizontal: 0 479 | switchSupportedNpadCount: 8 480 | switchSocketConfigEnabled: 0 481 | switchTcpInitialSendBufferSize: 32 482 | switchTcpInitialReceiveBufferSize: 64 483 | switchTcpAutoSendBufferSizeMax: 256 484 | switchTcpAutoReceiveBufferSizeMax: 256 485 | switchUdpSendBufferSize: 9 486 | switchUdpReceiveBufferSize: 42 487 | switchSocketBufferEfficiency: 4 488 | switchSocketInitializeEnabled: 1 489 | switchNetworkInterfaceManagerInitializeEnabled: 1 490 | switchPlayerConnectionEnabled: 1 491 | switchUseNewStyleFilepaths: 0 492 | switchUseMicroSleepForYield: 1 493 | switchMicroSleepForYieldTime: 25 494 | ps4NPAgeRating: 12 495 | ps4NPTitleSecret: 496 | ps4NPTrophyPackPath: 497 | ps4ParentalLevel: 11 498 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 499 | ps4Category: 0 500 | ps4MasterVersion: 01.00 501 | ps4AppVersion: 01.00 502 | ps4AppType: 0 503 | ps4ParamSfxPath: 504 | ps4VideoOutPixelFormat: 0 505 | ps4VideoOutInitialWidth: 1920 506 | ps4VideoOutBaseModeInitialWidth: 1920 507 | ps4VideoOutReprojectionRate: 60 508 | ps4PronunciationXMLPath: 509 | ps4PronunciationSIGPath: 510 | ps4BackgroundImagePath: 511 | ps4StartupImagePath: 512 | ps4StartupImagesFolder: 513 | ps4IconImagesFolder: 514 | ps4SaveDataImagePath: 515 | ps4SdkOverride: 516 | ps4BGMPath: 517 | ps4ShareFilePath: 518 | ps4ShareOverlayImagePath: 519 | ps4PrivacyGuardImagePath: 520 | ps4ExtraSceSysFile: 521 | ps4NPtitleDatPath: 522 | ps4RemotePlayKeyAssignment: -1 523 | ps4RemotePlayKeyMappingDir: 524 | ps4PlayTogetherPlayerCount: 0 525 | ps4EnterButtonAssignment: 1 526 | ps4ApplicationParam1: 0 527 | ps4ApplicationParam2: 0 528 | ps4ApplicationParam3: 0 529 | ps4ApplicationParam4: 0 530 | ps4DownloadDataSize: 0 531 | ps4GarlicHeapSize: 2048 532 | ps4ProGarlicHeapSize: 2560 533 | playerPrefsMaxSize: 32768 534 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 535 | ps4pnSessions: 1 536 | ps4pnPresence: 1 537 | ps4pnFriends: 1 538 | ps4pnGameCustomData: 1 539 | playerPrefsSupport: 0 540 | enableApplicationExit: 0 541 | resetTempFolder: 1 542 | restrictedAudioUsageRights: 0 543 | ps4UseResolutionFallback: 0 544 | ps4ReprojectionSupport: 0 545 | ps4UseAudio3dBackend: 0 546 | ps4UseLowGarlicFragmentationMode: 1 547 | ps4SocialScreenEnabled: 0 548 | ps4ScriptOptimizationLevel: 0 549 | ps4Audio3dVirtualSpeakerCount: 14 550 | ps4attribCpuUsage: 0 551 | ps4PatchPkgPath: 552 | ps4PatchLatestPkgPath: 553 | ps4PatchChangeinfoPath: 554 | ps4PatchDayOne: 0 555 | ps4attribUserManagement: 0 556 | ps4attribMoveSupport: 0 557 | ps4attrib3DSupport: 0 558 | ps4attribShareSupport: 0 559 | ps4attribExclusiveVR: 0 560 | ps4disableAutoHideSplash: 0 561 | ps4videoRecordingFeaturesUsed: 0 562 | ps4contentSearchFeaturesUsed: 0 563 | ps4CompatibilityPS5: 0 564 | ps4GPU800MHz: 1 565 | ps4attribEyeToEyeDistanceSettingVR: 0 566 | ps4IncludedModules: [] 567 | ps4attribVROutputEnabled: 0 568 | monoEnv: 569 | splashScreenBackgroundSourceLandscape: {fileID: 0} 570 | splashScreenBackgroundSourcePortrait: {fileID: 0} 571 | blurSplashScreenBackground: 1 572 | spritePackerPolicy: 573 | webGLMemorySize: 16 574 | webGLExceptionSupport: 1 575 | webGLNameFilesAsHashes: 0 576 | webGLDataCaching: 1 577 | webGLDebugSymbols: 0 578 | webGLEmscriptenArgs: 579 | webGLModulesDirectory: 580 | webGLTemplate: APPLICATION:Default 581 | webGLAnalyzeBuildSize: 0 582 | webGLUseEmbeddedResources: 0 583 | webGLCompressionFormat: 1 584 | webGLWasmArithmeticExceptions: 0 585 | webGLLinkerTarget: 1 586 | webGLThreadsSupport: 0 587 | webGLDecompressionFallback: 0 588 | scriptingDefineSymbols: 589 | 1: ODIN_INSPECTOR;ODIN_INSPECTOR_3 590 | additionalCompilerArguments: {} 591 | platformArchitecture: {} 592 | scriptingBackend: {} 593 | il2cppCompilerConfiguration: {} 594 | managedStrippingLevel: {} 595 | incrementalIl2cppBuild: {} 596 | suppressCommonWarnings: 1 597 | allowUnsafeCode: 0 598 | useDeterministicCompilation: 1 599 | useReferenceAssemblies: 1 600 | enableRoslynAnalyzers: 1 601 | additionalIl2CppArgs: 602 | scriptingRuntimeVersion: 1 603 | gcIncremental: 0 604 | assemblyVersionValidation: 1 605 | gcWBarrierValidation: 0 606 | apiCompatibilityLevelPerPlatform: 607 | Standalone: 3 608 | m_RenderingPath: 1 609 | m_MobileRenderingPath: 1 610 | metroPackageName: Template_3D 611 | metroPackageVersion: 612 | metroCertificatePath: 613 | metroCertificatePassword: 614 | metroCertificateSubject: 615 | metroCertificateIssuer: 616 | metroCertificateNotAfter: 0000000000000000 617 | metroApplicationDescription: Template_3D 618 | wsaImages: {} 619 | metroTileShortName: 620 | metroTileShowName: 0 621 | metroMediumTileShowName: 0 622 | metroLargeTileShowName: 0 623 | metroWideTileShowName: 0 624 | metroSupportStreamingInstall: 0 625 | metroLastRequiredScene: 0 626 | metroDefaultTileSize: 1 627 | metroTileForegroundText: 2 628 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 629 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, 630 | a: 1} 631 | metroSplashScreenUseBackgroundColor: 0 632 | platformCapabilities: {} 633 | metroTargetDeviceFamilies: {} 634 | metroFTAName: 635 | metroFTAFileTypes: [] 636 | metroProtocolName: 637 | XboxOneProductId: 638 | XboxOneUpdateKey: 639 | XboxOneSandboxId: 640 | XboxOneContentId: 641 | XboxOneTitleId: 642 | XboxOneSCId: 643 | XboxOneGameOsOverridePath: 644 | XboxOnePackagingOverridePath: 645 | XboxOneAppManifestOverridePath: 646 | XboxOneVersion: 1.0.0.0 647 | XboxOnePackageEncryption: 0 648 | XboxOnePackageUpdateGranularity: 2 649 | XboxOneDescription: 650 | XboxOneLanguage: 651 | - enus 652 | XboxOneCapability: [] 653 | XboxOneGameRating: {} 654 | XboxOneIsContentPackage: 0 655 | XboxOneEnhancedXboxCompatibilityMode: 0 656 | XboxOneEnableGPUVariability: 1 657 | XboxOneSockets: {} 658 | XboxOneSplashScreen: {fileID: 0} 659 | XboxOneAllowedProductIds: [] 660 | XboxOnePersistentLocalStorageSize: 0 661 | XboxOneXTitleMemory: 8 662 | XboxOneOverrideIdentityName: 663 | XboxOneOverrideIdentityPublisher: 664 | vrEditorSettings: {} 665 | cloudServicesEnabled: 666 | UNet: 1 667 | luminIcon: 668 | m_Name: 669 | m_ModelFolderPath: 670 | m_PortalFolderPath: 671 | luminCert: 672 | m_CertPath: 673 | m_SignPackage: 1 674 | luminIsChannelApp: 0 675 | luminVersion: 676 | m_VersionCode: 1 677 | m_VersionName: 678 | apiCompatibilityLevel: 6 679 | activeInputHandler: 0 680 | cloudProjectId: 681 | framebufferDepthMemorylessMode: 0 682 | qualitySettingsNames: [] 683 | projectName: 684 | organizationId: 685 | cloudEnabled: 0 686 | legacyClampBlendShapeWeights: 0 687 | virtualTexturingSupportEnabled: 0 688 | --------------------------------------------------------------------------------