├── README.en.md ├── ProjectSettings ├── ProjectVersion.txt ├── ClusterInputManager.asset ├── PresetManager.asset ├── EditorBuildSettings.asset ├── TimeManager.asset ├── VFXManager.asset ├── AudioManager.asset ├── TagManager.asset ├── EditorSettings.asset ├── UnityConnectSettings.asset ├── DynamicsManager.asset ├── NavMeshAreas.asset ├── Physics2DSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── QualitySettings.asset └── ProjectSettings.asset ├── Assets ├── MintAnimation │ ├── README.en.md │ ├── CHANGELOG.md │ ├── Runtime │ │ ├── Core │ │ │ ├── Handle.meta │ │ │ ├── IMintTweenBehaviour.cs.meta │ │ │ ├── MintTweenOptions.cs.meta │ │ │ ├── Handle │ │ │ │ ├── MintHandleColor.cs.meta │ │ │ │ ├── MintHandleFloat.cs.meta │ │ │ │ ├── MintHandleVector3.cs.meta │ │ │ │ ├── MintHandleColor.cs │ │ │ │ ├── MintHandleVector3.cs │ │ │ │ └── MintHandleFloat.cs │ │ │ ├── MintAnimationDataColor.cs.meta │ │ │ ├── MintAnimationDataFloat.cs.meta │ │ │ ├── MintAnimationDataVector.cs.meta │ │ │ ├── IMintTweenBehaviour.cs │ │ │ ├── Data.meta │ │ │ ├── Drive.meta │ │ │ ├── EnumType.meta │ │ │ ├── Expansion.meta │ │ │ ├── MintAnimation.Core.asmdef.meta │ │ │ ├── EnumType │ │ │ │ ├── PlayEndAction.cs │ │ │ │ ├── DriveEnum.cs.meta │ │ │ │ ├── PlayEndAction.cs.meta │ │ │ │ └── DriveEnum.cs │ │ │ ├── MintAnimationDataFloat.cs │ │ │ ├── MintTweener.cs.meta │ │ │ ├── MintEaseMethod.cs.meta │ │ │ ├── Data │ │ │ │ ├── MintTweenDataBase.cs.meta │ │ │ │ └── MintTweenDataBase.cs │ │ │ ├── Drive │ │ │ │ ├── MintDriveComponent.cs.meta │ │ │ │ ├── MintDriveComponentSinge.cs.meta │ │ │ │ ├── MintDriveComponentSinge.cs │ │ │ │ └── MintDriveComponent.cs │ │ │ ├── Expansion │ │ │ │ ├── TransformExpansion.cs.meta │ │ │ │ └── TransformExpansion.cs │ │ │ ├── MintAnimationDataColor.cs │ │ │ ├── MintAnimationDataVector.cs │ │ │ ├── MintAnimation.Core.asmdef │ │ │ ├── MintTweenOptions.cs │ │ │ ├── MintTweener.cs │ │ │ └── MintEaseMethod.cs │ │ ├── Components │ │ │ ├── MintAnimationComponent.cs.meta │ │ │ ├── MintAnimation.asmdef.meta │ │ │ ├── MintAnimation_Base.cs.meta │ │ │ ├── MintAnimation_Color.cs.meta │ │ │ ├── MintAnimation_Scale.cs.meta │ │ │ ├── MintAnimation_CanvasAlpha.cs.meta │ │ │ ├── MintAnimation_Position.cs.meta │ │ │ ├── MintAnimation_Rotation.cs.meta │ │ │ ├── MintAnimation.asmdef │ │ │ ├── MintAnimationComponent.cs │ │ │ ├── MintAnimation_Scale.cs │ │ │ ├── MintAnimation_CanvasAlpha.cs │ │ │ ├── MintAnimation_Rotation.cs │ │ │ ├── MintAnimation_Color.cs │ │ │ ├── MintAnimation_Base.cs │ │ │ └── MintAnimation_Position.cs │ │ ├── Core.meta │ │ └── Components.meta │ ├── README.md │ ├── README.md.meta │ ├── CHANGELOG.md.meta │ ├── README.en.md.meta │ ├── package.json.meta │ ├── Editor.meta │ ├── Runtime.meta │ ├── Tests.meta │ ├── Tests │ │ ├── Scene1_UIAnimation.unity.meta │ │ └── Scene1_UIAnimation.unity │ ├── Editor │ │ ├── MintAnimation.Editor.asmdef.meta │ │ ├── MintAnimation_EditorBase.cs.meta │ │ ├── MintAnimation_EditorColor.cs.meta │ │ ├── MintAnimation_EditorPosition.cs.meta │ │ ├── MintAnimation_EditorRotation.cs.meta │ │ ├── MintAnimation_EditorScale.cs.meta │ │ ├── MintAnimation_EditorCanvasAlpha.cs.meta │ │ ├── MintAnimation.Editor.asmdef │ │ ├── MintAnimation_EditorColor.cs │ │ ├── MintAnimation_EditorCanvasAlpha.cs │ │ ├── MintAnimation_EditorScale.cs │ │ ├── MintAnimation_EditorRotation.cs │ │ ├── MintAnimation_EditorPosition.cs │ │ └── MintAnimation_EditorBase.cs │ └── package.json ├── Plugins │ ├── Editor │ │ ├── JetBrains │ │ │ ├── JetBrains.Rider.Unity.Editor.Plugin.Repacked.dll │ │ │ └── JetBrains.Rider.Unity.Editor.Plugin.Repacked.dll.meta │ │ └── JetBrains.meta │ └── Editor.meta ├── Plugins.meta └── MintAnimation.meta ├── .idea └── .idea.MintAnimation │ ├── .idea │ ├── .gitignore │ ├── vcs.xml │ ├── projectSettingsUpdater.xml │ ├── misc.xml │ ├── modules.xml │ ├── indexLayout.xml │ └── contentModel.xml │ └── riderModule.iml ├── ReadmeResource ├── 1.gif ├── 1.png ├── 10.gif ├── 11.gif ├── 12.gif ├── 13.gif ├── 14.gif ├── 15.gif ├── 16.gif ├── 17.gif ├── 18.gif ├── 19.gif ├── 2.gif ├── 2.png ├── 3.gif ├── 4.gif ├── 5.gif ├── 6.gif ├── 7.gif ├── 8.gif ├── 9.gif ├── Color.png ├── Scale.png ├── Position.png ├── Rotation.png └── CanvasAlpha.png ├── .gitignore ├── Packages └── manifest.json ├── README.md └── LICENSE /README.en.md: -------------------------------------------------------------------------------- 1 | # MintAnimation 2 | 3 | #### Description 4 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2018.3.9f1 2 | -------------------------------------------------------------------------------- /Assets/MintAnimation/README.en.md: -------------------------------------------------------------------------------- 1 | # MintAnimation 2 | 3 | #### Description 4 | -------------------------------------------------------------------------------- /.idea/.idea.MintAnimation/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /workspace.xml -------------------------------------------------------------------------------- /ReadmeResource/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/ReadmeResource/1.gif -------------------------------------------------------------------------------- /ReadmeResource/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/ReadmeResource/1.png -------------------------------------------------------------------------------- /ReadmeResource/10.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/ReadmeResource/10.gif -------------------------------------------------------------------------------- /ReadmeResource/11.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/ReadmeResource/11.gif -------------------------------------------------------------------------------- /ReadmeResource/12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/ReadmeResource/12.gif -------------------------------------------------------------------------------- /ReadmeResource/13.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/ReadmeResource/13.gif -------------------------------------------------------------------------------- /ReadmeResource/14.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/ReadmeResource/14.gif -------------------------------------------------------------------------------- /ReadmeResource/15.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/ReadmeResource/15.gif -------------------------------------------------------------------------------- /ReadmeResource/16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/ReadmeResource/16.gif -------------------------------------------------------------------------------- /ReadmeResource/17.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/ReadmeResource/17.gif -------------------------------------------------------------------------------- /ReadmeResource/18.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/ReadmeResource/18.gif -------------------------------------------------------------------------------- /ReadmeResource/19.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/ReadmeResource/19.gif -------------------------------------------------------------------------------- /ReadmeResource/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/ReadmeResource/2.gif -------------------------------------------------------------------------------- /ReadmeResource/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/ReadmeResource/2.png -------------------------------------------------------------------------------- /ReadmeResource/3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/ReadmeResource/3.gif -------------------------------------------------------------------------------- /ReadmeResource/4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/ReadmeResource/4.gif -------------------------------------------------------------------------------- /ReadmeResource/5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/ReadmeResource/5.gif -------------------------------------------------------------------------------- /ReadmeResource/6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/ReadmeResource/6.gif -------------------------------------------------------------------------------- /ReadmeResource/7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/ReadmeResource/7.gif -------------------------------------------------------------------------------- /ReadmeResource/8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/ReadmeResource/8.gif -------------------------------------------------------------------------------- /ReadmeResource/9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/ReadmeResource/9.gif -------------------------------------------------------------------------------- /ReadmeResource/Color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/ReadmeResource/Color.png -------------------------------------------------------------------------------- /ReadmeResource/Scale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/ReadmeResource/Scale.png -------------------------------------------------------------------------------- /ReadmeResource/Position.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/ReadmeResource/Position.png -------------------------------------------------------------------------------- /ReadmeResource/Rotation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/ReadmeResource/Rotation.png -------------------------------------------------------------------------------- /ReadmeResource/CanvasAlpha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/ReadmeResource/CanvasAlpha.png -------------------------------------------------------------------------------- /Assets/MintAnimation/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/Assets/MintAnimation/CHANGELOG.md -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/Handle.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8d7ecac7fcc9470d99a5b6fe204717f8 3 | timeCreated: 1563984016 -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/IMintTweenBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 61ea0a52e3c0421d83160569c52f3541 3 | timeCreated: 1563983211 -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/MintTweenOptions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 445c085aa0104826828b4339ccc454f2 3 | timeCreated: 1560073416 -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/Handle/MintHandleColor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d36a295de2724dfe8e435165bdb9455f 3 | timeCreated: 1560071807 -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/Handle/MintHandleFloat.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3ec4f98f952f4a8a95acf62c3a0b710d 3 | timeCreated: 1560071361 -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/Handle/MintHandleVector3.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fa627cb5d1054b2dbfeff227dec22bb9 3 | timeCreated: 1560071675 -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/MintAnimationDataColor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 09c0c9fab94d4078bac64554d2e028cf 3 | timeCreated: 1564055684 -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/MintAnimationDataFloat.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f47b1398f24d451bb4540df6a03847d8 3 | timeCreated: 1564055529 -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/MintAnimationDataVector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bca75bae78664ec79fd17b73369f6246 3 | timeCreated: 1564055633 -------------------------------------------------------------------------------- /Assets/MintAnimation/README.md: -------------------------------------------------------------------------------- 1 | # MintAnimation 2 | 3 | #### 简介 4 | MintAnimation是一款轻量级动画插件,在保证性能的情况下能够灵活简单的为你的UI/GameObject添加多样的动画。同时也可以通过该插件快速制作自定义动画。 5 | 6 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Components/MintAnimationComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: deb285c6ce49411cae0357d1eccced07 3 | timeCreated: 1564478121 -------------------------------------------------------------------------------- /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 | m_DefaultList: [] 7 | -------------------------------------------------------------------------------- /Assets/Plugins/Editor/JetBrains/JetBrains.Rider.Unity.Editor.Plugin.Repacked.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foldcc/MintAnimation/HEAD/Assets/Plugins/Editor/JetBrains/JetBrains.Rider.Unity.Editor.Plugin.Repacked.dll -------------------------------------------------------------------------------- /Assets/MintAnimation/README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b145346eb1a598741a4a9a8e0f75f508 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f4579e9ff2b42c344ac7b4bf432876b3 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/MintAnimation/CHANGELOG.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9faac1161672ff1409298ee53725bc4d 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/MintAnimation/README.en.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 54e8a77d16c8cae4b9f0eb6a0cb39d6a 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/MintAnimation/package.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 971716a75cec2da45b6e58453255e8f9 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/MintAnimation.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2c0ecdbba0f74ea4fb0ce2c7df374454 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a1839cb03374a314ab99b91edce18dc4 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 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c9567f9d75e175e408583734cea95431 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7eeddc9198827f0499d902084e827de4 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/IMintTweenBehaviour.cs: -------------------------------------------------------------------------------- 1 | namespace MintAnimation.Core 2 | { 3 | public interface IMintTweenBehaviour 4 | { 5 | T GetProgress(float nowTime , MintTweenDataBase dataBase); 6 | } 7 | } -------------------------------------------------------------------------------- /Assets/MintAnimation/Tests.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7fac57c469f141a48b4469c8d71ac7b1 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /.idea/.idea.MintAnimation/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1c03d22c63c887c47883530a44da790d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Tests/Scene1_UIAnimation.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bf7dca06efb4c5c48a0ec7be6e55cca0 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Plugins/Editor/JetBrains.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a23a1f0eb24b8474284027745c8474fa 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Components.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d390de241acb5da4f954f501b25fe561 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/Data.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7fa382f34343cc4286e17ecc6dbd958 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/Drive.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 807c8a0f0fd852544bfb4cda08c116b7 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/EnumType.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 18b58ca133ace7743b89090db4dc7e5d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/Expansion.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2baa14c86883a5b438519873d17fdf64 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Editor/MintAnimation.Editor.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aa9eb0a5288a173448847f180b7fd737 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/MintAnimation.Core.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc519166bb6d9d54eb78fbeaea38f961 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /.idea/.idea.MintAnimation/.idea/projectSettingsUpdater.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Components/MintAnimation.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 877641d784f9bf4498396b74a5ceb1e1 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /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.MintAnimation/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/EnumType/PlayEndAction.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | namespace MintAnimation.Core 5 | { 6 | public enum PlayEndAction 7 | { 8 | None, 9 | Disable, 10 | Destory, 11 | DestoryAnimation 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/MintAnimationDataFloat.cs: -------------------------------------------------------------------------------- 1 | namespace MintAnimation.Core 2 | { 3 | [System.Serializable] 4 | public class MintAnimationDataFloat : MintTweenDataBase 5 | { 6 | public MintAnimationDataFloat() 7 | { 8 | Handler = new MintHandleFloat(); 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/MintTweener.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 146e268c4bd809f448c00436109af272 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/MintEaseMethod.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e05ee2a80e0bc6e4cbd92196aae79d37 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Editor/MintAnimation_EditorBase.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0f24411d36ac6c647ab1f5ba48e2fa38 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Editor/MintAnimation_EditorColor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2dd3761d6f87819449907686b095f4cf 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Editor/MintAnimation_EditorPosition.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c2b54f0eb6191344181f39e5e5958d7e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Editor/MintAnimation_EditorRotation.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f613f03f0f4e43f489edea9328beaac1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Editor/MintAnimation_EditorScale.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f4f85409bba2ca741b4fb54ba8fcae05 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/Data/MintTweenDataBase.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f350003c2c9fd09478139a177535ae8a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/EnumType/DriveEnum.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b422369b620177c48a8b4cc1c1f1d671 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/EnumType/PlayEndAction.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d9219a964453aec47a2bc045ee5a6ff7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /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_RenderPipeSettingsPath: 10 | m_FixedTimeStep: 0.016666668 11 | m_MaxDeltaTime: 0.05 12 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Editor/MintAnimation_EditorCanvasAlpha.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1800f501a5bc53c40bb9b5a36011e742 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Components/MintAnimation_Base.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5342dc43e207f6740adc5ddb3dfe671a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Components/MintAnimation_Color.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 83f95c7f08a609946a670339c710bd09 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Components/MintAnimation_Scale.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 40bba28ff00680f4b8b0378519e3cc48 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/Drive/MintDriveComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4c2265d5c82895e42a46df2cc01c5cb1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /.idea/.idea.MintAnimation/riderModule.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Components/MintAnimation_CanvasAlpha.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9bcb3e466eed0924f80ecc376ff1765c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Components/MintAnimation_Position.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0774abfe926ccdb4ca88c670d42aa38e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Components/MintAnimation_Rotation.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ebaaa5443aa3ed649b83466a5ee8f525 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/Drive/MintDriveComponentSinge.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 10274a5bbbffbca4db5fe6965e121ba9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/Expansion/TransformExpansion.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b3b0375fa08686a4791782e4a1a254b7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/MintAnimationDataColor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace MintAnimation.Core 4 | { 5 | [System.Serializable] 6 | public class MintAnimationDataColor : MintTweenDataBase 7 | { 8 | public MintAnimationDataColor() 9 | { 10 | Handler = new MintHandleColor(); 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /.idea/.idea.MintAnimation/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/MintAnimationDataVector.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace MintAnimation.Core 4 | { 5 | [System.Serializable] 6 | public class MintAnimationDataVector : MintTweenDataBase 7 | { 8 | public MintAnimationDataVector() 9 | { 10 | Handler = new MintHandleVector3(); 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/EnumType/DriveEnum.cs: -------------------------------------------------------------------------------- 1 | namespace MintAnimation.Core 2 | { 3 | 4 | public enum DriveEnum { 5 | //自定义驱动器 6 | Custom, 7 | //MintDriveComponentSinge 8 | Globa 9 | } 10 | 11 | public enum UpdaterTypeEnum 12 | { 13 | Update, 14 | FixedUpdate, 15 | Coroutine 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/MintAnimation.Core.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "MintAnimation.Core", 3 | "references": [], 4 | "optionalUnityReferences": [], 5 | "includePlatforms": [], 6 | "excludePlatforms": [], 7 | "allowUnsafeCode": false, 8 | "overrideReferences": false, 9 | "precompiledReferences": [], 10 | "autoReferenced": true, 11 | "defineConstraints": [] 12 | } -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Components/MintAnimation.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "MintAnimation", 3 | "references": [ 4 | "MintAnimation.Core" 5 | ], 6 | "optionalUnityReferences": [], 7 | "includePlatforms": [], 8 | "excludePlatforms": [], 9 | "allowUnsafeCode": false, 10 | "overrideReferences": false, 11 | "precompiledReferences": [], 12 | "autoReferenced": true, 13 | "defineConstraints": [] 14 | } -------------------------------------------------------------------------------- /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 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 1024 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_AmbisonicDecoderPlugin: 16 | m_DisableAudio: 0 17 | m_VirtualizeEffects: 1 18 | -------------------------------------------------------------------------------- /Assets/MintAnimation/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "com.foldcc.mintanimation", 3 | "displayName": "MintAnimation", 4 | "version": "0.2.1", 5 | "unity": "2018.3", 6 | "license": "MIT", 7 | "author" : { 8 | "name" : "foldcc", 9 | "email" : "foldcc@gmail.com", 10 | "url" : "https://github.com/foldcc" 11 | }, 12 | "description": "A quick animation plug-in, suitable for making UI animation", 13 | "keywords": [ "ugui", "animation" ], 14 | "dependencies": { 15 | } 16 | } -------------------------------------------------------------------------------- /Assets/MintAnimation/Editor/MintAnimation.Editor.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "MintAnimation.Editor", 3 | "references": [ 4 | "MintAnimation", 5 | "MintAnimation.Core" 6 | ], 7 | "optionalUnityReferences": [], 8 | "includePlatforms": [ 9 | "Editor" 10 | ], 11 | "excludePlatforms": [], 12 | "allowUnsafeCode": false, 13 | "overrideReferences": false, 14 | "precompiledReferences": [], 15 | "autoReferenced": true, 16 | "defineConstraints": [] 17 | } -------------------------------------------------------------------------------- /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/MintAnimation/Runtime/Components/MintAnimationComponent.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using MintAnimation.Core; 3 | using UnityEngine; 4 | 5 | namespace MintAnimation 6 | { 7 | public abstract class MintAnimationComponent : MonoBehaviour 8 | { 9 | public Action OnComplete; 10 | 11 | public bool IsAutoPlay = true; 12 | public bool AutoStartValue = true; 13 | public PlayEndAction CompleteAction = PlayEndAction.None; 14 | 15 | protected abstract void OnCompleteAction(); 16 | 17 | public abstract void Play(); 18 | 19 | public abstract void Pause(); 20 | 21 | public abstract void Stop(); 22 | 23 | public abstract MintTweenOptions GetOptions(); 24 | 25 | public abstract void SetOptions(MintTweenOptions options); 26 | } 27 | } -------------------------------------------------------------------------------- /Assets/Plugins/Editor/JetBrains/JetBrains.Rider.Unity.Editor.Plugin.Repacked.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fe82a712d8051474aacf284bb9a3803f 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | platformData: 13 | - first: 14 | Any: 15 | second: 16 | enabled: 0 17 | settings: {} 18 | - first: 19 | Editor: Editor 20 | second: 21 | enabled: 1 22 | settings: 23 | DefaultValueInitialized: true 24 | - first: 25 | Windows Store Apps: WindowsStoreApps 26 | second: 27 | enabled: 0 28 | settings: 29 | CPU: AnyCPU 30 | userData: 31 | assetBundleName: 32 | assetBundleVariant: 33 | -------------------------------------------------------------------------------- /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: 7 7 | m_ExternalVersionControlSupport: Hidden Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 2 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 20 | m_ProjectGenerationRootNamespace: 21 | m_CollabEditorSettings: 22 | inProgressEnabled: 1 23 | m_EnableTextureStreamingInPlayMode: 1 24 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | [Ll]ibrary/ 2 | [Tt]emp/ 3 | [Oo]bj/ 4 | [Bb]uild/ 5 | [Bb]uilds/ 6 | [Ll]ogs/ 7 | 8 | # Uncomment this line if you wish to ignore the asset store tools plugin 9 | # [Aa]ssets/AssetStoreTools* 10 | 11 | # Visual Studio cache directory 12 | .vs/ 13 | 14 | # Gradle cache directory 15 | .gradle/ 16 | 17 | # Autogenerated VS/MD/Consulo solution and project files 18 | ExportedObj/ 19 | .consulo/ 20 | *.csproj 21 | *.unityproj 22 | *.sln 23 | *.suo 24 | *.tmp 25 | *.user 26 | *.userprefs 27 | *.pidb 28 | *.booproj 29 | *.svd 30 | *.pdb 31 | *.mdb 32 | *.opendb 33 | *.VC.db 34 | 35 | # Unity3D generated meta files 36 | *.pidb.meta 37 | *.pdb.meta 38 | *.mdb.meta 39 | 40 | # Unity3D generated file on crash reports 41 | sysinfo.txt 42 | 43 | # Builds 44 | *.apk 45 | *.unitypackage 46 | 47 | # Crashlytics generated file 48 | crashlytics-build.properties 49 | 50 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/MintTweenOptions.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace MintAnimation.Core 4 | { 5 | [System.Serializable] 6 | public class MintTweenOptions 7 | { 8 | public float Duration = 0.35f; 9 | 10 | public bool IsBack; 11 | public bool IsLoop; 12 | public bool IsReversal; 13 | public int LoopCount = -1; 14 | 15 | public bool IsCustomEase = false; 16 | public MintEaseMethod EaseType = MintEaseMethod.Linear; 17 | public AnimationCurve TimeCurve = AnimationCurve.EaseInOut(0, 0, 1, 1); 18 | 19 | 20 | public DriveEnum DriveType = DriveEnum.Globa; 21 | public UpdaterTypeEnum UpdaterTypeEnum = UpdaterTypeEnum.Coroutine; 22 | public MintDriveComponent CustomDrive; 23 | } 24 | } -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/Handle/MintHandleColor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace MintAnimation.Core 4 | { 5 | public class MintHandleColor : IMintTweenBehaviour 6 | { 7 | public Color GetProgress(float nowTime , MintTweenDataBase dataBase) 8 | { 9 | if (nowTime < 0) 10 | nowTime = 0; 11 | else if (nowTime > dataBase.Duration) 12 | nowTime = dataBase.Duration; 13 | 14 | if (!dataBase.IsCustomEase) 15 | { 16 | return MintEaseAction.GetEaseAction(dataBase.EaseType, nowTime / dataBase.Duration) * (dataBase.EndValue - dataBase.StartValue) + dataBase.StartValue; 17 | } 18 | else 19 | { 20 | return dataBase.TimeCurve.Evaluate(nowTime / dataBase.Duration) * (dataBase.EndValue - dataBase.StartValue) + dataBase.StartValue; 21 | } 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/Handle/MintHandleVector3.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace MintAnimation.Core 4 | { 5 | public class MintHandleVector3 : IMintTweenBehaviour 6 | { 7 | public Vector3 GetProgress(float nowTime , MintTweenDataBase dataBase) 8 | { 9 | if (nowTime < 0) 10 | nowTime = 0; 11 | else if (nowTime > dataBase.Duration) 12 | nowTime = dataBase.Duration; 13 | 14 | if (!dataBase.IsCustomEase) 15 | { 16 | return MintEaseAction.GetEaseAction(dataBase.EaseType, nowTime / dataBase.Duration) * (dataBase.EndValue - dataBase.StartValue) + dataBase.StartValue; 17 | } 18 | else 19 | { 20 | return dataBase.TimeCurve.Evaluate(nowTime / dataBase.Duration) * (dataBase.EndValue - dataBase.StartValue) + dataBase.StartValue; 21 | } 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/Handle/MintHandleFloat.cs: -------------------------------------------------------------------------------- 1 | namespace MintAnimation.Core 2 | { 3 | public class MintHandleFloat : IMintTweenBehaviour 4 | { 5 | public float GetProgress(float nowTime , MintTweenDataBase dataBase) 6 | { 7 | if (nowTime < 0) 8 | nowTime = 0; 9 | else if (nowTime > dataBase.Duration) 10 | nowTime = dataBase.Duration; 11 | float value = dataBase.StartValue; 12 | if (!dataBase.IsCustomEase) 13 | { 14 | value = MintEaseAction.GetEaseAction(dataBase.EaseType, nowTime / dataBase.Duration) * (dataBase.EndValue - dataBase.StartValue) + dataBase.StartValue; 15 | } 16 | else { 17 | value = dataBase.TimeCurve.Evaluate(nowTime / dataBase.Duration) * (dataBase.EndValue - dataBase.StartValue) + dataBase.StartValue; 18 | } 19 | return value; 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /.idea/.idea.MintAnimation/.idea/indexLayout.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Library/PackageCache/com.unity.ads@2.0.8 7 | Library/PackageCache/com.unity.analytics@3.2.2 8 | Library/PackageCache/com.unity.collab-proxy@1.2.15 9 | Library/PackageCache/com.unity.package-manager-ui@2.0.7 10 | Library/PackageCache/com.unity.purchasing@2.0.3 11 | Library/PackageCache/com.unity.textmeshpro@1.3.0 12 | Packages 13 | ProjectSettings 14 | 15 | 16 | .git 17 | .idea 18 | .vs 19 | Library 20 | Logs 21 | Temp 22 | obj 23 | 24 | 25 | -------------------------------------------------------------------------------- /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/MintAnimation/Runtime/Components/MintAnimation_Scale.cs: -------------------------------------------------------------------------------- 1 | using MintAnimation.Core; 2 | using UnityEngine; 3 | 4 | namespace MintAnimation 5 | { 6 | [AddComponentMenu("MintAnimation/ScaleAnimation", 1)] 7 | public class MintAnimation_Scale : MintAnimation_Base 8 | { 9 | [SerializeField] 10 | private MintAnimationDataVector MintAnimationData = new MintAnimationDataVector(); 11 | 12 | public bool IsSizeDelta; 13 | 14 | protected override void setter(Vector3 value) 15 | { 16 | if (this.IsSizeDelta) 17 | { 18 | ((RectTransform) transform).sizeDelta = value; 19 | } 20 | else 21 | { 22 | transform.localScale = value; 23 | } 24 | } 25 | 26 | protected override MintTweenDataBase getAnimationData() 27 | { 28 | return MintAnimationData; 29 | } 30 | 31 | protected override Vector3 getter() 32 | { 33 | return this.IsSizeDelta ? (Vector3)((RectTransform) transform).sizeDelta : transform.localScale; 34 | } 35 | 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Components/MintAnimation_CanvasAlpha.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using MintAnimation.Core; 4 | using UnityEngine; 5 | 6 | namespace MintAnimation { 7 | 8 | [AddComponentMenu("MintAnimation/CanvasAlphaAnimation", 1) , RequireComponent(typeof(CanvasGroup))] 9 | public class MintAnimation_CanvasAlpha : MintAnimation_Base 10 | { 11 | private CanvasGroup mCanvasGroup; 12 | 13 | [SerializeField] 14 | private MintAnimationDataFloat MintAnimationData = new MintAnimationDataFloat(); 15 | 16 | protected override void init() 17 | { 18 | mCanvasGroup = GetComponent(); 19 | base.init(); 20 | } 21 | 22 | protected override float getter() 23 | { 24 | return mCanvasGroup.alpha; 25 | } 26 | 27 | protected override void setter(float value) 28 | { 29 | mCanvasGroup.alpha = value; 30 | } 31 | 32 | protected override MintTweenDataBase getAnimationData() 33 | { 34 | return MintAnimationData; 35 | } 36 | 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Components/MintAnimation_Rotation.cs: -------------------------------------------------------------------------------- 1 | using MintAnimation.Core; 2 | using UnityEngine; 3 | 4 | namespace MintAnimation 5 | { 6 | [AddComponentMenu("MintAnimation/RotationAnimation", 1)] 7 | public class MintAnimation_Rotation : MintAnimation_Base 8 | { 9 | [SerializeField] 10 | private MintAnimationDataVector MintAnimationData = new MintAnimationDataVector(); 11 | 12 | public bool IsLocal; 13 | 14 | protected override void setter(Vector3 value) 15 | { 16 | if (this.IsLocal) 17 | transform.localRotation = Quaternion.Euler(value); 18 | else 19 | transform.rotation = Quaternion.Euler(value); 20 | } 21 | 22 | protected override MintTweenDataBase getAnimationData() 23 | { 24 | return MintAnimationData; 25 | } 26 | 27 | protected override Vector3 getter() 28 | { 29 | if (this.IsLocal) 30 | return transform.localRotation.eulerAngles; 31 | else 32 | return transform.rotation.eulerAngles; 33 | } 34 | 35 | } 36 | 37 | 38 | } 39 | 40 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/Drive/MintDriveComponentSinge.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace MintAnimation.Core 6 | { 7 | public class MintDriveComponentSinge : MintDriveComponent 8 | { 9 | private static bool mIsInit = false; 10 | private static MintDriveComponentSinge _instance; 11 | public static MintDriveComponentSinge Instance 12 | { 13 | get 14 | { 15 | if (_instance == null && !mIsInit) 16 | { 17 | var objs = FindObjectsOfType(); 18 | for (int i = 0; i < objs.Length; i++) 19 | { 20 | Destroy(objs[i]); 21 | } 22 | _instance = new GameObject().AddComponent(); 23 | _instance.name = "[ MintAnimationDrive ]"; 24 | DontDestroyOnLoad(_instance); 25 | mIsInit = true; 26 | } 27 | return _instance; 28 | } 29 | private set 30 | { 31 | _instance = value; 32 | } 33 | } 34 | 35 | } 36 | } 37 | 38 | 39 | -------------------------------------------------------------------------------- /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: 10 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: 0 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 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Editor/MintAnimation_EditorColor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEditor; 3 | 4 | namespace MintAnimation.Editor 5 | { 6 | [CustomEditor(typeof(MintAnimation.MintAnimation_Color), true), CanEditMultipleObjects] 7 | public class MintAnimation_EditorColor : MintAnimation_EditorBase 8 | { 9 | protected override void Init() 10 | { 11 | base.Init(); 12 | this.AutoStartValue.boolValue = false; 13 | } 14 | 15 | public override void Draw() 16 | { 17 | base.Draw(); 18 | EditorGUILayout.PropertyField(this.MintAnimData.FindPropertyRelative("StartValue")); 19 | EditorGUILayout.PropertyField(this.MintAnimData.FindPropertyRelative("EndValue")); 20 | } 21 | 22 | protected override void DrawTitle() 23 | { 24 | GUIStyle gUIStyle = new GUIStyle(); 25 | gUIStyle.fontSize = 18; 26 | gUIStyle.normal.textColor = new Color32(56, 56, 56, 255); 27 | gUIStyle.normal.background = MintAnimation_EditorBase.GetTexture2D(new Color32(0, 255, 198, 255)); 28 | gUIStyle.alignment = TextAnchor.MiddleCenter; 29 | gUIStyle.margin = new RectOffset(0, 0, 8, 0); 30 | GUILayout.Box(" Mint Color ", gUIStyle); 31 | gUIStyle = null; 32 | } 33 | } 34 | } 35 | 36 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/Expansion/TransformExpansion.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | namespace MintAnimation.Core 3 | { 4 | public static class TransformExpansion 5 | { 6 | public static MintTweener RotationTo(this Transform transform, Vector3 endRotation , float duration , MintEaseMethod easeTypoe = MintEaseMethod.Linear) 7 | { 8 | MintTweenDataBase tweenInfo = new MintTweenDataBase(){ 9 | EaseType = easeTypoe, 10 | Duration = duration 11 | }; 12 | tweenInfo.StartValue = transform.localRotation.eulerAngles; 13 | tweenInfo.EndValue = endRotation; 14 | return new MintTweener(() => transform.localEulerAngles, 15 | rValue => transform.localEulerAngles = rValue, tweenInfo); 16 | } 17 | 18 | public static MintTweener MoveTo(this Transform transform, Vector3 endPosition, float duration, MintEaseMethod easeTypoe = MintEaseMethod.Linear) 19 | { 20 | MintTweenDataBase tweenInfo = new MintTweenDataBase(){ 21 | EaseType = easeTypoe, 22 | Duration = duration 23 | }; 24 | tweenInfo.StartValue = transform.localPosition; 25 | tweenInfo.EndValue = endPosition; 26 | 27 | return new MintTweener(() => transform.localPosition, 28 | rValue => transform.localPosition = rValue, tweenInfo); 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Components/MintAnimation_Color.cs: -------------------------------------------------------------------------------- 1 | using MintAnimation.Core; 2 | using UnityEngine; 3 | using UnityEngine.UI; 4 | 5 | namespace MintAnimation 6 | { 7 | [AddComponentMenu("MintAnimation/ColorAnimation" , 1)] 8 | public class MintAnimation_Color : MintAnimation_Base 9 | { 10 | [SerializeField] 11 | private MintAnimationDataColor MintAnimationData = new MintAnimationDataColor(); 12 | 13 | private Color mGetColor; 14 | private Graphic mGrahic; 15 | private Material mMaterail; 16 | 17 | 18 | protected override void init() 19 | { 20 | this.mGrahic = this.gameObject.GetComponent(); 21 | var m = this.gameObject.GetComponent(); 22 | if (m != null) this.mMaterail = m.material; 23 | AutoStartValue = false; 24 | base.init(); 25 | } 26 | 27 | protected override Color getter() 28 | { 29 | return mGetColor; 30 | } 31 | 32 | protected override void setter(Color rColor) 33 | { 34 | this.mGetColor = rColor; 35 | 36 | if (this.mGrahic != null) 37 | { 38 | this.mGrahic.color = rColor; 39 | } 40 | if (this.mMaterail != null) 41 | { 42 | this.mMaterail.color = rColor; 43 | } 44 | } 45 | protected override MintTweenDataBase getAnimationData() 46 | { 47 | return MintAnimationData; 48 | } 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.ads": "2.0.8", 4 | "com.unity.analytics": "3.2.2", 5 | "com.unity.collab-proxy": "1.2.15", 6 | "com.unity.package-manager-ui": "2.0.7", 7 | "com.unity.purchasing": "2.0.3", 8 | "com.unity.textmeshpro": "1.3.0", 9 | "com.unity.modules.ai": "1.0.0", 10 | "com.unity.modules.animation": "1.0.0", 11 | "com.unity.modules.assetbundle": "1.0.0", 12 | "com.unity.modules.audio": "1.0.0", 13 | "com.unity.modules.cloth": "1.0.0", 14 | "com.unity.modules.director": "1.0.0", 15 | "com.unity.modules.imageconversion": "1.0.0", 16 | "com.unity.modules.imgui": "1.0.0", 17 | "com.unity.modules.jsonserialize": "1.0.0", 18 | "com.unity.modules.particlesystem": "1.0.0", 19 | "com.unity.modules.physics": "1.0.0", 20 | "com.unity.modules.physics2d": "1.0.0", 21 | "com.unity.modules.screencapture": "1.0.0", 22 | "com.unity.modules.terrain": "1.0.0", 23 | "com.unity.modules.terrainphysics": "1.0.0", 24 | "com.unity.modules.tilemap": "1.0.0", 25 | "com.unity.modules.ui": "1.0.0", 26 | "com.unity.modules.uielements": "1.0.0", 27 | "com.unity.modules.umbra": "1.0.0", 28 | "com.unity.modules.unityanalytics": "1.0.0", 29 | "com.unity.modules.unitywebrequest": "1.0.0", 30 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 31 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 32 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 33 | "com.unity.modules.unitywebrequestwww": "1.0.0", 34 | "com.unity.modules.vehicles": "1.0.0", 35 | "com.unity.modules.video": "1.0.0", 36 | "com.unity.modules.vr": "1.0.0", 37 | "com.unity.modules.wind": "1.0.0", 38 | "com.unity.modules.xr": "1.0.0" 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Editor/MintAnimation_EditorCanvasAlpha.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor; 2 | using UnityEngine; 3 | 4 | namespace MintAnimation.Editor { 5 | 6 | [CustomEditor(typeof(MintAnimation.MintAnimation_CanvasAlpha), true), CanEditMultipleObjects] 7 | public class MintAnimation_EditorCanvasAlpha : MintAnimation_EditorBase 8 | { 9 | private SerializedProperty StartAlpha; 10 | private SerializedProperty EndAlpha; 11 | 12 | protected override void Init() 13 | { 14 | base.Init(); 15 | StartAlpha = MintAnimData.FindPropertyRelative("StartValue"); 16 | EndAlpha = MintAnimData.FindPropertyRelative("EndValue"); 17 | } 18 | 19 | 20 | protected override void DrawTitle() 21 | { 22 | GUIStyle gUIStyle = new GUIStyle(); 23 | gUIStyle.fontSize = 18; 24 | gUIStyle.normal.textColor = new Color32(56, 56, 56, 255); 25 | gUIStyle.normal.background = MintAnimation_EditorBase.GetTexture2D(new Color32(138, 255, 0, 255)); 26 | gUIStyle.alignment = TextAnchor.MiddleCenter; 27 | gUIStyle.margin = new RectOffset(0, 0, 8, 0); 28 | GUILayout.Box(" Mint Canvas Alpha ", gUIStyle); 29 | gUIStyle = null; 30 | } 31 | 32 | public override void Draw() 33 | { 34 | base.Draw(); 35 | 36 | EditorGUILayout.PropertyField(AutoStartValue); 37 | GUILayout.Space(10); 38 | 39 | if (!AutoStartValue.boolValue) 40 | { 41 | EditorGUILayout.Slider(StartAlpha, 0 , 1 , new GUIContent("StartAlpha")); 42 | } 43 | EditorGUILayout.Slider(EndAlpha, 0, 1, new GUIContent("EndAlpha")); 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/Data/MintTweenDataBase.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace MintAnimation.Core 4 | { 5 | [System.Serializable] 6 | public class MintTweenDataBase : MintTweenOptions 7 | { 8 | public T StartValue; 9 | public T EndValue; 10 | 11 | private IMintTweenBehaviour _handler; 12 | 13 | public IMintTweenBehaviour Handler 14 | { 15 | get 16 | { 17 | if (_handler == null) 18 | { 19 | if (typeof(T) == typeof(float)) 20 | { 21 | _handler = (IMintTweenBehaviour) new MintHandleFloat(); 22 | } 23 | else if (typeof(T) == typeof(Vector3)) 24 | { 25 | _handler = (IMintTweenBehaviour) new MintHandleVector3(); 26 | } 27 | else if (typeof(T) == typeof(Color)) 28 | { 29 | _handler = (IMintTweenBehaviour) new MintHandleColor(); 30 | } 31 | } 32 | return _handler; 33 | } 34 | set => _handler = value; 35 | } 36 | 37 | public void SetOptions(MintTweenOptions options) 38 | { 39 | Duration = options.Duration; 40 | IsBack = options.IsBack; 41 | IsLoop = options.IsLoop; 42 | IsReversal = options.IsReversal; 43 | LoopCount = options.LoopCount; 44 | IsCustomEase = options.IsCustomEase; 45 | EaseType = options.EaseType; 46 | TimeCurve = options.TimeCurve; 47 | DriveType = options.DriveType; 48 | UpdaterTypeEnum = options.UpdaterTypeEnum; 49 | CustomDrive = options.CustomDrive; 50 | } 51 | } 52 | } -------------------------------------------------------------------------------- /Assets/MintAnimation/Editor/MintAnimation_EditorScale.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEditor; 3 | 4 | namespace MintAnimation.Editor 5 | { 6 | [CustomEditor(typeof(MintAnimation.MintAnimation_Scale), true), CanEditMultipleObjects] 7 | public class MintAnimation_EditorScale : MintAnimation_EditorBase 8 | { 9 | private SerializedProperty StartScale; 10 | private SerializedProperty EndScale; 11 | 12 | private SerializedProperty IsSizeDelta; 13 | 14 | protected override void Init() 15 | { 16 | base.Init(); 17 | StartScale = MintAnimData.FindPropertyRelative("StartValue"); 18 | EndScale = MintAnimData.FindPropertyRelative("EndValue"); 19 | IsSizeDelta = serializedObject.FindProperty("IsSizeDelta"); 20 | } 21 | 22 | protected override void DrawTitle() 23 | { 24 | GUIStyle gUIStyle = new GUIStyle(); 25 | gUIStyle.fontSize = 18; 26 | gUIStyle.normal.textColor = new Color32(56, 56, 56, 255); 27 | gUIStyle.normal.background = MintAnimation_EditorBase.GetTexture2D(new Color32(0, 180, 255, 255)); 28 | gUIStyle.alignment = TextAnchor.MiddleCenter; 29 | gUIStyle.margin = new RectOffset(0, 0, 8, 0); 30 | GUILayout.Box(" Mint Scale ", gUIStyle); 31 | gUIStyle = null; 32 | } 33 | 34 | public override void Draw() 35 | { 36 | base.Draw(); 37 | 38 | EditorGUILayout.PropertyField(AutoStartValue); 39 | EditorGUILayout.PropertyField(this.IsSizeDelta); 40 | if (!AutoStartValue.boolValue) 41 | { 42 | EditorGUILayout.PropertyField(StartScale, new GUIContent("StartScale")); 43 | } 44 | EditorGUILayout.PropertyField(EndScale, new GUIContent("EndScale")); 45 | 46 | GUILayout.Box(GUIContent.none, GUILayout.ExpandWidth(true), GUILayout.Height(0.5f)); 47 | 48 | } 49 | } 50 | } 51 | 52 | -------------------------------------------------------------------------------- /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: 0 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: 12 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 | - {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0} 39 | m_PreloadedShaders: [] 40 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 41 | type: 0} 42 | m_CustomRenderPipeline: {fileID: 0} 43 | m_TransparencySortMode: 0 44 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 45 | m_DefaultRenderingPath: 1 46 | m_DefaultMobileRenderingPath: 1 47 | m_TierSettings: [] 48 | m_LightmapStripping: 0 49 | m_FogStripping: 0 50 | m_InstancingStripping: 0 51 | m_LightmapKeepPlain: 1 52 | m_LightmapKeepDirCombined: 1 53 | m_LightmapKeepDynamicPlain: 1 54 | m_LightmapKeepDynamicDirCombined: 1 55 | m_LightmapKeepShadowMask: 1 56 | m_LightmapKeepSubtractive: 1 57 | m_FogKeepLinear: 1 58 | m_FogKeepExp: 1 59 | m_FogKeepExp2: 1 60 | m_AlbedoSwatchInfos: [] 61 | m_LightsUseLinearIntensity: 0 62 | m_LightsUseColorTemperature: 0 63 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Editor/MintAnimation_EditorRotation.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using MintAnimation.Core; 4 | using UnityEditor; 5 | using UnityEngine; 6 | 7 | namespace MintAnimation.Editor 8 | { 9 | [CustomEditor(typeof(MintAnimation.MintAnimation_Rotation), true) , CanEditMultipleObjects] 10 | public class MintAnimation_EditorRotation : MintAnimation_EditorBase 11 | { 12 | private SerializedProperty IsLocalRotation; 13 | private SerializedProperty StartRotation; 14 | private SerializedProperty EndRotation; 15 | 16 | protected override void Init() 17 | { 18 | base.Init(); 19 | IsLocalRotation = serializedObject.FindProperty("IsLocal"); 20 | StartRotation = MintAnimData.FindPropertyRelative("StartValue"); 21 | EndRotation = MintAnimData.FindPropertyRelative("EndValue"); 22 | } 23 | 24 | protected override void DrawTitle() 25 | { 26 | GUIStyle gUIStyle = new GUIStyle(); 27 | gUIStyle.fontSize = 18; 28 | gUIStyle.normal.textColor = new Color32(56, 56, 56, 255); 29 | gUIStyle.normal.background = MintAnimation_EditorBase.GetTexture2D(new Color32(255, 95, 0, 255)); 30 | gUIStyle.alignment = TextAnchor.MiddleCenter; 31 | gUIStyle.margin = new RectOffset(0, 0, 8, 0); 32 | GUILayout.Box(" Mint Rotation ", gUIStyle); 33 | gUIStyle = null; 34 | } 35 | 36 | public override void Draw() 37 | { 38 | base.Draw(); 39 | 40 | EditorGUILayout.BeginHorizontal(); 41 | EditorGUILayout.PropertyField(AutoStartValue); 42 | IsLocalRotation.boolValue = GUILayout.Toolbar(IsLocalRotation.boolValue ? 0 : 1, 43 | new string[2] { "Local", "World" }, 44 | new GUILayoutOption[] { 45 | GUILayout.Width(120), 46 | GUILayout.Height(20), 47 | }) 48 | == 0 ? true : false; 49 | EditorGUILayout.EndHorizontal(); 50 | GUILayout.Space(10); 51 | 52 | if (!AutoStartValue.boolValue) 53 | { 54 | EditorGUILayout.PropertyField(StartRotation, new GUIContent("StartRotation")); 55 | } 56 | EditorGUILayout.PropertyField(EndRotation, new GUIContent("EndRotation")); 57 | 58 | GUILayout.Box(GUIContent.none, GUILayout.ExpandWidth(true), GUILayout.Height(0.5f)); 59 | 60 | } 61 | } 62 | } 63 | 64 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Components/MintAnimation_Base.cs: -------------------------------------------------------------------------------- 1 | using MintAnimation.Core; 2 | using UnityEngine; 3 | using UnityEngine.Serialization; 4 | 5 | namespace MintAnimation 6 | { 7 | public abstract class MintAnimation_Base : MintAnimationComponent 8 | { 9 | protected MintTweener mMintTweener; 10 | private bool _isFristInit = true; 11 | 12 | private void OnEnable() 13 | { 14 | if (_isFristInit) init(); 15 | if (IsAutoPlay) 16 | { 17 | Play(); 18 | } 19 | } 20 | private void OnDisable() 21 | { 22 | Stop(); 23 | } 24 | 25 | 26 | protected virtual void init() 27 | { 28 | if (AutoStartValue) 29 | { 30 | this.getAnimationData().StartValue = this.getAutoStartValue(); 31 | } 32 | mMintTweener = new MintTweener(getter, setter, getAnimationData()); 33 | mMintTweener.OnComplete += this.OnCompleteAction; 34 | _isFristInit = false; 35 | } 36 | 37 | protected override void OnCompleteAction() 38 | { 39 | this.OnComplete?.Invoke(); 40 | switch (CompleteAction) 41 | { 42 | case PlayEndAction.Destory: 43 | Destroy(this.gameObject); 44 | break; 45 | case PlayEndAction.Disable: 46 | this.gameObject.SetActive(false); 47 | break; 48 | case PlayEndAction.DestoryAnimation: 49 | Destroy(this); 50 | break; 51 | } 52 | } 53 | 54 | protected virtual T getter(){return default;} 55 | protected virtual void setter(T value){ } 56 | protected virtual T getAutoStartValue(){return this.getter();} 57 | 58 | public override void Play() 59 | { 60 | this.mMintTweener.Play(); 61 | } 62 | 63 | public override void Pause() 64 | { 65 | mMintTweener.Pause(!mMintTweener.IsPause); 66 | } 67 | 68 | public override void Stop() 69 | { 70 | mMintTweener.Stop(); 71 | } 72 | 73 | public override MintTweenOptions GetOptions() 74 | { 75 | return getAnimationData(); 76 | } 77 | 78 | public override void SetOptions(MintTweenOptions options) 79 | { 80 | this.getAnimationData().SetOptions(options); 81 | } 82 | 83 | protected abstract MintTweenDataBase getAnimationData(); 84 | } 85 | } 86 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Components/MintAnimation_Position.cs: -------------------------------------------------------------------------------- 1 | using MintAnimation.Core; 2 | using UnityEngine; 3 | 4 | namespace MintAnimation 5 | { 6 | [AddComponentMenu("MintAnimation/PositionAnimation", 1)] 7 | public class MintAnimation_Position : MintAnimation_Base 8 | { 9 | 10 | [SerializeField] 11 | private MintAnimationDataVector MintAnimationData = new MintAnimationDataVector(); 12 | 13 | public bool IsLocal; 14 | 15 | public bool IsRectPosition; 16 | 17 | public bool IsBezier; 18 | 19 | 20 | public Vector3 BezierP1; 21 | public Vector3 BezierP2; 22 | 23 | private Vector3 MyPosition 24 | { 25 | get 26 | { 27 | if (this.IsRectPosition) 28 | { 29 | return ((RectTransform) this.transform).anchoredPosition3D; 30 | } 31 | 32 | return this.IsLocal ? this.transform.localPosition : this.transform.position; 33 | } 34 | 35 | set 36 | { 37 | if (this.IsRectPosition) 38 | { 39 | ((RectTransform) this.transform).anchoredPosition3D = value; 40 | } 41 | 42 | else if (this.IsLocal) 43 | { 44 | this.transform.localPosition = value; 45 | } 46 | 47 | else 48 | { 49 | this.transform.position = value; 50 | } 51 | } 52 | } 53 | 54 | protected override void setter(Vector3 value) 55 | { 56 | if (this.IsBezier) 57 | { 58 | Bezier_3ref(ref value, this.mMintTweener.TweenInfo.StartValue, this.mMintTweener.TweenInfo.StartValue + this.BezierP1, this.mMintTweener.TweenInfo.StartValue + this.BezierP2, this.mMintTweener.TweenInfo.EndValue, 59 | this.mMintTweener.GetPlayerProgress()); 60 | } 61 | this.MyPosition = value; 62 | } 63 | 64 | protected override MintTweenDataBase getAnimationData() 65 | { 66 | return this.MintAnimationData; 67 | } 68 | 69 | protected override Vector3 getter() 70 | { 71 | return this.MyPosition; 72 | } 73 | 74 | protected override Vector3 getAutoStartValue() 75 | { 76 | return this.MyPosition; 77 | } 78 | 79 | public static void Bezier_3ref(ref Vector3 outValue , Vector3 p0, Vector3 p1, Vector3 p2, Vector3 p3, float t) 80 | { 81 | outValue = (1 - t) * ((1 - t) * ((1 - t) * p0 + t * p1) + t * ((1 - t) * p1 + t * p2)) + t * ((1 - t) * ((1 - t) * p1 + t * p2) + t * ((1 - t) * p2 + t * p3)); 82 | } 83 | } 84 | } 85 | 86 | 87 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # MintAnimation 2 | 3 | ![](https://img.shields.io/badge/Unity-5.0-blue) ![](https://img.shields.io/badge/Unity-2018-green) ![](https://img.shields.io/badge/Unity-2019-red) 4 | 5 | ## 介绍 6 | MintAnimation是一款轻量级动画插件,可用于UI的缓动动画以及其他游戏对象的补间动画。 7 | 8 | 此外MintAnimation不依赖任何第三方插值动画库,自己本身具备一套插值运算驱动,所有的动画组件都是基于此开发,并且做到了0 GC Alloc,效率也极为出众。 9 | 10 | 该插值库(MintAnimation.Core)支持扩展,用法与DoTween类似,使用者可以轻松的编写更加复杂的自定义动画。 11 | 12 | ## 项目结构 13 | MintAnimation的核心是一套插值补间驱动(MintAnimation.Core),且原生支持各种缓动函数,也可以使用Unity的自定义曲线。 14 | 并在此基础上拓展的动画组件。 15 | 16 | #### MintAnimation 17 | MintAnimation的基础组件分为5类,分别为:CanvasAlpha、Color、Position、Rotation、Scale。 18 | * 使用:选中任意场景中的对象,点击Add Component => MintAnimation,然后选择需要的动画组件即可 19 | 20 | #### 组件面板 21 | 所有基础动画组件都具备如下共同参数 22 | 23 | 属性|说明 24 | |---|--- 25 | Duration|动画总时长 26 | IsAutoPlay|是否自动播放(当对象被激活时) 27 | IsReversal|是否反向播放(可用于UI关闭动画等) 28 | IsBack|是否往返(每次播放会到达终点后又返回起点) 29 | IsLoop|是否循环播放 30 | LoopCount|循环次数(-1表示无限循环) 31 | IsCustomEase|是否使用自定义缓动曲线(Unity自定义曲线) 32 | EaseType|选择函数曲线的类型(建议使用函数曲线,而非自定义曲线,缓动函数更加标准,效率更高) 33 | DriveType|动画驱动器选择 34 | UpdaterTypeEnum|动画驱动类型 35 | Component|动画播放结束后的默认行为 36 | AutoStartValue|播放的起始值是否自动获取 37 | 38 | #### 动画组件使用介绍 39 | 40 | * CanvasAlpha 41 | 42 | ![](ReadmeResource/CanvasAlpha.png "组件面板") 43 | 44 | 若不勾选AutoStartValue会出现StartAlpha滑动条,通过设置StartAlpha和EndAlpha控制对象的透明度,该组件仅支持UI对象。 45 | 46 | 以下是相同参数下改变EaseType的实际效果(gif录制帧率较低) 47 | 48 | ![](ReadmeResource/1.gif) ![](ReadmeResource/2.gif) ![](ReadmeResource/3.gif) 49 | 50 | * Position 51 | 52 | ![](ReadmeResource/Position.png "组件面板") 53 | 54 | 该组件控制对象的位移动画,支持UI、游戏对象,可以选择控制Local和World模式控制。 55 | 56 | IsRectPosition选项用于对UI对象的更好支持,通过勾选则改变anchoredPosition3D属性,而非position属性,可以更好的兼容UI控件的自适应 57 | 如果你是用于控制UI对象,最好勾选该选项 58 | 59 | 此外该组件支持贝塞尔曲线(二阶贝塞尔),勾选IsBezier后,出现P1 和 P2两个贝兹点,startPosition 和 endPosition作为P0和P3点 60 | 需要注意 p1和p2点的值是相对p0的相对位置。此外该版本暂未支持贝塞尔可视化编辑,将会在后续版本中添加。 61 | 62 | 基本效果演示: 63 | 64 | ![](ReadmeResource/4.gif) ![](ReadmeResource/5.gif) ![](ReadmeResource/6.gif) 65 | ![](ReadmeResource/7.gif) ![](ReadmeResource/8.gif) 66 | 67 | * Scale 68 | 69 | ![](ReadmeResource/Scale.png "组件面板") 70 | 71 | 该组件控制物体的缩放大小 72 | 73 | IsSizeDelta选项如果勾选则控制物体的SizeDelta大小,而非Scale属性 74 | 75 | ![](ReadmeResource/9.gif) ![](ReadmeResource/10.gif) ![](ReadmeResource/11.gif) 76 | 77 | * Rotation 78 | 79 | ![](ReadmeResource/Rotation.png "组件面板") 80 | 81 | ![](ReadmeResource/12.gif) ![](ReadmeResource/13.gif) ![](ReadmeResource/14.gif) 82 | 83 | * Color 84 | 85 | ![](ReadmeResource/Color.png "组件面板") 86 | 87 | Color组件会控制对象上的所有材质的主贴图颜色 88 | 89 | ![](ReadmeResource/15.gif) ![](ReadmeResource/16.gif) 90 | 91 | #### 不同组件之间的复合动画 92 | 93 | ![](ReadmeResource/17.gif) 94 | 95 | ![](ReadmeResource/18.gif) ![](ReadmeResource/19.gif) 96 | 97 | ## 进阶使用 98 | 99 | 100 | ## 如何添加到项目 101 | Unity2018以上将以下字段添加到Packages/manifest.json中,(在dependencies标签中额外增加) 102 | ``` 103 | { 104 | "dependencies": { 105 | "com.foldcc.mintanimation": "https://gitee.com/Foldcc/MintAnimation.git#package_0.2.x" 106 | } 107 | } 108 | ``` 109 | 若你的Unity版本小于2018,请手动下载master分支的源码 -------------------------------------------------------------------------------- /Assets/MintAnimation/Editor/MintAnimation_EditorPosition.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEditor; 3 | 4 | namespace MintAnimation.Editor 5 | { 6 | [CustomEditor(typeof(MintAnimation.MintAnimation_Position), true), CanEditMultipleObjects] 7 | public class MintAnimation_EditorPosition : MintAnimation_EditorBase 8 | { 9 | private SerializedProperty IsLocalPosition; 10 | private SerializedProperty IsRectPosition; 11 | private SerializedProperty StartPosition; 12 | private SerializedProperty EndPosition; 13 | 14 | private SerializedProperty IsBezier; 15 | private SerializedProperty BezierP1; 16 | private SerializedProperty BezierP2; 17 | 18 | protected override void Init() 19 | { 20 | base.Init(); 21 | IsLocalPosition = serializedObject.FindProperty("IsLocal"); 22 | this.IsRectPosition = serializedObject.FindProperty("IsRectPosition"); 23 | StartPosition = MintAnimData.FindPropertyRelative("StartValue"); 24 | EndPosition = MintAnimData.FindPropertyRelative("EndValue"); 25 | 26 | IsBezier = serializedObject.FindProperty("IsBezier"); 27 | BezierP1 = serializedObject.FindProperty("BezierP1"); 28 | BezierP2 = serializedObject.FindProperty("BezierP2"); 29 | } 30 | 31 | protected override void DrawTitle() 32 | { 33 | GUIStyle gUIStyle = new GUIStyle(); 34 | gUIStyle.fontSize = 18; 35 | gUIStyle.normal.textColor = new Color32(56, 56, 56, 255); 36 | gUIStyle.normal.background = MintAnimation_EditorBase.GetTexture2D(new Color32(255, 236, 0, 255)); 37 | gUIStyle.alignment = TextAnchor.MiddleCenter; 38 | gUIStyle.margin = new RectOffset(0, 0, 8, 0); 39 | GUILayout.Box(" Mint Position ", gUIStyle); 40 | gUIStyle = null; 41 | } 42 | 43 | public override void Draw() 44 | { 45 | base.Draw(); 46 | 47 | EditorGUILayout.BeginHorizontal(); 48 | EditorGUILayout.PropertyField(AutoStartValue); 49 | 50 | IsLocalPosition.boolValue = GUILayout.Toolbar(IsLocalPosition.boolValue ? 0 : 1, 51 | new string[2] { "Local", "World" }, 52 | new GUILayoutOption[] { 53 | GUILayout.Width(120), 54 | GUILayout.Height(20), 55 | }) 56 | == 0 ? true : false; 57 | EditorGUILayout.EndHorizontal(); 58 | EditorGUILayout.PropertyField(this.IsRectPosition); 59 | GUILayout.Space(10); 60 | 61 | if (!AutoStartValue.boolValue) 62 | { 63 | EditorGUILayout.PropertyField(StartPosition , new GUIContent("StartPostion")); 64 | } 65 | EditorGUILayout.PropertyField(EndPosition, new GUIContent("EndPostion")); 66 | 67 | GUILayout.Box(GUIContent.none, GUILayout.ExpandWidth(true), GUILayout.Height(0.5f)); 68 | 69 | GUILayout.Space(10); 70 | EditorGUILayout.PropertyField(this.IsBezier); 71 | if (this.IsBezier.boolValue) 72 | { 73 | EditorGUILayout.PropertyField(this.BezierP1); 74 | EditorGUILayout.PropertyField(this.BezierP2); 75 | EditorGUILayout.HelpBox("注:P1,P2 为StartValue的相对坐标", MessageType.Info); 76 | } 77 | 78 | GUILayout.Box(GUIContent.none, GUILayout.ExpandWidth(true), GUILayout.Height(0.5f)); 79 | } 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /.idea/.idea.MintAnimation/.idea/contentModel.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 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 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/Drive/MintDriveComponent.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using UnityEngine; 4 | 5 | namespace MintAnimation.Core { 6 | 7 | /// 8 | /// 动画驱动事件 9 | /// 10 | /// 时间间隔 (s) 11 | /// 12 | public delegate bool DriveUpdater(float timeScale); 13 | 14 | /// 15 | /// 动画驱动器 16 | /// 17 | public class MintDriveComponent : MonoBehaviour 18 | { 19 | private DriveUpdater _updateDrive = null; 20 | private DriveUpdater _fixedUpdateDrive = null; 21 | private DriveUpdater _enumeratorDrive = null; 22 | 23 | [Tooltip("时间缩放系数,改变此属性将影响所有使用改驱动器的动画速率")] 24 | public float TimeOffset = 1; 25 | 26 | #region Public 27 | 28 | public void AddDriveAction(DriveUpdater driveAction , UpdaterTypeEnum driveEnum = UpdaterTypeEnum.Update) { 29 | switch (driveEnum) 30 | { 31 | case UpdaterTypeEnum.Update: 32 | if (null == _updateDrive) 33 | _updateDrive = driveAction; 34 | else 35 | _updateDrive += driveAction; 36 | break; 37 | case UpdaterTypeEnum.FixedUpdate: 38 | if (null == _fixedUpdateDrive) 39 | _fixedUpdateDrive = driveAction; 40 | else 41 | _fixedUpdateDrive += driveAction; 42 | break; 43 | case UpdaterTypeEnum.Coroutine: 44 | if (null == _enumeratorDrive) 45 | _enumeratorDrive = driveAction; 46 | else 47 | _enumeratorDrive += driveAction; 48 | break; 49 | } 50 | } 51 | 52 | public void RemoveDriveAction(DriveUpdater driveAction, UpdaterTypeEnum driveEnum = UpdaterTypeEnum.Update) { 53 | switch (driveEnum) 54 | { 55 | case UpdaterTypeEnum.Update: 56 | if (_updateDrive != null) 57 | _updateDrive -= driveAction; 58 | break; 59 | case UpdaterTypeEnum.FixedUpdate: 60 | if (_fixedUpdateDrive != null) 61 | _fixedUpdateDrive -= _fixedUpdateDrive; 62 | break; 63 | case UpdaterTypeEnum.Coroutine: 64 | if (_enumeratorDrive != null) 65 | _enumeratorDrive -= _enumeratorDrive; 66 | break; 67 | } 68 | } 69 | #endregion 70 | 71 | #region Updater 72 | private void Update(){_updateDrive?.Invoke(Time.deltaTime * TimeOffset);} 73 | private void FixedUpdate(){ _fixedUpdateDrive?.Invoke(Time.fixedDeltaTime * TimeOffset);} 74 | IEnumerator Updater() { 75 | while (true) 76 | { 77 | _enumeratorDrive?.Invoke(Time.deltaTime * TimeOffset); 78 | yield return 0; 79 | } 80 | } 81 | #endregion 82 | 83 | private void OnEnable() 84 | { 85 | StartCoroutine(Updater()); 86 | } 87 | 88 | private void OnDisable() 89 | { 90 | StopAllCoroutines(); 91 | } 92 | 93 | public static MintDriveComponent CreateDriveComponent() 94 | { 95 | var drive = GameObject.Instantiate(new MintDriveComponent()); 96 | drive.name = "[ MintAnimationDrive ]"; 97 | DontDestroyOnLoad(drive); 98 | return drive; 99 | } 100 | } 101 | } 102 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Editor/MintAnimation_EditorBase.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEditor; 3 | 4 | namespace MintAnimation.Editor 5 | { 6 | [CanEditMultipleObjects] 7 | public class MintAnimation_EditorBase : UnityEditor.Editor 8 | { 9 | protected SerializedProperty MintAnimData; 10 | 11 | protected SerializedProperty Duration; 12 | 13 | protected SerializedProperty IsAuto; 14 | 15 | protected SerializedProperty IsBack; 16 | protected SerializedProperty IsLoop; 17 | protected SerializedProperty IsReversal; 18 | protected SerializedProperty LoopCount; 19 | 20 | protected SerializedProperty IsCustomEase; 21 | protected SerializedProperty EaseType; 22 | protected SerializedProperty TimeCurve; 23 | 24 | protected SerializedProperty DriveType; 25 | protected SerializedProperty UpdaterTypeEnum; 26 | protected SerializedProperty CustomDrive; 27 | 28 | protected SerializedProperty AutoStartValue; 29 | protected SerializedProperty CompleteAction; 30 | 31 | private bool foldoutType = true; 32 | 33 | public static Texture2D GetTexture2D(Color32 color32) 34 | { 35 | Texture2D texturesss = new Texture2D(4, 4); 36 | Color32[] colors = texturesss.GetPixels32(); 37 | for (int i = 0; i < colors.Length; i++) 38 | { 39 | colors[i] = color32; 40 | } 41 | texturesss.SetPixels32(colors); 42 | texturesss.Apply(); 43 | return texturesss; 44 | } 45 | 46 | private void OnEnable() 47 | { 48 | Init(); 49 | } 50 | 51 | protected virtual void Init() 52 | { 53 | MintAnimData = this.serializedObject.FindProperty("MintAnimationData"); 54 | IsAuto = this.serializedObject.FindProperty("IsAutoPlay"); 55 | AutoStartValue = this.serializedObject.FindProperty("AutoStartValue"); 56 | CompleteAction = this.serializedObject.FindProperty("CompleteAction"); 57 | 58 | Duration = this.MintAnimData.FindPropertyRelative("Duration"); 59 | IsBack = this.MintAnimData.FindPropertyRelative("IsBack"); 60 | IsLoop = this.MintAnimData.FindPropertyRelative("IsLoop"); 61 | IsReversal = this.MintAnimData.FindPropertyRelative("IsReversal"); 62 | LoopCount = this.MintAnimData.FindPropertyRelative("LoopCount"); 63 | IsCustomEase = this.MintAnimData.FindPropertyRelative("IsCustomEase"); 64 | EaseType = this.MintAnimData.FindPropertyRelative("EaseType"); 65 | TimeCurve = this.MintAnimData.FindPropertyRelative("TimeCurve"); 66 | DriveType = this.MintAnimData.FindPropertyRelative("DriveType"); 67 | UpdaterTypeEnum = this.MintAnimData.FindPropertyRelative("UpdaterTypeEnum"); 68 | CustomDrive = this.MintAnimData.FindPropertyRelative("CustomDrive"); 69 | } 70 | 71 | public override void OnInspectorGUI() 72 | { 73 | // 更新显示 74 | this.serializedObject.Update(); 75 | DrawTitle(); 76 | this.foldoutType = EditorGUILayout.Foldout(foldoutType, "Mint Animation Info"); 77 | Draw(); 78 | // 应用属性修改 79 | this.serializedObject.ApplyModifiedProperties(); 80 | } 81 | 82 | public virtual void Draw() 83 | { 84 | GUILayout.Space(15); 85 | EditorGUILayout.PropertyField(Duration); 86 | if (this.Duration.floatValue < 0) this.Duration.floatValue = 0; 87 | if (this.foldoutType) 88 | { 89 | GUILayout.Box(GUIContent.none, GUILayout.ExpandWidth(true), GUILayout.Height(0.5f)); 90 | EditorGUILayout.PropertyField(IsAuto); 91 | EditorGUILayout.PropertyField(IsReversal); 92 | EditorGUILayout.PropertyField(IsBack); 93 | GUILayout.Box(GUIContent.none, GUILayout.ExpandWidth(true), GUILayout.Height(0.5f)); 94 | 95 | EditorGUILayout.BeginHorizontal(); 96 | EditorGUILayout.PropertyField(IsLoop); 97 | if (this.IsLoop.boolValue) 98 | { 99 | EditorGUILayout.PropertyField(LoopCount); 100 | if (this.LoopCount.intValue == 0 || this.LoopCount.intValue < -1) this.LoopCount.intValue = 1; 101 | } 102 | EditorGUILayout.EndHorizontal(); 103 | 104 | GUILayout.Box(GUIContent.none, GUILayout.ExpandWidth(true), GUILayout.Height(0.5f)); 105 | 106 | EditorGUILayout.PropertyField(IsCustomEase); 107 | if (this.IsCustomEase.boolValue) 108 | { 109 | 110 | EditorGUILayout.PropertyField(TimeCurve); 111 | EditorGUILayout.HelpBox("注:自定义曲线 只会读取 x为[0-1]之间的数值", MessageType.Info); 112 | } 113 | else 114 | { 115 | EditorGUILayout.PropertyField(EaseType); 116 | } 117 | 118 | GUILayout.Space(10); 119 | GUILayout.Box(GUIContent.none, GUILayout.ExpandWidth(true), GUILayout.Height(0.5f)); 120 | 121 | EditorGUILayout.PropertyField(DriveType); 122 | if (DriveType.enumValueIndex == 0) 123 | { 124 | //custom 125 | EditorGUILayout.PropertyField(CustomDrive); 126 | } 127 | else 128 | { 129 | EditorGUILayout.PropertyField(UpdaterTypeEnum); 130 | } 131 | 132 | GUILayout.Space(10); 133 | GUILayout.Box(GUIContent.none, GUILayout.ExpandWidth(true), GUILayout.Height(0.5f)); 134 | 135 | EditorGUILayout.PropertyField(CompleteAction); 136 | 137 | GUILayout.Space(10); 138 | GUILayout.Box(GUIContent.none, GUILayout.ExpandWidth(true), GUILayout.Height(0.5f)); 139 | } 140 | } 141 | 142 | protected virtual void DrawTitle() 143 | { 144 | } 145 | } 146 | } 147 | -------------------------------------------------------------------------------- /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 Switch: 5 223 | PS4: 5 224 | Standalone: 5 225 | WebGL: 3 226 | Windows Store Apps: 5 227 | XboxOne: 5 228 | iPhone: 2 229 | tvOS: 2 230 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/MintTweener.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace MintAnimation.Core 5 | { 6 | 7 | public delegate T MintGetter(); 8 | 9 | public delegate void MintSetter(T rNewValue); 10 | 11 | public class MintTweener : IDisposable 12 | { 13 | /// 14 | /// 请使用Create方法构建MintAnimation 15 | /// 16 | protected MintTweener() {} 17 | 18 | public MintTweener(MintGetter mintGetter, MintSetter mintSetter , MintTweenDataBase mintTweenInfo) { 19 | _getter = mintGetter; 20 | _setter = mintSetter; 21 | TweenInfo = mintTweenInfo; 22 | this.IsPause = true; 23 | register(); 24 | } 25 | 26 | public Action OnComplete; 27 | 28 | public MintTweenDataBase TweenInfo; 29 | 30 | public bool IsPause { get; private set; } 31 | 32 | private MintGetter _getter; 33 | private MintSetter _setter; 34 | 35 | private float _nowTime; 36 | private float _progressValue; 37 | 38 | private int _nowLoopCount; 39 | private float _backTime; 40 | 41 | public void Play() { 42 | this.reset(); 43 | this.IsPause = false; 44 | } 45 | public void Pause(bool isPause) { 46 | this.IsPause = isPause; 47 | } 48 | public void Stop() { 49 | _nowTime = TweenInfo.Duration; 50 | setAnimationValue(); 51 | this.IsPause = true; 52 | } 53 | 54 | 55 | private void reset() 56 | { 57 | _nowTime = 0; 58 | this.IsPause = true; 59 | _backTime = TweenInfo.Duration / 2; 60 | setAnimationValue(); 61 | } 62 | 63 | private bool updateAnimation(float deltaTime) { 64 | if (this.IsPause) return false; 65 | setAnimationValue(); 66 | if (_nowTime >= TweenInfo.Duration) { 67 | _nowLoopCount++; 68 | if (TweenInfo.IsLoop) 69 | { 70 | if (TweenInfo.LoopCount == -1 || _nowLoopCount < TweenInfo.LoopCount) 71 | { 72 | _nowTime = 0; 73 | return true; 74 | } 75 | } 76 | OnComplete?.Invoke(); 77 | Stop(); 78 | } 79 | else _nowTime += deltaTime; 80 | return true; 81 | } 82 | 83 | /// 84 | /// 获取处理后的Value进度值 85 | /// 86 | /// 87 | private float getNowTime() { 88 | if (TweenInfo.IsReversal) { 89 | return TweenInfo.Duration - _progressValue; 90 | } 91 | return _progressValue; 92 | } 93 | 94 | private void setAnimationValue() 95 | { 96 | if (TweenInfo.IsBack) 97 | { 98 | if (_nowTime <= _backTime) 99 | _progressValue = _nowTime * 2; 100 | else 101 | _progressValue = TweenInfo.Duration - ((_nowTime - _backTime) * 2); 102 | } 103 | else 104 | { 105 | _progressValue = _nowTime; 106 | } 107 | _setter.Invoke(TweenInfo.Handler.GetProgress(getNowTime() , TweenInfo)); 108 | } 109 | 110 | private void register() { 111 | switch (TweenInfo.DriveType) 112 | { 113 | case DriveEnum.Custom: 114 | if (TweenInfo.CustomDrive != null) { 115 | TweenInfo.CustomDrive.AddDriveAction(updateAnimation, TweenInfo.UpdaterTypeEnum); 116 | } 117 | break; 118 | case DriveEnum.Globa: 119 | MintDriveComponentSinge.Instance.AddDriveAction(updateAnimation, TweenInfo.UpdaterTypeEnum); 120 | break; 121 | } 122 | } 123 | private void unregister() { 124 | switch (TweenInfo.DriveType) 125 | { 126 | case DriveEnum.Custom: 127 | if (TweenInfo.CustomDrive != null) 128 | { 129 | TweenInfo.CustomDrive.RemoveDriveAction(updateAnimation , TweenInfo.UpdaterTypeEnum); 130 | } 131 | break; 132 | case DriveEnum.Globa: 133 | MintDriveComponentSinge.Instance.RemoveDriveAction(updateAnimation, TweenInfo.UpdaterTypeEnum); 134 | break; 135 | } 136 | } 137 | 138 | /// 139 | /// 获取当前播放进度 140 | /// 141 | /// 142 | public float GetPlayerProgress() 143 | { 144 | return _nowTime / this.TweenInfo.Duration; 145 | } 146 | 147 | /// 148 | /// 获取当前从startValue 到 endValue 之间的float进度 149 | /// 150 | /// 151 | public float GetProgress() 152 | { 153 | if (this.TweenInfo.IsCustomEase) 154 | { 155 | return this.TweenInfo.TimeCurve.Evaluate(this.getNowTime()); 156 | } 157 | else 158 | { 159 | return MintEaseAction.GetEaseAction(this.TweenInfo.EaseType, this.getNowTime()); 160 | } 161 | } 162 | 163 | public static MintTweener Create(MintGetter mintGetter, MintSetter mintSetter, float endvalue, float duration) 164 | { 165 | var mintTweenerInfo = new MintTweenDataBase() 166 | { 167 | EaseType = MintEaseMethod.Linear, 168 | Duration = duration, 169 | StartValue = mintGetter.Invoke(), 170 | EndValue = endvalue 171 | }; 172 | var a = new MintTweener(mintGetter, mintSetter, mintTweenerInfo); 173 | return a; 174 | } 175 | public static MintTweener Create(MintGetter mintGetter, MintSetter mintSetter, Vector3 endvalue, float duration) 176 | { 177 | var mintTweenerInfo = new MintTweenDataBase() 178 | { 179 | EaseType = MintEaseMethod.Linear, 180 | Duration = duration, 181 | StartValue = mintGetter.Invoke(), 182 | EndValue = endvalue 183 | }; 184 | var a = new MintTweener(mintGetter, mintSetter, mintTweenerInfo); 185 | return a; 186 | } 187 | public static MintTweener Create(MintGetter mintGetter, MintSetter mintSetter, Color endvalue, float duration) 188 | { 189 | var mintTweenerInfo = new MintTweenDataBase() 190 | { 191 | EaseType = MintEaseMethod.Linear, 192 | Duration = duration, 193 | StartValue = mintGetter.Invoke(), 194 | EndValue = endvalue 195 | }; 196 | var a = new MintTweener(mintGetter, mintSetter, mintTweenerInfo); 197 | return a; 198 | } 199 | 200 | public void Dispose() 201 | { 202 | this.unregister(); 203 | } 204 | } 205 | } -------------------------------------------------------------------------------- /Assets/MintAnimation/Runtime/Core/MintEaseMethod.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace MintAnimation.Core 6 | { 7 | public enum MintEaseMethod 8 | { 9 | Linear, 10 | 11 | Spring, 12 | 13 | InBack, 14 | OutBack, 15 | InOutBack, 16 | 17 | InQuad, 18 | OutQuad, 19 | InOutQuad, 20 | 21 | InCubic, 22 | OutCubic, 23 | InOutCubic, 24 | 25 | InQuart, 26 | OutQuart, 27 | InOutQuart, 28 | 29 | InQuint, 30 | OutQuint, 31 | InOutQuint, 32 | 33 | InSine, 34 | OutSine, 35 | InOutSine, 36 | 37 | InExpo, 38 | OutExpo, 39 | InOutExpo, 40 | 41 | InCirc, 42 | OutCirc, 43 | InOutCirc, 44 | 45 | InBounce, 46 | OutBounce, 47 | InOutBounce, 48 | 49 | InElastic, 50 | OutElastic, 51 | InOutElastic, 52 | } 53 | /// 54 | /// 缓动函数集 55 | /// 56 | public static class MintEaseAction 57 | { 58 | public static float GetEaseAction(MintEaseMethod ease_type, float x) 59 | { 60 | switch (ease_type) 61 | { 62 | case MintEaseMethod.InBack: 63 | return InBack(0, 1, x); 64 | case MintEaseMethod.InBounce: 65 | return InBounce(0, 1, x); 66 | case MintEaseMethod.InCirc: 67 | return InCirc(0, 1, x); 68 | case MintEaseMethod.InCubic: 69 | return InCubic(0, 1, x); 70 | case MintEaseMethod.InElastic: 71 | return InElastic(0, 1, x); 72 | case MintEaseMethod.InExpo: 73 | return InExpo(0, 1, x); 74 | case MintEaseMethod.InOutBack: 75 | return InOutBack(0, 1, x); 76 | case MintEaseMethod.InOutBounce: 77 | return InOutBounce(0, 1, x); 78 | case MintEaseMethod.InOutCirc: 79 | return InOutCirc(0, 1, x); 80 | case MintEaseMethod.InOutCubic: 81 | return InOutCubic(0, 1, x); 82 | case MintEaseMethod.InOutElastic: 83 | return InOutElastic(0, 1, x); 84 | case MintEaseMethod.InOutExpo: 85 | return InOutExpo(0, 1, x); 86 | case MintEaseMethod.InOutQuad: 87 | return InOutQuad(0, 1, x); 88 | case MintEaseMethod.InOutQuart: 89 | return InOutQuart(0, 1, x); 90 | case MintEaseMethod.InOutQuint: 91 | return InOutQuint(0, 1, x); 92 | case MintEaseMethod.InOutSine: 93 | return InOutSine(0, 1, x); 94 | case MintEaseMethod.InQuad: 95 | return InQuad(0, 1, x); 96 | case MintEaseMethod.InQuart: 97 | return InQuart(0, 1, x); 98 | case MintEaseMethod.InQuint: 99 | return InQuint(0, 1, x); 100 | case MintEaseMethod.InSine: 101 | return InSine(0, 1, x); 102 | case MintEaseMethod.Linear: 103 | return Linear(0, 1, x); 104 | case MintEaseMethod.OutBack: 105 | return OutBack(0, 1, x); 106 | case MintEaseMethod.OutBounce: 107 | return OutBounce(0, 1, x); 108 | case MintEaseMethod.OutCirc: 109 | return OutCirc(0, 1, x); 110 | case MintEaseMethod.OutCubic: 111 | return OutCubic(0, 1, x); 112 | case MintEaseMethod.OutElastic: 113 | return OutElastic(0, 1, x); 114 | case MintEaseMethod.OutExpo: 115 | return OutExpo(0, 1, x); 116 | case MintEaseMethod.OutQuad: 117 | return OutQuad(0, 1, x); 118 | case MintEaseMethod.OutQuart: 119 | return OutQuart(0, 1, x); 120 | case MintEaseMethod.OutQuint: 121 | return OutQuint(0, 1, x); 122 | case MintEaseMethod.OutSine: 123 | return OutSine(0, 1, x); 124 | case MintEaseMethod.Spring: 125 | return Spring(0, 1, x); 126 | default: 127 | return x; 128 | } 129 | } 130 | 131 | 132 | 133 | public static float Linear(float start, float end, float value) 134 | { 135 | return Mathf.Lerp(start, end, value); 136 | } 137 | 138 | public static float Spring(float start, float end, float value) 139 | { 140 | value = Mathf.Clamp01(value); 141 | value = (Mathf.Sin(value * Mathf.PI * (0.2f + 2.5f * value * value * value)) * Mathf.Pow(1f - value, 2.2f) + value) * (1f + (1.2f * (1f - value))); 142 | return start + (end - start) * value; 143 | } 144 | 145 | public static float InQuad(float start, float end, float value) 146 | { 147 | end -= start; 148 | return end * value * value + start; 149 | } 150 | 151 | public static float OutQuad(float start, float end, float value) 152 | { 153 | end -= start; 154 | return -end * value * (value - 2) + start; 155 | } 156 | 157 | public static float InOutQuad(float start, float end, float value) 158 | { 159 | value /= .5f; 160 | end -= start; 161 | if (value < 1) return end / 2 * value * value + start; 162 | value--; 163 | return -end / 2 * (value * (value - 2) - 1) + start; 164 | } 165 | 166 | public static float InCubic(float start, float end, float value) 167 | { 168 | end -= start; 169 | return end * value * value * value + start; 170 | } 171 | 172 | public static float OutCubic(float start, float end, float value) 173 | { 174 | value--; 175 | end -= start; 176 | return end * (value * value * value + 1) + start; 177 | } 178 | 179 | public static float InOutCubic(float start, float end, float value) 180 | { 181 | value /= .5f; 182 | end -= start; 183 | if (value < 1) return end / 2 * value * value * value + start; 184 | value -= 2; 185 | return end / 2 * (value * value * value + 2) + start; 186 | } 187 | 188 | public static float InQuart(float start, float end, float value) 189 | { 190 | end -= start; 191 | return end * value * value * value * value + start; 192 | } 193 | 194 | public static float OutQuart(float start, float end, float value) 195 | { 196 | value--; 197 | end -= start; 198 | return -end * (value * value * value * value - 1) + start; 199 | } 200 | 201 | public static float InOutQuart(float start, float end, float value) 202 | { 203 | value /= .5f; 204 | end -= start; 205 | if (value < 1) return end / 2 * value * value * value * value + start; 206 | value -= 2; 207 | return -end / 2 * (value * value * value * value - 2) + start; 208 | } 209 | 210 | public static float InQuint(float start, float end, float value) 211 | { 212 | end -= start; 213 | return end * value * value * value * value * value + start; 214 | } 215 | 216 | public static float OutQuint(float start, float end, float value) 217 | { 218 | value--; 219 | end -= start; 220 | return end * (value * value * value * value * value + 1) + start; 221 | } 222 | 223 | public static float InOutQuint(float start, float end, float value) 224 | { 225 | value /= .5f; 226 | end -= start; 227 | if (value < 1) return end / 2 * value * value * value * value * value + start; 228 | value -= 2; 229 | return end / 2 * (value * value * value * value * value + 2) + start; 230 | } 231 | 232 | public static float InSine(float start, float end, float value) 233 | { 234 | end -= start; 235 | return -end * Mathf.Cos(value / 1 * (Mathf.PI / 2)) + end + start; 236 | } 237 | 238 | public static float OutSine(float start, float end, float value) 239 | { 240 | end -= start; 241 | return end * Mathf.Sin(value / 1 * (Mathf.PI / 2)) + start; 242 | } 243 | 244 | public static float InOutSine(float start, float end, float value) 245 | { 246 | end -= start; 247 | return -end / 2 * (Mathf.Cos(Mathf.PI * value / 1) - 1) + start; 248 | } 249 | 250 | public static float InExpo(float start, float end, float value) 251 | { 252 | end -= start; 253 | return end * Mathf.Pow(2, 10 * (value / 1 - 1)) + start; 254 | } 255 | 256 | public static float OutExpo(float start, float end, float value) 257 | { 258 | end -= start; 259 | return end * (-Mathf.Pow(2, -10 * value / 1) + 1) + start; 260 | } 261 | 262 | public static float InOutExpo(float start, float end, float value) 263 | { 264 | value /= .5f; 265 | end -= start; 266 | if (value < 1) return end / 2 * Mathf.Pow(2, 10 * (value - 1)) + start; 267 | value--; 268 | return end / 2 * (-Mathf.Pow(2, -10 * value) + 2) + start; 269 | } 270 | 271 | public static float InCirc(float start, float end, float value) 272 | { 273 | end -= start; 274 | return -end * (Mathf.Sqrt(1 - value * value) - 1) + start; 275 | } 276 | 277 | public static float OutCirc(float start, float end, float value) 278 | { 279 | value--; 280 | end -= start; 281 | return end * Mathf.Sqrt(1 - value * value) + start; 282 | } 283 | 284 | public static float InOutCirc(float start, float end, float value) 285 | { 286 | value /= .5f; 287 | end -= start; 288 | if (value < 1) return -end / 2 * (Mathf.Sqrt(1 - value * value) - 1) + start; 289 | value -= 2; 290 | return end / 2 * (Mathf.Sqrt(1 - value * value) + 1) + start; 291 | } 292 | 293 | public static float InBounce(float start, float end, float value) 294 | { 295 | end -= start; 296 | float d = 1f; 297 | return end - OutBounce(0, end, d - value) + start; 298 | } 299 | 300 | public static float OutBounce(float start, float end, float value) 301 | { 302 | value /= 1f; 303 | end -= start; 304 | if (value < (1 / 2.75f)) 305 | { 306 | return end * (7.5625f * value * value) + start; 307 | } 308 | else if (value < (2 / 2.75f)) 309 | { 310 | value -= (1.5f / 2.75f); 311 | return end * (7.5625f * (value) * value + .75f) + start; 312 | } 313 | else if (value < (2.5 / 2.75)) 314 | { 315 | value -= (2.25f / 2.75f); 316 | return end * (7.5625f * (value) * value + .9375f) + start; 317 | } 318 | else 319 | { 320 | value -= (2.625f / 2.75f); 321 | return end * (7.5625f * (value) * value + .984375f) + start; 322 | } 323 | } 324 | 325 | public static float InOutBounce(float start, float end, float value) 326 | { 327 | end -= start; 328 | float d = 1f; 329 | if (value < d / 2) return InBounce(0, end, value * 2) * 0.5f + start; 330 | else return OutBounce(0, end, value * 2 - d) * 0.5f + end * 0.5f + start; 331 | } 332 | 333 | public static float InBack(float start, float end, float value) 334 | { 335 | end -= start; 336 | value /= 1; 337 | float s = 1.70158f; 338 | return end * (value) * value * ((s + 1) * value - s) + start; 339 | } 340 | 341 | public static float OutBack(float start, float end, float value) 342 | { 343 | float s = 1.70158f; 344 | end -= start; 345 | value = (value / 1) - 1; 346 | return end * ((value) * value * ((s + 1) * value + s) + 1) + start; 347 | } 348 | 349 | public static float InOutBack(float start, float end, float value) 350 | { 351 | float s = 1.70158f; 352 | end -= start; 353 | value /= .5f; 354 | if ((value) < 1) 355 | { 356 | s *= (1.525f); 357 | return end / 2 * (value * value * (((s) + 1) * value - s)) + start; 358 | } 359 | value -= 2; 360 | s *= (1.525f); 361 | return end / 2 * ((value) * value * (((s) + 1) * value + s) + 2) + start; 362 | } 363 | 364 | public static float InElastic(float start, float end, float value) 365 | { 366 | end -= start; 367 | 368 | float d = 1f; 369 | float p = d * .3f; 370 | float s = 0; 371 | float a = 0; 372 | 373 | if (value == 0) return start; 374 | 375 | if ((value /= d) == 1) return start + end; 376 | 377 | if (a == 0f || a < Mathf.Abs(end)) 378 | { 379 | a = end; 380 | s = p / 4; 381 | } 382 | else 383 | { 384 | s = p / (2 * Mathf.PI) * Mathf.Asin(end / a); 385 | } 386 | 387 | return -(a * Mathf.Pow(2, 10 * (value -= 1)) * Mathf.Sin((value * d - s) * (2 * Mathf.PI) / p)) + start; 388 | } 389 | 390 | public static float OutElastic(float start, float end, float value) 391 | { 392 | end -= start; 393 | 394 | float d = 1f; 395 | float p = d * .3f; 396 | float s = 0; 397 | float a = 0; 398 | 399 | if (value == 0) return start; 400 | 401 | if ((value /= d) == 1) return start + end; 402 | 403 | if (a == 0f || a < Mathf.Abs(end)) 404 | { 405 | a = end; 406 | s = p / 4; 407 | } 408 | else 409 | { 410 | s = p / (2 * Mathf.PI) * Mathf.Asin(end / a); 411 | } 412 | 413 | return (a * Mathf.Pow(2, -10 * value) * Mathf.Sin((value * d - s) * (2 * Mathf.PI) / p) + end + start); 414 | } 415 | 416 | public static float InOutElastic(float start, float end, float value) 417 | { 418 | end -= start; 419 | 420 | float d = 1f; 421 | float p = d * .3f; 422 | float s = 0; 423 | float a = 0; 424 | 425 | if (value == 0) return start; 426 | 427 | if ((value /= d / 2) == 2) return start + end; 428 | 429 | if (a == 0f || a < Mathf.Abs(end)) 430 | { 431 | a = end; 432 | s = p / 4; 433 | } 434 | else 435 | { 436 | s = p / (2 * Mathf.PI) * Mathf.Asin(end / a); 437 | } 438 | 439 | if (value < 1) return -0.5f * (a * Mathf.Pow(2, 10 * (value -= 1)) * Mathf.Sin((value * d - s) * (2 * Mathf.PI) / p)) + start; 440 | return a * Mathf.Pow(2, -10 * (value -= 1)) * Mathf.Sin((value * d - s) * (2 * Mathf.PI) / p) * 0.5f + end + start; 441 | } 442 | 443 | static float Punch(float amplitude, float value) 444 | { 445 | float s = 9; 446 | if (value == 0) 447 | { 448 | return 0; 449 | } 450 | if (value == 1) 451 | { 452 | return 0; 453 | } 454 | float period = 1 * 0.3f; 455 | s = period / (2 * Mathf.PI) * Mathf.Asin(0); 456 | return (amplitude * Mathf.Pow(2, -10 * value) * Mathf.Sin((value * 1 - s) * (2 * Mathf.PI) / period)); 457 | } 458 | 459 | static float Clerp(float start, float end, float value) 460 | { 461 | float min = 0.0f; 462 | float max = 360.0f; 463 | float half = Mathf.Abs((max - min) / 2.0f); 464 | float retval = 0.0f; 465 | float diff = 0.0f; 466 | if ((end - start) < -half) 467 | { 468 | diff = ((max - start) + end) * value; 469 | retval = start + diff; 470 | } 471 | else if ((end - start) > half) 472 | { 473 | diff = -((max - end) + start) * value; 474 | retval = start + diff; 475 | } 476 | else retval = start + (end - start) * value; 477 | return retval; 478 | } 479 | 480 | } 481 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 2, June 1991 3 | 4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc., 5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6 | Everyone is permitted to copy and distribute verbatim copies 7 | of this license document, but changing it is not allowed. 8 | 9 | Preamble 10 | 11 | The licenses for most software are designed to take away your 12 | freedom to share and change it. By contrast, the GNU General Public 13 | License is intended to guarantee your freedom to share and change free 14 | software--to make sure the software is free for all its users. This 15 | General Public License applies to most of the Free Software 16 | Foundation's software and to any other program whose authors commit to 17 | using it. (Some other Free Software Foundation software is covered by 18 | the GNU Lesser General Public License instead.) You can apply it to 19 | your programs, too. 20 | 21 | When we speak of free software, we are referring to freedom, not 22 | price. Our General Public Licenses are designed to make sure that you 23 | have the freedom to distribute copies of free software (and charge for 24 | this service if you wish), that you receive source code or can get it 25 | if you want it, that you can change the software or use pieces of it 26 | in new free programs; and that you know you can do these things. 27 | 28 | To protect your rights, we need to make restrictions that forbid 29 | anyone to deny you these rights or to ask you to surrender the rights. 30 | These restrictions translate to certain responsibilities for you if you 31 | distribute copies of the software, or if you modify it. 32 | 33 | For example, if you distribute copies of such a program, whether 34 | gratis or for a fee, you must give the recipients all the rights that 35 | you have. You must make sure that they, too, receive or can get the 36 | source code. And you must show them these terms so they know their 37 | rights. 38 | 39 | We protect your rights with two steps: (1) copyright the software, and 40 | (2) offer you this license which gives you legal permission to copy, 41 | distribute and/or modify the software. 42 | 43 | Also, for each author's protection and ours, we want to make certain 44 | that everyone understands that there is no warranty for this free 45 | software. If the software is modified by someone else and passed on, we 46 | want its recipients to know that what they have is not the original, so 47 | that any problems introduced by others will not reflect on the original 48 | authors' reputations. 49 | 50 | Finally, any free program is threatened constantly by software 51 | patents. We wish to avoid the danger that redistributors of a free 52 | program will individually obtain patent licenses, in effect making the 53 | program proprietary. To prevent this, we have made it clear that any 54 | patent must be licensed for everyone's free use or not licensed at all. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | GNU GENERAL PUBLIC LICENSE 60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61 | 62 | 0. This License applies to any program or other work which contains 63 | a notice placed by the copyright holder saying it may be distributed 64 | under the terms of this General Public License. The "Program", below, 65 | refers to any such program or work, and a "work based on the Program" 66 | means either the Program or any derivative work under copyright law: 67 | that is to say, a work containing the Program or a portion of it, 68 | either verbatim or with modifications and/or translated into another 69 | language. (Hereinafter, translation is included without limitation in 70 | the term "modification".) Each licensee is addressed as "you". 71 | 72 | Activities other than copying, distribution and modification are not 73 | covered by this License; they are outside its scope. The act of 74 | running the Program is not restricted, and the output from the Program 75 | is covered only if its contents constitute a work based on the 76 | Program (independent of having been made by running the Program). 77 | Whether that is true depends on what the Program does. 78 | 79 | 1. You may copy and distribute verbatim copies of the Program's 80 | source code as you receive it, in any medium, provided that you 81 | conspicuously and appropriately publish on each copy an appropriate 82 | copyright notice and disclaimer of warranty; keep intact all the 83 | notices that refer to this License and to the absence of any warranty; 84 | and give any other recipients of the Program a copy of this License 85 | along with the Program. 86 | 87 | You may charge a fee for the physical act of transferring a copy, and 88 | you may at your option offer warranty protection in exchange for a fee. 89 | 90 | 2. You may modify your copy or copies of the Program or any portion 91 | of it, thus forming a work based on the Program, and copy and 92 | distribute such modifications or work under the terms of Section 1 93 | above, provided that you also meet all of these conditions: 94 | 95 | a) You must cause the modified files to carry prominent notices 96 | stating that you changed the files and the date of any change. 97 | 98 | b) You must cause any work that you distribute or publish, that in 99 | whole or in part contains or is derived from the Program or any 100 | part thereof, to be licensed as a whole at no charge to all third 101 | parties under the terms of this License. 102 | 103 | c) If the modified program normally reads commands interactively 104 | when run, you must cause it, when started running for such 105 | interactive use in the most ordinary way, to print or display an 106 | announcement including an appropriate copyright notice and a 107 | notice that there is no warranty (or else, saying that you provide 108 | a warranty) and that users may redistribute the program under 109 | these conditions, and telling the user how to view a copy of this 110 | License. (Exception: if the Program itself is interactive but 111 | does not normally print such an announcement, your work based on 112 | the Program is not required to print an announcement.) 113 | 114 | These requirements apply to the modified work as a whole. If 115 | identifiable sections of that work are not derived from the Program, 116 | and can be reasonably considered independent and separate works in 117 | themselves, then this License, and its terms, do not apply to those 118 | sections when you distribute them as separate works. But when you 119 | distribute the same sections as part of a whole which is a work based 120 | on the Program, the distribution of the whole must be on the terms of 121 | this License, whose permissions for other licensees extend to the 122 | entire whole, and thus to each and every part regardless of who wrote it. 123 | 124 | Thus, it is not the intent of this section to claim rights or contest 125 | your rights to work written entirely by you; rather, the intent is to 126 | exercise the right to control the distribution of derivative or 127 | collective works based on the Program. 128 | 129 | In addition, mere aggregation of another work not based on the Program 130 | with the Program (or with a work based on the Program) on a volume of 131 | a storage or distribution medium does not bring the other work under 132 | the scope of this License. 133 | 134 | 3. You may copy and distribute the Program (or a work based on it, 135 | under Section 2) in object code or executable form under the terms of 136 | Sections 1 and 2 above provided that you also do one of the following: 137 | 138 | a) Accompany it with the complete corresponding machine-readable 139 | source code, which must be distributed under the terms of Sections 140 | 1 and 2 above on a medium customarily used for software interchange; or, 141 | 142 | b) Accompany it with a written offer, valid for at least three 143 | years, to give any third party, for a charge no more than your 144 | cost of physically performing source distribution, a complete 145 | machine-readable copy of the corresponding source code, to be 146 | distributed under the terms of Sections 1 and 2 above on a medium 147 | customarily used for software interchange; or, 148 | 149 | c) Accompany it with the information you received as to the offer 150 | to distribute corresponding source code. (This alternative is 151 | allowed only for noncommercial distribution and only if you 152 | received the program in object code or executable form with such 153 | an offer, in accord with Subsection b above.) 154 | 155 | The source code for a work means the preferred form of the work for 156 | making modifications to it. For an executable work, complete source 157 | code means all the source code for all modules it contains, plus any 158 | associated interface definition files, plus the scripts used to 159 | control compilation and installation of the executable. However, as a 160 | special exception, the source code distributed need not include 161 | anything that is normally distributed (in either source or binary 162 | form) with the major components (compiler, kernel, and so on) of the 163 | operating system on which the executable runs, unless that component 164 | itself accompanies the executable. 165 | 166 | If distribution of executable or object code is made by offering 167 | access to copy from a designated place, then offering equivalent 168 | access to copy the source code from the same place counts as 169 | distribution of the source code, even though third parties are not 170 | compelled to copy the source along with the object code. 171 | 172 | 4. You may not copy, modify, sublicense, or distribute the Program 173 | except as expressly provided under this License. Any attempt 174 | otherwise to copy, modify, sublicense or distribute the Program is 175 | void, and will automatically terminate your rights under this License. 176 | However, parties who have received copies, or rights, from you under 177 | this License will not have their licenses terminated so long as such 178 | parties remain in full compliance. 179 | 180 | 5. You are not required to accept this License, since you have not 181 | signed it. However, nothing else grants you permission to modify or 182 | distribute the Program or its derivative works. These actions are 183 | prohibited by law if you do not accept this License. Therefore, by 184 | modifying or distributing the Program (or any work based on the 185 | Program), you indicate your acceptance of this License to do so, and 186 | all its terms and conditions for copying, distributing or modifying 187 | the Program or works based on it. 188 | 189 | 6. Each time you redistribute the Program (or any work based on the 190 | Program), the recipient automatically receives a license from the 191 | original licensor to copy, distribute or modify the Program subject to 192 | these terms and conditions. You may not impose any further 193 | restrictions on the recipients' exercise of the rights granted herein. 194 | You are not responsible for enforcing compliance by third parties to 195 | this License. 196 | 197 | 7. If, as a consequence of a court judgment or allegation of patent 198 | infringement or for any other reason (not limited to patent issues), 199 | conditions are imposed on you (whether by court order, agreement or 200 | otherwise) that contradict the conditions of this License, they do not 201 | excuse you from the conditions of this License. If you cannot 202 | distribute so as to satisfy simultaneously your obligations under this 203 | License and any other pertinent obligations, then as a consequence you 204 | may not distribute the Program at all. For example, if a patent 205 | license would not permit royalty-free redistribution of the Program by 206 | all those who receive copies directly or indirectly through you, then 207 | the only way you could satisfy both it and this License would be to 208 | refrain entirely from distribution of the Program. 209 | 210 | If any portion of this section is held invalid or unenforceable under 211 | any particular circumstance, the balance of the section is intended to 212 | apply and the section as a whole is intended to apply in other 213 | circumstances. 214 | 215 | It is not the purpose of this section to induce you to infringe any 216 | patents or other property right claims or to contest validity of any 217 | such claims; this section has the sole purpose of protecting the 218 | integrity of the free software distribution system, which is 219 | implemented by public license practices. Many people have made 220 | generous contributions to the wide range of software distributed 221 | through that system in reliance on consistent application of that 222 | system; it is up to the author/donor to decide if he or she is willing 223 | to distribute software through any other system and a licensee cannot 224 | impose that choice. 225 | 226 | This section is intended to make thoroughly clear what is believed to 227 | be a consequence of the rest of this License. 228 | 229 | 8. If the distribution and/or use of the Program is restricted in 230 | certain countries either by patents or by copyrighted interfaces, the 231 | original copyright holder who places the Program under this License 232 | may add an explicit geographical distribution limitation excluding 233 | those countries, so that distribution is permitted only in or among 234 | countries not thus excluded. In such case, this License incorporates 235 | the limitation as if written in the body of this License. 236 | 237 | 9. The Free Software Foundation may publish revised and/or new versions 238 | of the General Public License from time to time. Such new versions will 239 | be similar in spirit to the present version, but may differ in detail to 240 | address new problems or concerns. 241 | 242 | Each version is given a distinguishing version number. If the Program 243 | specifies a version number of this License which applies to it and "any 244 | later version", you have the option of following the terms and conditions 245 | either of that version or of any later version published by the Free 246 | Software Foundation. If the Program does not specify a version number of 247 | this License, you may choose any version ever published by the Free Software 248 | Foundation. 249 | 250 | 10. If you wish to incorporate parts of the Program into other free 251 | programs whose distribution conditions are different, write to the author 252 | to ask for permission. For software which is copyrighted by the Free 253 | Software Foundation, write to the Free Software Foundation; we sometimes 254 | make exceptions for this. Our decision will be guided by the two goals 255 | of preserving the free status of all derivatives of our free software and 256 | of promoting the sharing and reuse of software generally. 257 | 258 | NO WARRANTY 259 | 260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268 | REPAIR OR CORRECTION. 269 | 270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278 | POSSIBILITY OF SUCH DAMAGES. 279 | 280 | END OF TERMS AND CONDITIONS 281 | 282 | How to Apply These Terms to Your New Programs 283 | 284 | If you develop a new program, and you want it to be of the greatest 285 | possible use to the public, the best way to achieve this is to make it 286 | free software which everyone can redistribute and change under these terms. 287 | 288 | To do so, attach the following notices to the program. It is safest 289 | to attach them to the start of each source file to most effectively 290 | convey the exclusion of warranty; and each file should have at least 291 | the "copyright" line and a pointer to where the full notice is found. 292 | 293 | 294 | Copyright (C) 295 | 296 | This program is free software; you can redistribute it and/or modify 297 | it under the terms of the GNU General Public License as published by 298 | the Free Software Foundation; either version 2 of the License, or 299 | (at your option) any later version. 300 | 301 | This program is distributed in the hope that it will be useful, 302 | but WITHOUT ANY WARRANTY; without even the implied warranty of 303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 304 | GNU General Public License for more details. 305 | 306 | You should have received a copy of the GNU General Public License along 307 | with this program; if not, write to the Free Software Foundation, Inc., 308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 309 | 310 | Also add information on how to contact you by electronic and paper mail. 311 | 312 | If the program is interactive, make it output a short notice like this 313 | when it starts in an interactive mode: 314 | 315 | Gnomovision version 69, Copyright (C) year name of author 316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 317 | This is free software, and you are welcome to redistribute it 318 | under certain conditions; type `show c' for details. 319 | 320 | The hypothetical commands `show w' and `show c' should show the appropriate 321 | parts of the General Public License. Of course, the commands you use may 322 | be called something other than `show w' and `show c'; they could even be 323 | mouse-clicks or menu items--whatever suits your program. 324 | 325 | You should also get your employer (if you work as a programmer) or your 326 | school, if any, to sign a "copyright disclaimer" for the program, if 327 | necessary. Here is a sample; alter the names: 328 | 329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program 330 | `Gnomovision' (which makes passes at compilers) written by James Hacker. 331 | 332 | , 1 April 1989 333 | Ty Coon, President of Vice 334 | 335 | This General Public License does not permit incorporating your program into 336 | proprietary programs. If your program is a subroutine library, you may 337 | consider it more useful to permit linking proprietary applications with the 338 | library. If this is what you want to do, use the GNU Lesser General 339 | Public License instead of this License. 340 | -------------------------------------------------------------------------------- /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: 15 7 | productGUID: 60e7c14f5db6cfa43bc366ac1cded0da 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: MintAnimation 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_HolographicTrackingLossScreen: {fileID: 0} 45 | defaultScreenWidth: 1024 46 | defaultScreenHeight: 768 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 0 51 | m_MTRendering: 1 52 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 53 | iosShowActivityIndicatorOnLoading: -1 54 | androidShowActivityIndicatorOnLoading: -1 55 | iosAppInBackgroundBehavior: 0 56 | displayResolutionDialog: 1 57 | iosAllowHTTPDownload: 1 58 | allowedAutorotateToPortrait: 1 59 | allowedAutorotateToPortraitUpsideDown: 1 60 | allowedAutorotateToLandscapeRight: 1 61 | allowedAutorotateToLandscapeLeft: 1 62 | useOSAutorotation: 1 63 | use32BitDisplayBuffer: 1 64 | preserveFramebufferAlpha: 0 65 | disableDepthAndStencilBuffers: 0 66 | androidStartInFullscreen: 1 67 | androidRenderOutsideSafeArea: 0 68 | androidBlitType: 0 69 | defaultIsNativeResolution: 1 70 | macRetinaSupport: 1 71 | runInBackground: 0 72 | captureSingleScreen: 0 73 | muteOtherAudioSources: 0 74 | Prepare IOS For Recording: 0 75 | Force IOS Speakers When Recording: 0 76 | deferSystemGesturesMode: 0 77 | hideHomeButton: 0 78 | submitAnalytics: 1 79 | usePlayerLog: 1 80 | bakeCollisionMeshes: 0 81 | forceSingleInstance: 0 82 | resizableWindow: 0 83 | useMacAppStoreValidation: 0 84 | macAppStoreCategory: public.app-category.games 85 | gpuSkinning: 0 86 | graphicsJobs: 0 87 | xboxPIXTextureCapture: 0 88 | xboxEnableAvatar: 0 89 | xboxEnableKinect: 0 90 | xboxEnableKinectAutoTracking: 0 91 | xboxEnableFitness: 0 92 | visibleInBackground: 1 93 | allowFullscreenSwitch: 1 94 | graphicsJobMode: 0 95 | fullscreenMode: 1 96 | xboxSpeechDB: 0 97 | xboxEnableHeadOrientation: 0 98 | xboxEnableGuest: 0 99 | xboxEnablePIXSampling: 0 100 | metalFramebufferOnly: 0 101 | xboxOneResolution: 0 102 | xboxOneSResolution: 0 103 | xboxOneXResolution: 3 104 | xboxOneMonoLoggingLevel: 0 105 | xboxOneLoggingLevel: 1 106 | xboxOneDisableEsram: 0 107 | xboxOnePresentImmediateThreshold: 0 108 | switchQueueCommandMemory: 1048576 109 | switchQueueControlMemory: 16384 110 | switchQueueComputeMemory: 262144 111 | switchNVNShaderPoolsGranularity: 33554432 112 | switchNVNDefaultPoolsGranularity: 16777216 113 | switchNVNOtherPoolsGranularity: 16777216 114 | vulkanEnableSetSRGBWrite: 0 115 | m_SupportedAspectRatios: 116 | 4:3: 1 117 | 5:4: 1 118 | 16:10: 1 119 | 16:9: 1 120 | Others: 1 121 | bundleVersion: 1.0 122 | preloadedAssets: [] 123 | metroInputSource: 0 124 | wsaTransparentSwapchain: 0 125 | m_HolographicPauseOnTrackingLoss: 1 126 | xboxOneDisableKinectGpuReservation: 0 127 | xboxOneEnable7thCore: 1 128 | isWsaHolographicRemotingEnabled: 0 129 | vrSettings: 130 | cardboard: 131 | depthFormat: 0 132 | enableTransitionView: 0 133 | daydream: 134 | depthFormat: 0 135 | useSustainedPerformanceMode: 0 136 | enableVideoLayer: 0 137 | useProtectedVideoMemory: 0 138 | minimumSupportedHeadTracking: 0 139 | maximumSupportedHeadTracking: 1 140 | hololens: 141 | depthFormat: 1 142 | depthBufferSharingEnabled: 0 143 | oculus: 144 | sharedDepthBuffer: 1 145 | dashSupport: 1 146 | enable360StereoCapture: 0 147 | protectGraphicsMemory: 0 148 | enableFrameTimingStats: 0 149 | useHDRDisplay: 0 150 | m_ColorGamuts: 00000000 151 | targetPixelDensity: 30 152 | resolutionScalingMode: 0 153 | androidSupportedAspectRatio: 1 154 | androidMaxAspectRatio: 2.1 155 | applicationIdentifier: {} 156 | buildNumber: {} 157 | AndroidBundleVersionCode: 1 158 | AndroidMinSdkVersion: 16 159 | AndroidTargetSdkVersion: 0 160 | AndroidPreferredInstallLocation: 1 161 | aotOptions: 162 | stripEngineCode: 1 163 | iPhoneStrippingLevel: 0 164 | iPhoneScriptCallOptimization: 0 165 | ForceInternetPermission: 0 166 | ForceSDCardPermission: 0 167 | CreateWallpaper: 0 168 | APKExpansionFiles: 0 169 | keepLoadedShadersAlive: 0 170 | StripUnusedMeshComponents: 0 171 | VertexChannelCompressionMask: 4054 172 | iPhoneSdkVersion: 988 173 | iOSTargetOSVersionString: 9.0 174 | tvOSSdkVersion: 0 175 | tvOSRequireExtendedGameController: 0 176 | tvOSTargetOSVersionString: 9.0 177 | uIPrerenderedIcon: 0 178 | uIRequiresPersistentWiFi: 0 179 | uIRequiresFullScreen: 1 180 | uIStatusBarHidden: 1 181 | uIExitOnSuspend: 0 182 | uIStatusBarStyle: 0 183 | iPhoneSplashScreen: {fileID: 0} 184 | iPhoneHighResSplashScreen: {fileID: 0} 185 | iPhoneTallHighResSplashScreen: {fileID: 0} 186 | iPhone47inSplashScreen: {fileID: 0} 187 | iPhone55inPortraitSplashScreen: {fileID: 0} 188 | iPhone55inLandscapeSplashScreen: {fileID: 0} 189 | iPhone58inPortraitSplashScreen: {fileID: 0} 190 | iPhone58inLandscapeSplashScreen: {fileID: 0} 191 | iPadPortraitSplashScreen: {fileID: 0} 192 | iPadHighResPortraitSplashScreen: {fileID: 0} 193 | iPadLandscapeSplashScreen: {fileID: 0} 194 | iPadHighResLandscapeSplashScreen: {fileID: 0} 195 | appleTVSplashScreen: {fileID: 0} 196 | appleTVSplashScreen2x: {fileID: 0} 197 | tvOSSmallIconLayers: [] 198 | tvOSSmallIconLayers2x: [] 199 | tvOSLargeIconLayers: [] 200 | tvOSLargeIconLayers2x: [] 201 | tvOSTopShelfImageLayers: [] 202 | tvOSTopShelfImageLayers2x: [] 203 | tvOSTopShelfImageWideLayers: [] 204 | tvOSTopShelfImageWideLayers2x: [] 205 | iOSLaunchScreenType: 0 206 | iOSLaunchScreenPortrait: {fileID: 0} 207 | iOSLaunchScreenLandscape: {fileID: 0} 208 | iOSLaunchScreenBackgroundColor: 209 | serializedVersion: 2 210 | rgba: 0 211 | iOSLaunchScreenFillPct: 100 212 | iOSLaunchScreenSize: 100 213 | iOSLaunchScreenCustomXibPath: 214 | iOSLaunchScreeniPadType: 0 215 | iOSLaunchScreeniPadImage: {fileID: 0} 216 | iOSLaunchScreeniPadBackgroundColor: 217 | serializedVersion: 2 218 | rgba: 0 219 | iOSLaunchScreeniPadFillPct: 100 220 | iOSLaunchScreeniPadSize: 100 221 | iOSLaunchScreeniPadCustomXibPath: 222 | iOSUseLaunchScreenStoryboard: 0 223 | iOSLaunchScreenCustomStoryboardPath: 224 | iOSDeviceRequirements: [] 225 | iOSURLSchemes: [] 226 | iOSBackgroundModes: 0 227 | iOSMetalForceHardShadows: 0 228 | metalEditorSupport: 1 229 | metalAPIValidation: 1 230 | iOSRenderExtraFrameOnPause: 0 231 | appleDeveloperTeamID: 232 | iOSManualSigningProvisioningProfileID: 233 | tvOSManualSigningProvisioningProfileID: 234 | iOSManualSigningProvisioningProfileType: 0 235 | tvOSManualSigningProvisioningProfileType: 0 236 | appleEnableAutomaticSigning: 0 237 | iOSRequireARKit: 0 238 | iOSAutomaticallyDetectAndAddCapabilities: 1 239 | appleEnableProMotion: 0 240 | clonedFromGUID: 00000000000000000000000000000000 241 | templatePackageId: 242 | templateDefaultScene: 243 | AndroidTargetArchitectures: 1 244 | AndroidSplashScreenScale: 0 245 | androidSplashScreen: {fileID: 0} 246 | AndroidKeystoreName: 247 | AndroidKeyaliasName: 248 | AndroidBuildApkPerCpuArchitecture: 0 249 | AndroidTVCompatibility: 0 250 | AndroidIsGame: 1 251 | AndroidEnableTango: 0 252 | androidEnableBanner: 1 253 | androidUseLowAccuracyLocation: 0 254 | m_AndroidBanners: 255 | - width: 320 256 | height: 180 257 | banner: {fileID: 0} 258 | androidGamepadSupportLevel: 0 259 | resolutionDialogBanner: {fileID: 0} 260 | m_BuildTargetIcons: [] 261 | m_BuildTargetPlatformIcons: [] 262 | m_BuildTargetBatching: [] 263 | m_BuildTargetGraphicsAPIs: [] 264 | m_BuildTargetVRSettings: [] 265 | m_BuildTargetEnableVuforiaSettings: [] 266 | openGLRequireES31: 0 267 | openGLRequireES31AEP: 0 268 | m_TemplateCustomTags: {} 269 | mobileMTRendering: 270 | Android: 1 271 | iPhone: 1 272 | tvOS: 1 273 | m_BuildTargetGroupLightmapEncodingQuality: [] 274 | m_BuildTargetGroupLightmapSettings: [] 275 | playModeTestRunnerEnabled: 0 276 | runPlayModeTestAsEditModeTest: 0 277 | actionOnDotNetUnhandledException: 1 278 | enableInternalProfiler: 0 279 | logObjCUncaughtExceptions: 1 280 | enableCrashReportAPI: 0 281 | cameraUsageDescription: 282 | locationUsageDescription: 283 | microphoneUsageDescription: 284 | switchNetLibKey: 285 | switchSocketMemoryPoolSize: 6144 286 | switchSocketAllocatorPoolSize: 128 287 | switchSocketConcurrencyLimit: 14 288 | switchScreenResolutionBehavior: 2 289 | switchUseCPUProfiler: 0 290 | switchApplicationID: 0x01004b9000490000 291 | switchNSODependencies: 292 | switchTitleNames_0: 293 | switchTitleNames_1: 294 | switchTitleNames_2: 295 | switchTitleNames_3: 296 | switchTitleNames_4: 297 | switchTitleNames_5: 298 | switchTitleNames_6: 299 | switchTitleNames_7: 300 | switchTitleNames_8: 301 | switchTitleNames_9: 302 | switchTitleNames_10: 303 | switchTitleNames_11: 304 | switchTitleNames_12: 305 | switchTitleNames_13: 306 | switchTitleNames_14: 307 | switchPublisherNames_0: 308 | switchPublisherNames_1: 309 | switchPublisherNames_2: 310 | switchPublisherNames_3: 311 | switchPublisherNames_4: 312 | switchPublisherNames_5: 313 | switchPublisherNames_6: 314 | switchPublisherNames_7: 315 | switchPublisherNames_8: 316 | switchPublisherNames_9: 317 | switchPublisherNames_10: 318 | switchPublisherNames_11: 319 | switchPublisherNames_12: 320 | switchPublisherNames_13: 321 | switchPublisherNames_14: 322 | switchIcons_0: {fileID: 0} 323 | switchIcons_1: {fileID: 0} 324 | switchIcons_2: {fileID: 0} 325 | switchIcons_3: {fileID: 0} 326 | switchIcons_4: {fileID: 0} 327 | switchIcons_5: {fileID: 0} 328 | switchIcons_6: {fileID: 0} 329 | switchIcons_7: {fileID: 0} 330 | switchIcons_8: {fileID: 0} 331 | switchIcons_9: {fileID: 0} 332 | switchIcons_10: {fileID: 0} 333 | switchIcons_11: {fileID: 0} 334 | switchIcons_12: {fileID: 0} 335 | switchIcons_13: {fileID: 0} 336 | switchIcons_14: {fileID: 0} 337 | switchSmallIcons_0: {fileID: 0} 338 | switchSmallIcons_1: {fileID: 0} 339 | switchSmallIcons_2: {fileID: 0} 340 | switchSmallIcons_3: {fileID: 0} 341 | switchSmallIcons_4: {fileID: 0} 342 | switchSmallIcons_5: {fileID: 0} 343 | switchSmallIcons_6: {fileID: 0} 344 | switchSmallIcons_7: {fileID: 0} 345 | switchSmallIcons_8: {fileID: 0} 346 | switchSmallIcons_9: {fileID: 0} 347 | switchSmallIcons_10: {fileID: 0} 348 | switchSmallIcons_11: {fileID: 0} 349 | switchSmallIcons_12: {fileID: 0} 350 | switchSmallIcons_13: {fileID: 0} 351 | switchSmallIcons_14: {fileID: 0} 352 | switchManualHTML: 353 | switchAccessibleURLs: 354 | switchLegalInformation: 355 | switchMainThreadStackSize: 1048576 356 | switchPresenceGroupId: 357 | switchLogoHandling: 0 358 | switchReleaseVersion: 0 359 | switchDisplayVersion: 1.0.0 360 | switchStartupUserAccount: 0 361 | switchTouchScreenUsage: 0 362 | switchSupportedLanguagesMask: 0 363 | switchLogoType: 0 364 | switchApplicationErrorCodeCategory: 365 | switchUserAccountSaveDataSize: 0 366 | switchUserAccountSaveDataJournalSize: 0 367 | switchApplicationAttribute: 0 368 | switchCardSpecSize: -1 369 | switchCardSpecClock: -1 370 | switchRatingsMask: 0 371 | switchRatingsInt_0: 0 372 | switchRatingsInt_1: 0 373 | switchRatingsInt_2: 0 374 | switchRatingsInt_3: 0 375 | switchRatingsInt_4: 0 376 | switchRatingsInt_5: 0 377 | switchRatingsInt_6: 0 378 | switchRatingsInt_7: 0 379 | switchRatingsInt_8: 0 380 | switchRatingsInt_9: 0 381 | switchRatingsInt_10: 0 382 | switchRatingsInt_11: 0 383 | switchLocalCommunicationIds_0: 384 | switchLocalCommunicationIds_1: 385 | switchLocalCommunicationIds_2: 386 | switchLocalCommunicationIds_3: 387 | switchLocalCommunicationIds_4: 388 | switchLocalCommunicationIds_5: 389 | switchLocalCommunicationIds_6: 390 | switchLocalCommunicationIds_7: 391 | switchParentalControl: 0 392 | switchAllowsScreenshot: 1 393 | switchAllowsVideoCapturing: 1 394 | switchAllowsRuntimeAddOnContentInstall: 0 395 | switchDataLossConfirmation: 0 396 | switchUserAccountLockEnabled: 0 397 | switchSystemResourceMemory: 16777216 398 | switchSupportedNpadStyles: 6 399 | switchNativeFsCacheSize: 32 400 | switchIsHoldTypeHorizontal: 0 401 | switchSupportedNpadCount: 8 402 | switchSocketConfigEnabled: 0 403 | switchTcpInitialSendBufferSize: 32 404 | switchTcpInitialReceiveBufferSize: 64 405 | switchTcpAutoSendBufferSizeMax: 256 406 | switchTcpAutoReceiveBufferSizeMax: 256 407 | switchUdpSendBufferSize: 9 408 | switchUdpReceiveBufferSize: 42 409 | switchSocketBufferEfficiency: 4 410 | switchSocketInitializeEnabled: 1 411 | switchNetworkInterfaceManagerInitializeEnabled: 1 412 | switchPlayerConnectionEnabled: 1 413 | ps4NPAgeRating: 12 414 | ps4NPTitleSecret: 415 | ps4NPTrophyPackPath: 416 | ps4ParentalLevel: 11 417 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 418 | ps4Category: 0 419 | ps4MasterVersion: 01.00 420 | ps4AppVersion: 01.00 421 | ps4AppType: 0 422 | ps4ParamSfxPath: 423 | ps4VideoOutPixelFormat: 0 424 | ps4VideoOutInitialWidth: 1920 425 | ps4VideoOutBaseModeInitialWidth: 1920 426 | ps4VideoOutReprojectionRate: 60 427 | ps4PronunciationXMLPath: 428 | ps4PronunciationSIGPath: 429 | ps4BackgroundImagePath: 430 | ps4StartupImagePath: 431 | ps4StartupImagesFolder: 432 | ps4IconImagesFolder: 433 | ps4SaveDataImagePath: 434 | ps4SdkOverride: 435 | ps4BGMPath: 436 | ps4ShareFilePath: 437 | ps4ShareOverlayImagePath: 438 | ps4PrivacyGuardImagePath: 439 | ps4NPtitleDatPath: 440 | ps4RemotePlayKeyAssignment: -1 441 | ps4RemotePlayKeyMappingDir: 442 | ps4PlayTogetherPlayerCount: 0 443 | ps4EnterButtonAssignment: 2 444 | ps4ApplicationParam1: 0 445 | ps4ApplicationParam2: 0 446 | ps4ApplicationParam3: 0 447 | ps4ApplicationParam4: 0 448 | ps4DownloadDataSize: 0 449 | ps4GarlicHeapSize: 2048 450 | ps4ProGarlicHeapSize: 2560 451 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 452 | ps4pnSessions: 1 453 | ps4pnPresence: 1 454 | ps4pnFriends: 1 455 | ps4pnGameCustomData: 1 456 | playerPrefsSupport: 0 457 | enableApplicationExit: 0 458 | resetTempFolder: 1 459 | restrictedAudioUsageRights: 0 460 | ps4UseResolutionFallback: 0 461 | ps4ReprojectionSupport: 0 462 | ps4UseAudio3dBackend: 0 463 | ps4SocialScreenEnabled: 0 464 | ps4ScriptOptimizationLevel: 2 465 | ps4Audio3dVirtualSpeakerCount: 14 466 | ps4attribCpuUsage: 0 467 | ps4PatchPkgPath: 468 | ps4PatchLatestPkgPath: 469 | ps4PatchChangeinfoPath: 470 | ps4PatchDayOne: 0 471 | ps4attribUserManagement: 0 472 | ps4attribMoveSupport: 0 473 | ps4attrib3DSupport: 0 474 | ps4attribShareSupport: 0 475 | ps4attribExclusiveVR: 0 476 | ps4disableAutoHideSplash: 0 477 | ps4videoRecordingFeaturesUsed: 0 478 | ps4contentSearchFeaturesUsed: 0 479 | ps4attribEyeToEyeDistanceSettingVR: 0 480 | ps4IncludedModules: [] 481 | monoEnv: 482 | splashScreenBackgroundSourceLandscape: {fileID: 0} 483 | splashScreenBackgroundSourcePortrait: {fileID: 0} 484 | spritePackerPolicy: 485 | webGLMemorySize: 256 486 | webGLExceptionSupport: 1 487 | webGLNameFilesAsHashes: 0 488 | webGLDataCaching: 1 489 | webGLDebugSymbols: 0 490 | webGLEmscriptenArgs: 491 | webGLModulesDirectory: 492 | webGLTemplate: APPLICATION:Default 493 | webGLAnalyzeBuildSize: 0 494 | webGLUseEmbeddedResources: 0 495 | webGLCompressionFormat: 1 496 | webGLLinkerTarget: 1 497 | webGLThreadsSupport: 0 498 | scriptingDefineSymbols: {} 499 | platformArchitecture: {} 500 | scriptingBackend: {} 501 | il2cppCompilerConfiguration: {} 502 | managedStrippingLevel: {} 503 | incrementalIl2cppBuild: {} 504 | allowUnsafeCode: 0 505 | additionalIl2CppArgs: 506 | scriptingRuntimeVersion: 1 507 | apiCompatibilityLevelPerPlatform: {} 508 | m_RenderingPath: 1 509 | m_MobileRenderingPath: 1 510 | metroPackageName: MintAnimation 511 | metroPackageVersion: 512 | metroCertificatePath: 513 | metroCertificatePassword: 514 | metroCertificateSubject: 515 | metroCertificateIssuer: 516 | metroCertificateNotAfter: 0000000000000000 517 | metroApplicationDescription: MintAnimation 518 | wsaImages: {} 519 | metroTileShortName: 520 | metroTileShowName: 0 521 | metroMediumTileShowName: 0 522 | metroLargeTileShowName: 0 523 | metroWideTileShowName: 0 524 | metroSupportStreamingInstall: 0 525 | metroLastRequiredScene: 0 526 | metroDefaultTileSize: 1 527 | metroTileForegroundText: 2 528 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 529 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, 530 | a: 1} 531 | metroSplashScreenUseBackgroundColor: 0 532 | platformCapabilities: {} 533 | metroTargetDeviceFamilies: {} 534 | metroFTAName: 535 | metroFTAFileTypes: [] 536 | metroProtocolName: 537 | metroCompilationOverrides: 1 538 | XboxOneProductId: 539 | XboxOneUpdateKey: 540 | XboxOneSandboxId: 541 | XboxOneContentId: 542 | XboxOneTitleId: 543 | XboxOneSCId: 544 | XboxOneGameOsOverridePath: 545 | XboxOnePackagingOverridePath: 546 | XboxOneAppManifestOverridePath: 547 | XboxOneVersion: 1.0.0.0 548 | XboxOnePackageEncryption: 0 549 | XboxOnePackageUpdateGranularity: 2 550 | XboxOneDescription: 551 | XboxOneLanguage: 552 | - enus 553 | XboxOneCapability: [] 554 | XboxOneGameRating: {} 555 | XboxOneIsContentPackage: 0 556 | XboxOneEnableGPUVariability: 1 557 | XboxOneSockets: {} 558 | XboxOneSplashScreen: {fileID: 0} 559 | XboxOneAllowedProductIds: [] 560 | XboxOnePersistentLocalStorageSize: 0 561 | XboxOneXTitleMemory: 8 562 | xboxOneScriptCompiler: 0 563 | XboxOneOverrideIdentityName: 564 | vrEditorSettings: 565 | daydream: 566 | daydreamIconForeground: {fileID: 0} 567 | daydreamIconBackground: {fileID: 0} 568 | cloudServicesEnabled: {} 569 | luminIcon: 570 | m_Name: 571 | m_ModelFolderPath: 572 | m_PortalFolderPath: 573 | luminCert: 574 | m_CertPath: 575 | m_PrivateKeyPath: 576 | luminIsChannelApp: 0 577 | luminVersion: 578 | m_VersionCode: 1 579 | m_VersionName: 580 | facebookSdkVersion: 581 | facebookAppId: 582 | facebookCookies: 1 583 | facebookLogging: 1 584 | facebookStatus: 1 585 | facebookXfbml: 0 586 | facebookFrictionlessRequests: 1 587 | apiCompatibilityLevel: 6 588 | cloudProjectId: 589 | framebufferDepthMemorylessMode: 0 590 | projectName: 591 | organizationId: 592 | cloudEnabled: 0 593 | enableNativePlatformBackendsForNewInputSystem: 0 594 | disableOldInputManagerSupport: 0 595 | legacyClampBlendShapeWeights: 0 596 | -------------------------------------------------------------------------------- /Assets/MintAnimation/Tests/Scene1_UIAnimation.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: 0} 41 | m_IndirectSpecularColor: {r: 0.44657874, g: 0.49641258, b: 0.5748172, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 11 47 | m_GIWorkflowMode: 0 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: 1 56 | m_LightmapEditorSettings: 57 | serializedVersion: 10 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_Padding: 2 66 | m_LightmapParameters: {fileID: 0} 67 | m_LightmapsBakeMode: 1 68 | m_TextureCompression: 1 69 | m_FinalGather: 0 70 | m_FinalGatherFiltering: 1 71 | m_FinalGatherRayCount: 256 72 | m_ReflectionCompression: 2 73 | m_MixedBakeMode: 2 74 | m_BakeBackend: 1 75 | m_PVRSampling: 1 76 | m_PVRDirectSampleCount: 32 77 | m_PVRSampleCount: 500 78 | m_PVRBounces: 2 79 | m_PVRFilterTypeDirect: 0 80 | m_PVRFilterTypeIndirect: 0 81 | m_PVRFilterTypeAO: 0 82 | m_PVRFilteringMode: 1 83 | m_PVRCulling: 1 84 | m_PVRFilteringGaussRadiusDirect: 1 85 | m_PVRFilteringGaussRadiusIndirect: 5 86 | m_PVRFilteringGaussRadiusAO: 2 87 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 88 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 89 | m_PVRFilteringAtrousPositionSigmaAO: 1 90 | m_ShowResolutionOverlay: 1 91 | m_LightingDataAsset: {fileID: 0} 92 | m_UseShadowmask: 1 93 | --- !u!196 &4 94 | NavMeshSettings: 95 | serializedVersion: 2 96 | m_ObjectHideFlags: 0 97 | m_BuildSettings: 98 | serializedVersion: 2 99 | agentTypeID: 0 100 | agentRadius: 0.5 101 | agentHeight: 2 102 | agentSlope: 45 103 | agentClimb: 0.4 104 | ledgeDropHeight: 0 105 | maxJumpAcrossDistance: 0 106 | minRegionArea: 2 107 | manualCellSize: 0 108 | cellSize: 0.16666667 109 | manualTileSize: 0 110 | tileSize: 256 111 | accuratePlacement: 0 112 | debug: 113 | m_Flags: 0 114 | m_NavMeshData: {fileID: 0} 115 | --- !u!1 &70782695 116 | GameObject: 117 | m_ObjectHideFlags: 0 118 | m_CorrespondingSourceObject: {fileID: 0} 119 | m_PrefabInstance: {fileID: 0} 120 | m_PrefabAsset: {fileID: 0} 121 | serializedVersion: 6 122 | m_Component: 123 | - component: {fileID: 70782698} 124 | - component: {fileID: 70782697} 125 | - component: {fileID: 70782696} 126 | m_Layer: 0 127 | m_Name: Main Camera 128 | m_TagString: MainCamera 129 | m_Icon: {fileID: 0} 130 | m_NavMeshLayer: 0 131 | m_StaticEditorFlags: 0 132 | m_IsActive: 1 133 | --- !u!81 &70782696 134 | AudioListener: 135 | m_ObjectHideFlags: 0 136 | m_CorrespondingSourceObject: {fileID: 0} 137 | m_PrefabInstance: {fileID: 0} 138 | m_PrefabAsset: {fileID: 0} 139 | m_GameObject: {fileID: 70782695} 140 | m_Enabled: 1 141 | --- !u!20 &70782697 142 | Camera: 143 | m_ObjectHideFlags: 0 144 | m_CorrespondingSourceObject: {fileID: 0} 145 | m_PrefabInstance: {fileID: 0} 146 | m_PrefabAsset: {fileID: 0} 147 | m_GameObject: {fileID: 70782695} 148 | m_Enabled: 1 149 | serializedVersion: 2 150 | m_ClearFlags: 2 151 | m_BackGroundColor: {r: 0.1792453, g: 0.1792453, b: 0.1792453, a: 0} 152 | m_projectionMatrixMode: 1 153 | m_SensorSize: {x: 36, y: 24} 154 | m_LensShift: {x: 0, y: 0} 155 | m_GateFitMode: 2 156 | m_FocalLength: 50 157 | m_NormalizedViewPortRect: 158 | serializedVersion: 2 159 | x: 0 160 | y: 0 161 | width: 1 162 | height: 1 163 | near clip plane: 0.3 164 | far clip plane: 1000 165 | field of view: 60 166 | orthographic: 0 167 | orthographic size: 5 168 | m_Depth: -1 169 | m_CullingMask: 170 | serializedVersion: 2 171 | m_Bits: 4294967295 172 | m_RenderingPath: -1 173 | m_TargetTexture: {fileID: 0} 174 | m_TargetDisplay: 0 175 | m_TargetEye: 3 176 | m_HDR: 1 177 | m_AllowMSAA: 1 178 | m_AllowDynamicResolution: 0 179 | m_ForceIntoRT: 0 180 | m_OcclusionCulling: 1 181 | m_StereoConvergence: 10 182 | m_StereoSeparation: 0.022 183 | --- !u!4 &70782698 184 | Transform: 185 | m_ObjectHideFlags: 0 186 | m_CorrespondingSourceObject: {fileID: 0} 187 | m_PrefabInstance: {fileID: 0} 188 | m_PrefabAsset: {fileID: 0} 189 | m_GameObject: {fileID: 70782695} 190 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 191 | m_LocalPosition: {x: 0, y: 1, z: -10} 192 | m_LocalScale: {x: 1, y: 1, z: 1} 193 | m_Children: [] 194 | m_Father: {fileID: 0} 195 | m_RootOrder: 0 196 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 197 | --- !u!1 &144943969 198 | GameObject: 199 | m_ObjectHideFlags: 0 200 | m_CorrespondingSourceObject: {fileID: 0} 201 | m_PrefabInstance: {fileID: 0} 202 | m_PrefabAsset: {fileID: 0} 203 | serializedVersion: 6 204 | m_Component: 205 | - component: {fileID: 144943970} 206 | - component: {fileID: 144943972} 207 | - component: {fileID: 144943971} 208 | - component: {fileID: 144943973} 209 | m_Layer: 5 210 | m_Name: Image 211 | m_TagString: Untagged 212 | m_Icon: {fileID: 0} 213 | m_NavMeshLayer: 0 214 | m_StaticEditorFlags: 0 215 | m_IsActive: 1 216 | --- !u!224 &144943970 217 | RectTransform: 218 | m_ObjectHideFlags: 0 219 | m_CorrespondingSourceObject: {fileID: 0} 220 | m_PrefabInstance: {fileID: 0} 221 | m_PrefabAsset: {fileID: 0} 222 | m_GameObject: {fileID: 144943969} 223 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 224 | m_LocalPosition: {x: 0, y: 0, z: 0} 225 | m_LocalScale: {x: 1, y: 1, z: 1} 226 | m_Children: [] 227 | m_Father: {fileID: 2013767445} 228 | m_RootOrder: 1 229 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 230 | m_AnchorMin: {x: 1, y: 0.5} 231 | m_AnchorMax: {x: 1, y: 0.5} 232 | m_AnchoredPosition: {x: -100, y: 0} 233 | m_SizeDelta: {x: 100, y: 100} 234 | m_Pivot: {x: 0.5, y: 0.5} 235 | --- !u!114 &144943971 236 | MonoBehaviour: 237 | m_ObjectHideFlags: 0 238 | m_CorrespondingSourceObject: {fileID: 0} 239 | m_PrefabInstance: {fileID: 0} 240 | m_PrefabAsset: {fileID: 0} 241 | m_GameObject: {fileID: 144943969} 242 | m_Enabled: 1 243 | m_EditorHideFlags: 0 244 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 245 | m_Name: 246 | m_EditorClassIdentifier: 247 | m_Material: {fileID: 0} 248 | m_Color: {r: 1, g: 1, b: 1, a: 1} 249 | m_RaycastTarget: 1 250 | m_OnCullStateChanged: 251 | m_PersistentCalls: 252 | m_Calls: [] 253 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 254 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 255 | m_Sprite: {fileID: 0} 256 | m_Type: 0 257 | m_PreserveAspect: 0 258 | m_FillCenter: 1 259 | m_FillMethod: 4 260 | m_FillAmount: 1 261 | m_FillClockwise: 1 262 | m_FillOrigin: 0 263 | m_UseSpriteMesh: 0 264 | --- !u!222 &144943972 265 | CanvasRenderer: 266 | m_ObjectHideFlags: 0 267 | m_CorrespondingSourceObject: {fileID: 0} 268 | m_PrefabInstance: {fileID: 0} 269 | m_PrefabAsset: {fileID: 0} 270 | m_GameObject: {fileID: 144943969} 271 | m_CullTransparentMesh: 0 272 | --- !u!114 &144943973 273 | MonoBehaviour: 274 | m_ObjectHideFlags: 0 275 | m_CorrespondingSourceObject: {fileID: 0} 276 | m_PrefabInstance: {fileID: 0} 277 | m_PrefabAsset: {fileID: 0} 278 | m_GameObject: {fileID: 144943969} 279 | m_Enabled: 1 280 | m_EditorHideFlags: 0 281 | m_Script: {fileID: 11500000, guid: 40bba28ff00680f4b8b0378519e3cc48, type: 3} 282 | m_Name: 283 | m_EditorClassIdentifier: 284 | IsAutoPlay: 1 285 | AutoStartValue: 0 286 | CompleteAction: 0 287 | MintAnimationData: 288 | Duration: 0.35 289 | IsBack: 0 290 | IsLoop: 0 291 | IsReversal: 0 292 | LoopCount: -1 293 | IsCustomEase: 0 294 | EaseType: 0 295 | TimeCurve: 296 | serializedVersion: 2 297 | m_Curve: 298 | - serializedVersion: 3 299 | time: 0 300 | value: 0 301 | inSlope: 0 302 | outSlope: 0 303 | tangentMode: 0 304 | weightedMode: 0 305 | inWeight: 0 306 | outWeight: 0 307 | - serializedVersion: 3 308 | time: 1 309 | value: 1 310 | inSlope: 0 311 | outSlope: 0 312 | tangentMode: 0 313 | weightedMode: 0 314 | inWeight: 0 315 | outWeight: 0 316 | m_PreInfinity: 2 317 | m_PostInfinity: 2 318 | m_RotationOrder: 4 319 | DriveType: 1 320 | UpdaterTypeEnum: 2 321 | CustomDrive: {fileID: 0} 322 | StartValue: {x: 100, y: 100, z: 0} 323 | EndValue: {x: 0, y: 0, z: 0} 324 | IsSizeDelta: 1 325 | --- !u!1 &300304011 326 | GameObject: 327 | m_ObjectHideFlags: 0 328 | m_CorrespondingSourceObject: {fileID: 0} 329 | m_PrefabInstance: {fileID: 0} 330 | m_PrefabAsset: {fileID: 0} 331 | serializedVersion: 6 332 | m_Component: 333 | - component: {fileID: 300304012} 334 | - component: {fileID: 300304014} 335 | - component: {fileID: 300304013} 336 | - component: {fileID: 300304016} 337 | - component: {fileID: 300304015} 338 | m_Layer: 5 339 | m_Name: Text 340 | m_TagString: Untagged 341 | m_Icon: {fileID: 0} 342 | m_NavMeshLayer: 0 343 | m_StaticEditorFlags: 0 344 | m_IsActive: 1 345 | --- !u!224 &300304012 346 | RectTransform: 347 | m_ObjectHideFlags: 0 348 | m_CorrespondingSourceObject: {fileID: 0} 349 | m_PrefabInstance: {fileID: 0} 350 | m_PrefabAsset: {fileID: 0} 351 | m_GameObject: {fileID: 300304011} 352 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 353 | m_LocalPosition: {x: 0, y: 0, z: 0} 354 | m_LocalScale: {x: 1, y: 1, z: 1} 355 | m_Children: [] 356 | m_Father: {fileID: 1746875084} 357 | m_RootOrder: 1 358 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 359 | m_AnchorMin: {x: 0.5, y: 0.5} 360 | m_AnchorMax: {x: 0.5, y: 0.5} 361 | m_AnchoredPosition: {x: 48, y: 0.0000061524} 362 | m_SizeDelta: {x: 238.9, y: 47.3} 363 | m_Pivot: {x: 0.5, y: 0.5} 364 | --- !u!114 &300304013 365 | MonoBehaviour: 366 | m_ObjectHideFlags: 0 367 | m_CorrespondingSourceObject: {fileID: 0} 368 | m_PrefabInstance: {fileID: 0} 369 | m_PrefabAsset: {fileID: 0} 370 | m_GameObject: {fileID: 300304011} 371 | m_Enabled: 1 372 | m_EditorHideFlags: 0 373 | m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} 374 | m_Name: 375 | m_EditorClassIdentifier: 376 | m_Material: {fileID: 0} 377 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} 378 | m_RaycastTarget: 1 379 | m_OnCullStateChanged: 380 | m_PersistentCalls: 381 | m_Calls: [] 382 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 383 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 384 | m_FontData: 385 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 386 | m_FontSize: 32 387 | m_FontStyle: 0 388 | m_BestFit: 0 389 | m_MinSize: 10 390 | m_MaxSize: 40 391 | m_Alignment: 3 392 | m_AlignByGeometry: 0 393 | m_RichText: 1 394 | m_HorizontalOverflow: 0 395 | m_VerticalOverflow: 0 396 | m_LineSpacing: 1 397 | m_Text: Loading... 398 | --- !u!222 &300304014 399 | CanvasRenderer: 400 | m_ObjectHideFlags: 0 401 | m_CorrespondingSourceObject: {fileID: 0} 402 | m_PrefabInstance: {fileID: 0} 403 | m_PrefabAsset: {fileID: 0} 404 | m_GameObject: {fileID: 300304011} 405 | m_CullTransparentMesh: 0 406 | --- !u!114 &300304015 407 | MonoBehaviour: 408 | m_ObjectHideFlags: 0 409 | m_CorrespondingSourceObject: {fileID: 0} 410 | m_PrefabInstance: {fileID: 0} 411 | m_PrefabAsset: {fileID: 0} 412 | m_GameObject: {fileID: 300304011} 413 | m_Enabled: 1 414 | m_EditorHideFlags: 0 415 | m_Script: {fileID: 11500000, guid: 9bcb3e466eed0924f80ecc376ff1765c, type: 3} 416 | m_Name: 417 | m_EditorClassIdentifier: 418 | IsAutoPlay: 1 419 | AutoStartValue: 1 420 | CompleteAction: 0 421 | MintAnimationData: 422 | Duration: 0.35 423 | IsBack: 0 424 | IsLoop: 0 425 | IsReversal: 0 426 | LoopCount: -1 427 | IsCustomEase: 0 428 | EaseType: 0 429 | TimeCurve: 430 | serializedVersion: 2 431 | m_Curve: 432 | - serializedVersion: 3 433 | time: 0 434 | value: 0 435 | inSlope: 0 436 | outSlope: 0 437 | tangentMode: 0 438 | weightedMode: 0 439 | inWeight: 0 440 | outWeight: 0 441 | - serializedVersion: 3 442 | time: 1 443 | value: 1 444 | inSlope: 0 445 | outSlope: 0 446 | tangentMode: 0 447 | weightedMode: 0 448 | inWeight: 0 449 | outWeight: 0 450 | m_PreInfinity: 2 451 | m_PostInfinity: 2 452 | m_RotationOrder: 4 453 | DriveType: 1 454 | UpdaterTypeEnum: 0 455 | CustomDrive: {fileID: 0} 456 | StartValue: 0 457 | EndValue: 0 458 | --- !u!225 &300304016 459 | CanvasGroup: 460 | m_ObjectHideFlags: 0 461 | m_CorrespondingSourceObject: {fileID: 0} 462 | m_PrefabInstance: {fileID: 0} 463 | m_PrefabAsset: {fileID: 0} 464 | m_GameObject: {fileID: 300304011} 465 | m_Enabled: 1 466 | m_Alpha: 1 467 | m_Interactable: 1 468 | m_BlocksRaycasts: 1 469 | m_IgnoreParentGroups: 0 470 | --- !u!1 &840964466 471 | GameObject: 472 | m_ObjectHideFlags: 0 473 | m_CorrespondingSourceObject: {fileID: 0} 474 | m_PrefabInstance: {fileID: 0} 475 | m_PrefabAsset: {fileID: 0} 476 | serializedVersion: 6 477 | m_Component: 478 | - component: {fileID: 840964468} 479 | - component: {fileID: 840964467} 480 | m_Layer: 0 481 | m_Name: Directional Light 482 | m_TagString: Untagged 483 | m_Icon: {fileID: 0} 484 | m_NavMeshLayer: 0 485 | m_StaticEditorFlags: 0 486 | m_IsActive: 1 487 | --- !u!108 &840964467 488 | Light: 489 | m_ObjectHideFlags: 0 490 | m_CorrespondingSourceObject: {fileID: 0} 491 | m_PrefabInstance: {fileID: 0} 492 | m_PrefabAsset: {fileID: 0} 493 | m_GameObject: {fileID: 840964466} 494 | m_Enabled: 1 495 | serializedVersion: 8 496 | m_Type: 1 497 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 498 | m_Intensity: 1 499 | m_Range: 10 500 | m_SpotAngle: 30 501 | m_CookieSize: 10 502 | m_Shadows: 503 | m_Type: 2 504 | m_Resolution: -1 505 | m_CustomResolution: -1 506 | m_Strength: 1 507 | m_Bias: 0.05 508 | m_NormalBias: 0.4 509 | m_NearPlane: 0.2 510 | m_Cookie: {fileID: 0} 511 | m_DrawHalo: 0 512 | m_Flare: {fileID: 0} 513 | m_RenderMode: 0 514 | m_CullingMask: 515 | serializedVersion: 2 516 | m_Bits: 4294967295 517 | m_Lightmapping: 4 518 | m_LightShadowCasterMode: 0 519 | m_AreaSize: {x: 1, y: 1} 520 | m_BounceIntensity: 1 521 | m_ColorTemperature: 6570 522 | m_UseColorTemperature: 0 523 | m_ShadowRadius: 0 524 | m_ShadowAngle: 0 525 | --- !u!4 &840964468 526 | Transform: 527 | m_ObjectHideFlags: 0 528 | m_CorrespondingSourceObject: {fileID: 0} 529 | m_PrefabInstance: {fileID: 0} 530 | m_PrefabAsset: {fileID: 0} 531 | m_GameObject: {fileID: 840964466} 532 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} 533 | m_LocalPosition: {x: 0, y: 3, z: 0} 534 | m_LocalScale: {x: 1, y: 1, z: 1} 535 | m_Children: [] 536 | m_Father: {fileID: 0} 537 | m_RootOrder: 1 538 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} 539 | --- !u!1 &1553514686 540 | GameObject: 541 | m_ObjectHideFlags: 0 542 | m_CorrespondingSourceObject: {fileID: 0} 543 | m_PrefabInstance: {fileID: 0} 544 | m_PrefabAsset: {fileID: 0} 545 | serializedVersion: 6 546 | m_Component: 547 | - component: {fileID: 1553514687} 548 | - component: {fileID: 1553514689} 549 | - component: {fileID: 1553514688} 550 | - component: {fileID: 1553514690} 551 | m_Layer: 5 552 | m_Name: Image 553 | m_TagString: Untagged 554 | m_Icon: {fileID: 0} 555 | m_NavMeshLayer: 0 556 | m_StaticEditorFlags: 0 557 | m_IsActive: 1 558 | --- !u!224 &1553514687 559 | RectTransform: 560 | m_ObjectHideFlags: 0 561 | m_CorrespondingSourceObject: {fileID: 0} 562 | m_PrefabInstance: {fileID: 0} 563 | m_PrefabAsset: {fileID: 0} 564 | m_GameObject: {fileID: 1553514686} 565 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 566 | m_LocalPosition: {x: 0, y: 0, z: 0} 567 | m_LocalScale: {x: 1, y: 1, z: 1} 568 | m_Children: [] 569 | m_Father: {fileID: 1746875084} 570 | m_RootOrder: 0 571 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 572 | m_AnchorMin: {x: 0.5, y: 0.5} 573 | m_AnchorMax: {x: 0.5, y: 0.5} 574 | m_AnchoredPosition: {x: -118, y: -1.2} 575 | m_SizeDelta: {x: 49.7, y: 49.7} 576 | m_Pivot: {x: 0.5, y: 0.5} 577 | --- !u!114 &1553514688 578 | MonoBehaviour: 579 | m_ObjectHideFlags: 0 580 | m_CorrespondingSourceObject: {fileID: 0} 581 | m_PrefabInstance: {fileID: 0} 582 | m_PrefabAsset: {fileID: 0} 583 | m_GameObject: {fileID: 1553514686} 584 | m_Enabled: 1 585 | m_EditorHideFlags: 0 586 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 587 | m_Name: 588 | m_EditorClassIdentifier: 589 | m_Material: {fileID: 0} 590 | m_Color: {r: 1, g: 0.8442702, b: 0, a: 1} 591 | m_RaycastTarget: 1 592 | m_OnCullStateChanged: 593 | m_PersistentCalls: 594 | m_Calls: [] 595 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 596 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 597 | m_Sprite: {fileID: 0} 598 | m_Type: 0 599 | m_PreserveAspect: 0 600 | m_FillCenter: 1 601 | m_FillMethod: 4 602 | m_FillAmount: 1 603 | m_FillClockwise: 1 604 | m_FillOrigin: 0 605 | m_UseSpriteMesh: 0 606 | --- !u!222 &1553514689 607 | CanvasRenderer: 608 | m_ObjectHideFlags: 0 609 | m_CorrespondingSourceObject: {fileID: 0} 610 | m_PrefabInstance: {fileID: 0} 611 | m_PrefabAsset: {fileID: 0} 612 | m_GameObject: {fileID: 1553514686} 613 | m_CullTransparentMesh: 0 614 | --- !u!114 &1553514690 615 | MonoBehaviour: 616 | m_ObjectHideFlags: 0 617 | m_CorrespondingSourceObject: {fileID: 0} 618 | m_PrefabInstance: {fileID: 0} 619 | m_PrefabAsset: {fileID: 0} 620 | m_GameObject: {fileID: 1553514686} 621 | m_Enabled: 1 622 | m_EditorHideFlags: 0 623 | m_Script: {fileID: 11500000, guid: ebaaa5443aa3ed649b83466a5ee8f525, type: 3} 624 | m_Name: 625 | m_EditorClassIdentifier: 626 | IsAutoPlay: 1 627 | AutoStartValue: 1 628 | CompleteAction: 0 629 | MintAnimationData: 630 | Duration: 0.35 631 | IsBack: 0 632 | IsLoop: 0 633 | IsReversal: 0 634 | LoopCount: -1 635 | IsCustomEase: 0 636 | EaseType: 0 637 | TimeCurve: 638 | serializedVersion: 2 639 | m_Curve: 640 | - serializedVersion: 3 641 | time: 0 642 | value: 0 643 | inSlope: 0 644 | outSlope: 0 645 | tangentMode: 0 646 | weightedMode: 0 647 | inWeight: 0 648 | outWeight: 0 649 | - serializedVersion: 3 650 | time: 1 651 | value: 1 652 | inSlope: 0 653 | outSlope: 0 654 | tangentMode: 0 655 | weightedMode: 0 656 | inWeight: 0 657 | outWeight: 0 658 | m_PreInfinity: 2 659 | m_PostInfinity: 2 660 | m_RotationOrder: 4 661 | DriveType: 1 662 | UpdaterTypeEnum: 0 663 | CustomDrive: {fileID: 0} 664 | StartValue: {x: 0, y: 0, z: 0} 665 | EndValue: {x: 0, y: 0, z: 0} 666 | IsLocal: 0 667 | --- !u!1 &1746875083 668 | GameObject: 669 | m_ObjectHideFlags: 0 670 | m_CorrespondingSourceObject: {fileID: 0} 671 | m_PrefabInstance: {fileID: 0} 672 | m_PrefabAsset: {fileID: 0} 673 | serializedVersion: 6 674 | m_Component: 675 | - component: {fileID: 1746875084} 676 | - component: {fileID: 1746875086} 677 | - component: {fileID: 1746875085} 678 | m_Layer: 5 679 | m_Name: RotationTestPanel 680 | m_TagString: Untagged 681 | m_Icon: {fileID: 0} 682 | m_NavMeshLayer: 0 683 | m_StaticEditorFlags: 0 684 | m_IsActive: 0 685 | --- !u!224 &1746875084 686 | RectTransform: 687 | m_ObjectHideFlags: 0 688 | m_CorrespondingSourceObject: {fileID: 0} 689 | m_PrefabInstance: {fileID: 0} 690 | m_PrefabAsset: {fileID: 0} 691 | m_GameObject: {fileID: 1746875083} 692 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 693 | m_LocalPosition: {x: 0, y: 0, z: 0} 694 | m_LocalScale: {x: 1, y: 1, z: 1} 695 | m_Children: 696 | - {fileID: 1553514687} 697 | - {fileID: 300304012} 698 | m_Father: {fileID: 2013767445} 699 | m_RootOrder: 0 700 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 701 | m_AnchorMin: {x: 0, y: 0} 702 | m_AnchorMax: {x: 1, y: 1} 703 | m_AnchoredPosition: {x: 0, y: 0} 704 | m_SizeDelta: {x: 0, y: 0} 705 | m_Pivot: {x: 0.5, y: 0.5} 706 | --- !u!114 &1746875085 707 | MonoBehaviour: 708 | m_ObjectHideFlags: 0 709 | m_CorrespondingSourceObject: {fileID: 0} 710 | m_PrefabInstance: {fileID: 0} 711 | m_PrefabAsset: {fileID: 0} 712 | m_GameObject: {fileID: 1746875083} 713 | m_Enabled: 1 714 | m_EditorHideFlags: 0 715 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 716 | m_Name: 717 | m_EditorClassIdentifier: 718 | m_Material: {fileID: 0} 719 | m_Color: {r: 1, g: 1, b: 1, a: 1} 720 | m_RaycastTarget: 1 721 | m_OnCullStateChanged: 722 | m_PersistentCalls: 723 | m_Calls: [] 724 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 725 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 726 | m_Sprite: {fileID: 0} 727 | m_Type: 1 728 | m_PreserveAspect: 0 729 | m_FillCenter: 1 730 | m_FillMethod: 4 731 | m_FillAmount: 1 732 | m_FillClockwise: 1 733 | m_FillOrigin: 0 734 | m_UseSpriteMesh: 0 735 | --- !u!222 &1746875086 736 | CanvasRenderer: 737 | m_ObjectHideFlags: 0 738 | m_CorrespondingSourceObject: {fileID: 0} 739 | m_PrefabInstance: {fileID: 0} 740 | m_PrefabAsset: {fileID: 0} 741 | m_GameObject: {fileID: 1746875083} 742 | m_CullTransparentMesh: 0 743 | --- !u!1 &2013767441 744 | GameObject: 745 | m_ObjectHideFlags: 0 746 | m_CorrespondingSourceObject: {fileID: 0} 747 | m_PrefabInstance: {fileID: 0} 748 | m_PrefabAsset: {fileID: 0} 749 | serializedVersion: 6 750 | m_Component: 751 | - component: {fileID: 2013767445} 752 | - component: {fileID: 2013767444} 753 | - component: {fileID: 2013767443} 754 | - component: {fileID: 2013767442} 755 | m_Layer: 5 756 | m_Name: Canvas 757 | m_TagString: Untagged 758 | m_Icon: {fileID: 0} 759 | m_NavMeshLayer: 0 760 | m_StaticEditorFlags: 0 761 | m_IsActive: 1 762 | --- !u!114 &2013767442 763 | MonoBehaviour: 764 | m_ObjectHideFlags: 0 765 | m_CorrespondingSourceObject: {fileID: 0} 766 | m_PrefabInstance: {fileID: 0} 767 | m_PrefabAsset: {fileID: 0} 768 | m_GameObject: {fileID: 2013767441} 769 | m_Enabled: 1 770 | m_EditorHideFlags: 0 771 | m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3} 772 | m_Name: 773 | m_EditorClassIdentifier: 774 | m_IgnoreReversedGraphics: 1 775 | m_BlockingObjects: 0 776 | m_BlockingMask: 777 | serializedVersion: 2 778 | m_Bits: 4294967295 779 | --- !u!114 &2013767443 780 | MonoBehaviour: 781 | m_ObjectHideFlags: 0 782 | m_CorrespondingSourceObject: {fileID: 0} 783 | m_PrefabInstance: {fileID: 0} 784 | m_PrefabAsset: {fileID: 0} 785 | m_GameObject: {fileID: 2013767441} 786 | m_Enabled: 1 787 | m_EditorHideFlags: 0 788 | m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3} 789 | m_Name: 790 | m_EditorClassIdentifier: 791 | m_UiScaleMode: 1 792 | m_ReferencePixelsPerUnit: 100 793 | m_ScaleFactor: 1 794 | m_ReferenceResolution: {x: 1280, y: 720} 795 | m_ScreenMatchMode: 0 796 | m_MatchWidthOrHeight: 0.5 797 | m_PhysicalUnit: 3 798 | m_FallbackScreenDPI: 96 799 | m_DefaultSpriteDPI: 96 800 | m_DynamicPixelsPerUnit: 1 801 | --- !u!223 &2013767444 802 | Canvas: 803 | m_ObjectHideFlags: 0 804 | m_CorrespondingSourceObject: {fileID: 0} 805 | m_PrefabInstance: {fileID: 0} 806 | m_PrefabAsset: {fileID: 0} 807 | m_GameObject: {fileID: 2013767441} 808 | m_Enabled: 1 809 | serializedVersion: 3 810 | m_RenderMode: 0 811 | m_Camera: {fileID: 0} 812 | m_PlaneDistance: 100 813 | m_PixelPerfect: 0 814 | m_ReceivesEvents: 1 815 | m_OverrideSorting: 0 816 | m_OverridePixelPerfect: 0 817 | m_SortingBucketNormalizedSize: 0 818 | m_AdditionalShaderChannelsFlag: 0 819 | m_SortingLayerID: 0 820 | m_SortingOrder: 0 821 | m_TargetDisplay: 0 822 | --- !u!224 &2013767445 823 | RectTransform: 824 | m_ObjectHideFlags: 0 825 | m_CorrespondingSourceObject: {fileID: 0} 826 | m_PrefabInstance: {fileID: 0} 827 | m_PrefabAsset: {fileID: 0} 828 | m_GameObject: {fileID: 2013767441} 829 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 830 | m_LocalPosition: {x: 0, y: 0, z: 0} 831 | m_LocalScale: {x: 0, y: 0, z: 0} 832 | m_Children: 833 | - {fileID: 1746875084} 834 | - {fileID: 144943970} 835 | m_Father: {fileID: 0} 836 | m_RootOrder: 2 837 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 838 | m_AnchorMin: {x: 0, y: 0} 839 | m_AnchorMax: {x: 0, y: 0} 840 | m_AnchoredPosition: {x: 0, y: 0} 841 | m_SizeDelta: {x: 0, y: 0} 842 | m_Pivot: {x: 0, y: 0} 843 | --- !u!1 &2034316049 844 | GameObject: 845 | m_ObjectHideFlags: 0 846 | m_CorrespondingSourceObject: {fileID: 0} 847 | m_PrefabInstance: {fileID: 0} 848 | m_PrefabAsset: {fileID: 0} 849 | serializedVersion: 6 850 | m_Component: 851 | - component: {fileID: 2034316052} 852 | - component: {fileID: 2034316051} 853 | - component: {fileID: 2034316050} 854 | m_Layer: 0 855 | m_Name: EventSystem 856 | m_TagString: Untagged 857 | m_Icon: {fileID: 0} 858 | m_NavMeshLayer: 0 859 | m_StaticEditorFlags: 0 860 | m_IsActive: 1 861 | --- !u!114 &2034316050 862 | MonoBehaviour: 863 | m_ObjectHideFlags: 0 864 | m_CorrespondingSourceObject: {fileID: 0} 865 | m_PrefabInstance: {fileID: 0} 866 | m_PrefabAsset: {fileID: 0} 867 | m_GameObject: {fileID: 2034316049} 868 | m_Enabled: 1 869 | m_EditorHideFlags: 0 870 | m_Script: {fileID: 1077351063, guid: f70555f144d8491a825f0804e09c671c, type: 3} 871 | m_Name: 872 | m_EditorClassIdentifier: 873 | m_HorizontalAxis: Horizontal 874 | m_VerticalAxis: Vertical 875 | m_SubmitButton: Submit 876 | m_CancelButton: Cancel 877 | m_InputActionsPerSecond: 10 878 | m_RepeatDelay: 0.5 879 | m_ForceModuleActive: 0 880 | --- !u!114 &2034316051 881 | MonoBehaviour: 882 | m_ObjectHideFlags: 0 883 | m_CorrespondingSourceObject: {fileID: 0} 884 | m_PrefabInstance: {fileID: 0} 885 | m_PrefabAsset: {fileID: 0} 886 | m_GameObject: {fileID: 2034316049} 887 | m_Enabled: 1 888 | m_EditorHideFlags: 0 889 | m_Script: {fileID: -619905303, guid: f70555f144d8491a825f0804e09c671c, type: 3} 890 | m_Name: 891 | m_EditorClassIdentifier: 892 | m_FirstSelected: {fileID: 0} 893 | m_sendNavigationEvents: 1 894 | m_DragThreshold: 10 895 | --- !u!4 &2034316052 896 | Transform: 897 | m_ObjectHideFlags: 0 898 | m_CorrespondingSourceObject: {fileID: 0} 899 | m_PrefabInstance: {fileID: 0} 900 | m_PrefabAsset: {fileID: 0} 901 | m_GameObject: {fileID: 2034316049} 902 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 903 | m_LocalPosition: {x: 0, y: 0, z: 0} 904 | m_LocalScale: {x: 1, y: 1, z: 1} 905 | m_Children: [] 906 | m_Father: {fileID: 0} 907 | m_RootOrder: 3 908 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 909 | --------------------------------------------------------------------------------