├── .github └── FUNDING.yml ├── .gitignore ├── .vsconfig ├── Assets ├── Plugins.meta ├── Resources.meta ├── Resources │ ├── Notifications Settings.asset │ ├── Notifications Settings.asset.meta │ ├── demo_notification.png │ └── demo_notification.png.meta ├── Scenes.meta ├── Scenes │ ├── SampleScene.unity │ └── SampleScene.unity.meta ├── _PackageRoot.meta └── _PackageRoot │ ├── Editor.meta │ ├── Editor │ ├── Gizmos.meta │ ├── Gizmos │ │ ├── Notification.png │ │ ├── Notification.png.meta │ │ ├── NotificationsConfigIcon.png │ │ └── NotificationsConfigIcon.png.meta │ ├── Scripts.meta │ └── Scripts │ │ ├── Extensions.Unity.Notifications.Editor.asmdef │ │ ├── Extensions.Unity.Notifications.Editor.asmdef.meta │ │ ├── NotificationsConfigMenu.cs │ │ └── NotificationsConfigMenu.cs.meta │ ├── LICENSE │ ├── LICENSE.meta │ ├── README.md │ ├── README.md.meta │ ├── Scripts.meta │ ├── Scripts │ ├── Android.meta │ ├── Android │ │ ├── MobileNotifications_Android.cs │ │ └── MobileNotifications_Android.cs.meta │ ├── Config.meta │ ├── Config │ │ ├── NotificationsConfig.cs │ │ ├── NotificationsConfig.cs.meta │ │ ├── NotificationsInitializer.cs │ │ └── NotificationsInitializer.cs.meta │ ├── Extensions.Unity.Notifications.asmdef │ ├── Extensions.Unity.Notifications.asmdef.meta │ ├── MobileNotifications.cs │ ├── MobileNotifications.cs.meta │ ├── Sender.meta │ ├── Sender │ │ ├── NotificationSender.cs │ │ └── NotificationSender.cs.meta │ ├── iOS.meta │ └── iOS │ │ ├── MobileNotifications_iOS.cs │ │ └── MobileNotifications_iOS.cs.meta │ ├── package.json │ └── package.json.meta ├── Commands ├── NPM--AddUser.bat ├── NPM--CopyREADME.bat ├── NPM--UpdateDependencies.bat ├── NPM--VersionMajor.bat ├── NPM--VersionMinor.bat ├── NPM--VersionPatch.bat ├── [!!!]--GitHub--Release.bat ├── [!!!]--NPM--Publish.bat └── [!]--GitHub--DraftRelease.bat ├── LICENSE ├── Packages ├── manifest.json └── packages-lock.json ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── NotificationsSettings.asset ├── PackageManagerSettings.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset ├── UnityConnectSettings.asset ├── VFXManager.asset ├── VersionControlSettings.asset └── XRSettings.asset ├── README.md └── UserSettings └── EditorUserSettings.asset /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: IvanMurzak 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry 12 | polar: # Replace with a single Polar username 13 | buy_me_a_coffee: # Replace with a single Buy Me a Coffee username 14 | thanks_dev: # Replace with a single thanks.dev username 15 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 16 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # This .gitignore file should be placed at the root of your Unity project directory 2 | # 3 | # Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore 4 | # 5 | /[Ll]ibrary/ 6 | /[Tt]emp/ 7 | /[Oo]bj/ 8 | /[Bb]uild/ 9 | /_[Bb]uild/ 10 | /[Bb]uilds/ 11 | /_[Bb]uilds/ 12 | /[Ll]ogs/ 13 | /[Mm]emoryCaptures/ 14 | /[Ss]erverData/ 15 | 16 | # Asset meta data should only be ignored when the corresponding asset is also ignored 17 | !/[Aa]ssets/**/*.meta 18 | 19 | # Uncomment this line if you wish to ignore the asset store tools plugin 20 | # /[Aa]ssets/AssetStoreTools* 21 | 22 | # Autogenerated Jetbrains Rider plugin 23 | [Aa]ssets/Plugins/Editor/JetBrains* 24 | 25 | # Visual Studio cache directory 26 | .vs/ 27 | 28 | # Gradle cache directory 29 | .gradle/ 30 | 31 | # Autogenerated VS/MD/Consulo solution and project files 32 | ExportedObj/ 33 | *.consulo/ 34 | *.csproj 35 | *.csproj.meta 36 | *.unityproj 37 | *.sln 38 | *.suo 39 | *.tmp 40 | *.user 41 | *.userprefs 42 | *.pidb 43 | *.booproj 44 | *.svd 45 | *.pdb 46 | *.mdb 47 | *.opendb 48 | *.VC.db 49 | *.DS_Store 50 | 51 | # Unity3D generated meta files 52 | *.pidb.meta 53 | *.pdb.meta 54 | *.mdb.meta 55 | 56 | # Unity3D generated file on crash reports 57 | sysinfo.txt 58 | 59 | # Builds 60 | *.apk 61 | *.apk.meta 62 | *.aab.meta 63 | *.unitypackage 64 | *.unitypackage.meta 65 | 66 | */AndroidLogcatSettings.asset 67 | /Assets/StreamingAssets 68 | 69 | # Crashlytics generated file 70 | crashlytics-build.properties 71 | 72 | # ODIN Ignore the auto-generated AOT compatibility dll. 73 | /Assets/Plugins/Sirenix/Assemblies/AOT/* 74 | /Assets/Plugins/Sirenix/Assemblies/AOT** 75 | 76 | # ODIN Ignore all unpacked demos. 77 | /Assets/Plugins/Sirenix/Demos/* 78 | 79 | 80 | # ODIN plugin 81 | /Assets/Plugins/Sirenix** 82 | 83 | # Appodeal 84 | /Assets/Appodeal/** 85 | /Assets/Appodeal.meta -------------------------------------------------------------------------------- /.vsconfig: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "components": [ 4 | "Microsoft.VisualStudio.Workload.ManagedGame" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /Assets/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 53f8b22b9eda0cc4d835193df235a3b7 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cf7713f8c69507645b95a8c9ed3329ad 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Notifications Settings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: e10efa3ebf58cc14ba3368f91b2d2f70, type: 3} 13 | m_Name: Notifications Settings 14 | m_EditorClassIdentifier: 15 | serializationData: 16 | SerializedFormat: 2 17 | SerializedBytes: 18 | ReferencedUnityObjects: [] 19 | SerializedBytesString: 20 | Prefab: {fileID: 0} 21 | PrefabModificationsReferencedUnityObjects: [] 22 | PrefabModifications: [] 23 | SerializationNodes: [] 24 | debug: 1 25 | iconAndroidSmall: app_notification_small 26 | iconAndroidLarge: app_notification_large 27 | -------------------------------------------------------------------------------- /Assets/Resources/Notifications Settings.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5f73985c665dae34b933b7f6d64b4a91 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/demo_notification.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IvanMurzak/Unity-Mobile-Notifications-Simplifier/c0a522826d8f52e56bdffd4cd348b96140479207/Assets/Resources/demo_notification.png -------------------------------------------------------------------------------- /Assets/Resources/demo_notification.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ab76dbad574c2f348ba3af14c74cd84d 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 11 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 1 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | vTOnly: 0 27 | grayScaleToAlpha: 0 28 | generateCubemap: 6 29 | cubemapConvolution: 0 30 | seamlessCubemap: 0 31 | textureFormat: 1 32 | maxTextureSize: 2048 33 | textureSettings: 34 | serializedVersion: 2 35 | filterMode: 1 36 | aniso: 1 37 | mipBias: 0 38 | wrapU: 1 39 | wrapV: 1 40 | wrapW: 1 41 | nPOTScale: 0 42 | lightmap: 0 43 | compressionQuality: 50 44 | spriteMode: 1 45 | spriteExtrude: 1 46 | spriteMeshType: 1 47 | alignment: 0 48 | spritePivot: {x: 0.5, y: 0.5} 49 | spritePixelsToUnits: 100 50 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 51 | spriteGenerateFallbackPhysicsShape: 1 52 | alphaUsage: 1 53 | alphaIsTransparency: 1 54 | spriteTessellationDetail: -1 55 | textureType: 8 56 | textureShape: 1 57 | singleChannelComponent: 0 58 | flipbookRows: 1 59 | flipbookColumns: 1 60 | maxTextureSizeSet: 0 61 | compressionQualitySet: 0 62 | textureFormatSet: 0 63 | ignorePngGamma: 0 64 | applyGammaDecoding: 0 65 | platformSettings: 66 | - serializedVersion: 3 67 | buildTarget: DefaultTexturePlatform 68 | maxTextureSize: 2048 69 | resizeAlgorithm: 0 70 | textureFormat: -1 71 | textureCompression: 1 72 | compressionQuality: 50 73 | crunchedCompression: 0 74 | allowsAlphaSplitting: 0 75 | overridden: 0 76 | androidETC2FallbackOverride: 0 77 | forceMaximumCompressionQuality_BC6H_BC7: 0 78 | - serializedVersion: 3 79 | buildTarget: Standalone 80 | maxTextureSize: 2048 81 | resizeAlgorithm: 0 82 | textureFormat: -1 83 | textureCompression: 1 84 | compressionQuality: 50 85 | crunchedCompression: 0 86 | allowsAlphaSplitting: 0 87 | overridden: 0 88 | androidETC2FallbackOverride: 0 89 | forceMaximumCompressionQuality_BC6H_BC7: 0 90 | - serializedVersion: 3 91 | buildTarget: iPhone 92 | maxTextureSize: 2048 93 | resizeAlgorithm: 0 94 | textureFormat: -1 95 | textureCompression: 1 96 | compressionQuality: 50 97 | crunchedCompression: 0 98 | allowsAlphaSplitting: 0 99 | overridden: 0 100 | androidETC2FallbackOverride: 0 101 | forceMaximumCompressionQuality_BC6H_BC7: 0 102 | - serializedVersion: 3 103 | buildTarget: WebGL 104 | maxTextureSize: 2048 105 | resizeAlgorithm: 0 106 | textureFormat: -1 107 | textureCompression: 1 108 | compressionQuality: 50 109 | crunchedCompression: 0 110 | allowsAlphaSplitting: 0 111 | overridden: 0 112 | androidETC2FallbackOverride: 0 113 | forceMaximumCompressionQuality_BC6H_BC7: 0 114 | - serializedVersion: 3 115 | buildTarget: Android 116 | maxTextureSize: 2048 117 | resizeAlgorithm: 0 118 | textureFormat: -1 119 | textureCompression: 1 120 | compressionQuality: 50 121 | crunchedCompression: 0 122 | allowsAlphaSplitting: 0 123 | overridden: 0 124 | androidETC2FallbackOverride: 0 125 | forceMaximumCompressionQuality_BC6H_BC7: 0 126 | spriteSheet: 127 | serializedVersion: 2 128 | sprites: [] 129 | outline: [] 130 | physicsShape: [] 131 | bones: [] 132 | spriteID: 5e97eb03825dee720800000000000000 133 | internalID: 0 134 | vertices: [] 135 | indices: 136 | edges: [] 137 | weights: [] 138 | secondaryTextures: [] 139 | spritePackingTag: 140 | pSDRemoveMatte: 0 141 | pSDShowRemoveMatteOption: 0 142 | userData: 143 | assetBundleName: 144 | assetBundleVariant: 145 | -------------------------------------------------------------------------------- /Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1ea39d68a76768e4ca00593998bd9e09 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/SampleScene.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 3 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 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, g: 0, b: 0, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 12 47 | m_GIWorkflowMode: 1 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_EnvironmentLightingMode: 0 54 | m_EnableBakedLightmaps: 0 55 | m_EnableRealtimeLightmaps: 0 56 | m_LightmapEditorSettings: 57 | serializedVersion: 12 58 | m_Resolution: 2 59 | m_BakeResolution: 40 60 | m_AtlasSize: 1024 61 | m_AO: 0 62 | m_AOMaxDistance: 1 63 | m_CompAOExponent: 1 64 | m_CompAOExponentDirect: 0 65 | m_ExtractAmbientOcclusion: 0 66 | m_Padding: 2 67 | m_LightmapParameters: {fileID: 0} 68 | m_LightmapsBakeMode: 1 69 | m_TextureCompression: 1 70 | m_FinalGather: 0 71 | m_FinalGatherFiltering: 1 72 | m_FinalGatherRayCount: 256 73 | m_ReflectionCompression: 2 74 | m_MixedBakeMode: 2 75 | m_BakeBackend: 0 76 | m_PVRSampling: 1 77 | m_PVRDirectSampleCount: 32 78 | m_PVRSampleCount: 500 79 | m_PVRBounces: 2 80 | m_PVREnvironmentSampleCount: 500 81 | m_PVREnvironmentReferencePointCount: 2048 82 | m_PVRFilteringMode: 2 83 | m_PVRDenoiserTypeDirect: 0 84 | m_PVRDenoiserTypeIndirect: 0 85 | m_PVRDenoiserTypeAO: 0 86 | m_PVRFilterTypeDirect: 0 87 | m_PVRFilterTypeIndirect: 0 88 | m_PVRFilterTypeAO: 0 89 | m_PVREnvironmentMIS: 0 90 | m_PVRCulling: 1 91 | m_PVRFilteringGaussRadiusDirect: 1 92 | m_PVRFilteringGaussRadiusIndirect: 5 93 | m_PVRFilteringGaussRadiusAO: 2 94 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 95 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 96 | m_PVRFilteringAtrousPositionSigmaAO: 1 97 | m_ExportTrainingData: 0 98 | m_TrainingDataDestination: TrainingData 99 | m_LightProbeSampleCountMultiplier: 4 100 | m_LightingDataAsset: {fileID: 0} 101 | m_LightingSettings: {fileID: 0} 102 | --- !u!196 &4 103 | NavMeshSettings: 104 | serializedVersion: 2 105 | m_ObjectHideFlags: 0 106 | m_BuildSettings: 107 | serializedVersion: 2 108 | agentTypeID: 0 109 | agentRadius: 0.5 110 | agentHeight: 2 111 | agentSlope: 45 112 | agentClimb: 0.4 113 | ledgeDropHeight: 0 114 | maxJumpAcrossDistance: 0 115 | minRegionArea: 2 116 | manualCellSize: 0 117 | cellSize: 0.16666667 118 | manualTileSize: 0 119 | tileSize: 256 120 | accuratePlacement: 0 121 | maxJobWorkers: 0 122 | preserveTilesOutsideBounds: 0 123 | debug: 124 | m_Flags: 0 125 | m_NavMeshData: {fileID: 0} 126 | --- !u!1 &79397017 127 | GameObject: 128 | m_ObjectHideFlags: 0 129 | m_CorrespondingSourceObject: {fileID: 0} 130 | m_PrefabInstance: {fileID: 0} 131 | m_PrefabAsset: {fileID: 0} 132 | serializedVersion: 6 133 | m_Component: 134 | - component: {fileID: 79397019} 135 | - component: {fileID: 79397018} 136 | m_Layer: 0 137 | m_Name: Notification 138 | m_TagString: Untagged 139 | m_Icon: {fileID: 0} 140 | m_NavMeshLayer: 0 141 | m_StaticEditorFlags: 0 142 | m_IsActive: 1 143 | --- !u!114 &79397018 144 | MonoBehaviour: 145 | m_ObjectHideFlags: 0 146 | m_CorrespondingSourceObject: {fileID: 0} 147 | m_PrefabInstance: {fileID: 0} 148 | m_PrefabAsset: {fileID: 0} 149 | m_GameObject: {fileID: 79397017} 150 | m_Enabled: 1 151 | m_EditorHideFlags: 0 152 | m_Script: {fileID: 11500000, guid: d8ff7f8522f312e438515c929a70aa7d, type: 3} 153 | m_Name: 154 | m_EditorClassIdentifier: 155 | serializationData: 156 | SerializedFormat: 2 157 | SerializedBytes: 158 | ReferencedUnityObjects: [] 159 | SerializedBytesString: 160 | Prefab: {fileID: 0} 161 | PrefabModificationsReferencedUnityObjects: [] 162 | PrefabModifications: [] 163 | SerializationNodes: [] 164 | channel: channel 165 | title: My Title 166 | text: Some description text, bla-bla-bla! This is demo text. 167 | largeIcon: 168 | channelName: 169 | channelDescription: 170 | smallIcon: 171 | offsetSeconds: 5 172 | --- !u!4 &79397019 173 | Transform: 174 | m_ObjectHideFlags: 0 175 | m_CorrespondingSourceObject: {fileID: 0} 176 | m_PrefabInstance: {fileID: 0} 177 | m_PrefabAsset: {fileID: 0} 178 | m_GameObject: {fileID: 79397017} 179 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 180 | m_LocalPosition: {x: 0, y: 0, z: 0} 181 | m_LocalScale: {x: 1, y: 1, z: 1} 182 | m_Children: [] 183 | m_Father: {fileID: 0} 184 | m_RootOrder: 1 185 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 186 | --- !u!1 &519420028 187 | GameObject: 188 | m_ObjectHideFlags: 0 189 | m_CorrespondingSourceObject: {fileID: 0} 190 | m_PrefabInstance: {fileID: 0} 191 | m_PrefabAsset: {fileID: 0} 192 | serializedVersion: 6 193 | m_Component: 194 | - component: {fileID: 519420032} 195 | - component: {fileID: 519420031} 196 | - component: {fileID: 519420029} 197 | m_Layer: 0 198 | m_Name: Main Camera 199 | m_TagString: MainCamera 200 | m_Icon: {fileID: 0} 201 | m_NavMeshLayer: 0 202 | m_StaticEditorFlags: 0 203 | m_IsActive: 1 204 | --- !u!81 &519420029 205 | AudioListener: 206 | m_ObjectHideFlags: 0 207 | m_CorrespondingSourceObject: {fileID: 0} 208 | m_PrefabInstance: {fileID: 0} 209 | m_PrefabAsset: {fileID: 0} 210 | m_GameObject: {fileID: 519420028} 211 | m_Enabled: 1 212 | --- !u!20 &519420031 213 | Camera: 214 | m_ObjectHideFlags: 0 215 | m_CorrespondingSourceObject: {fileID: 0} 216 | m_PrefabInstance: {fileID: 0} 217 | m_PrefabAsset: {fileID: 0} 218 | m_GameObject: {fileID: 519420028} 219 | m_Enabled: 1 220 | serializedVersion: 2 221 | m_ClearFlags: 2 222 | m_BackGroundColor: {r: 0.3490566, g: 0.3490566, b: 0.3490566, a: 0} 223 | m_projectionMatrixMode: 1 224 | m_GateFitMode: 2 225 | m_FOVAxisMode: 0 226 | m_SensorSize: {x: 36, y: 24} 227 | m_LensShift: {x: 0, y: 0} 228 | m_FocalLength: 50 229 | m_NormalizedViewPortRect: 230 | serializedVersion: 2 231 | x: 0 232 | y: 0 233 | width: 1 234 | height: 1 235 | near clip plane: 0.3 236 | far clip plane: 1000 237 | field of view: 60 238 | orthographic: 1 239 | orthographic size: 5 240 | m_Depth: -1 241 | m_CullingMask: 242 | serializedVersion: 2 243 | m_Bits: 4294967295 244 | m_RenderingPath: -1 245 | m_TargetTexture: {fileID: 0} 246 | m_TargetDisplay: 0 247 | m_TargetEye: 0 248 | m_HDR: 1 249 | m_AllowMSAA: 0 250 | m_AllowDynamicResolution: 0 251 | m_ForceIntoRT: 0 252 | m_OcclusionCulling: 0 253 | m_StereoConvergence: 10 254 | m_StereoSeparation: 0.022 255 | --- !u!4 &519420032 256 | Transform: 257 | m_ObjectHideFlags: 0 258 | m_CorrespondingSourceObject: {fileID: 0} 259 | m_PrefabInstance: {fileID: 0} 260 | m_PrefabAsset: {fileID: 0} 261 | m_GameObject: {fileID: 519420028} 262 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 263 | m_LocalPosition: {x: 0, y: 0, z: -10} 264 | m_LocalScale: {x: 1, y: 1, z: 1} 265 | m_Children: [] 266 | m_Father: {fileID: 0} 267 | m_RootOrder: 0 268 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 269 | -------------------------------------------------------------------------------- /Assets/Scenes/SampleScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2cda990e2423bbf4892e6590ba056729 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/_PackageRoot.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6f5d6fe260b2a0d46b4428ef32b6f8ac 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/_PackageRoot/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b6975c61a2768a742a7ced9eb1769251 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/_PackageRoot/Editor/Gizmos.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e9591cb80b1506443bd146ad94960db8 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/_PackageRoot/Editor/Gizmos/Notification.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IvanMurzak/Unity-Mobile-Notifications-Simplifier/c0a522826d8f52e56bdffd4cd348b96140479207/Assets/_PackageRoot/Editor/Gizmos/Notification.png -------------------------------------------------------------------------------- /Assets/_PackageRoot/Editor/Gizmos/Notification.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 02ea7526469bba64f91b3ee2a55aedd3 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 11 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | vTOnly: 0 27 | grayScaleToAlpha: 0 28 | generateCubemap: 6 29 | cubemapConvolution: 0 30 | seamlessCubemap: 0 31 | textureFormat: 1 32 | maxTextureSize: 2048 33 | textureSettings: 34 | serializedVersion: 2 35 | filterMode: 1 36 | aniso: 1 37 | mipBias: 0 38 | wrapU: 1 39 | wrapV: 1 40 | wrapW: 1 41 | nPOTScale: 0 42 | lightmap: 0 43 | compressionQuality: 50 44 | spriteMode: 1 45 | spriteExtrude: 1 46 | spriteMeshType: 1 47 | alignment: 0 48 | spritePivot: {x: 0.5, y: 0.5} 49 | spritePixelsToUnits: 100 50 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 51 | spriteGenerateFallbackPhysicsShape: 1 52 | alphaUsage: 1 53 | alphaIsTransparency: 1 54 | spriteTessellationDetail: -1 55 | textureType: 8 56 | textureShape: 1 57 | singleChannelComponent: 0 58 | flipbookRows: 1 59 | flipbookColumns: 1 60 | maxTextureSizeSet: 0 61 | compressionQualitySet: 0 62 | textureFormatSet: 0 63 | ignorePngGamma: 0 64 | applyGammaDecoding: 0 65 | platformSettings: 66 | - serializedVersion: 3 67 | buildTarget: DefaultTexturePlatform 68 | maxTextureSize: 2048 69 | resizeAlgorithm: 0 70 | textureFormat: -1 71 | textureCompression: 1 72 | compressionQuality: 50 73 | crunchedCompression: 0 74 | allowsAlphaSplitting: 0 75 | overridden: 0 76 | androidETC2FallbackOverride: 0 77 | forceMaximumCompressionQuality_BC6H_BC7: 0 78 | spriteSheet: 79 | serializedVersion: 2 80 | sprites: [] 81 | outline: [] 82 | physicsShape: [] 83 | bones: [] 84 | spriteID: 5e97eb03825dee720800000000000000 85 | internalID: 0 86 | vertices: [] 87 | indices: 88 | edges: [] 89 | weights: [] 90 | secondaryTextures: [] 91 | spritePackingTag: 92 | pSDRemoveMatte: 0 93 | pSDShowRemoveMatteOption: 0 94 | userData: 95 | assetBundleName: 96 | assetBundleVariant: 97 | -------------------------------------------------------------------------------- /Assets/_PackageRoot/Editor/Gizmos/NotificationsConfigIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IvanMurzak/Unity-Mobile-Notifications-Simplifier/c0a522826d8f52e56bdffd4cd348b96140479207/Assets/_PackageRoot/Editor/Gizmos/NotificationsConfigIcon.png -------------------------------------------------------------------------------- /Assets/_PackageRoot/Editor/Gizmos/NotificationsConfigIcon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ddfd39ef28aa8ac43ab207adc8a6592f 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 11 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | vTOnly: 0 27 | grayScaleToAlpha: 0 28 | generateCubemap: 6 29 | cubemapConvolution: 0 30 | seamlessCubemap: 0 31 | textureFormat: 1 32 | maxTextureSize: 2048 33 | textureSettings: 34 | serializedVersion: 2 35 | filterMode: 1 36 | aniso: 1 37 | mipBias: 0 38 | wrapU: 1 39 | wrapV: 1 40 | wrapW: 1 41 | nPOTScale: 0 42 | lightmap: 0 43 | compressionQuality: 50 44 | spriteMode: 1 45 | spriteExtrude: 1 46 | spriteMeshType: 1 47 | alignment: 0 48 | spritePivot: {x: 0.5, y: 0.5} 49 | spritePixelsToUnits: 100 50 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 51 | spriteGenerateFallbackPhysicsShape: 1 52 | alphaUsage: 1 53 | alphaIsTransparency: 1 54 | spriteTessellationDetail: -1 55 | textureType: 8 56 | textureShape: 1 57 | singleChannelComponent: 0 58 | flipbookRows: 1 59 | flipbookColumns: 1 60 | maxTextureSizeSet: 0 61 | compressionQualitySet: 0 62 | textureFormatSet: 0 63 | ignorePngGamma: 0 64 | applyGammaDecoding: 0 65 | platformSettings: 66 | - serializedVersion: 3 67 | buildTarget: DefaultTexturePlatform 68 | maxTextureSize: 2048 69 | resizeAlgorithm: 0 70 | textureFormat: -1 71 | textureCompression: 1 72 | compressionQuality: 50 73 | crunchedCompression: 0 74 | allowsAlphaSplitting: 0 75 | overridden: 0 76 | androidETC2FallbackOverride: 0 77 | forceMaximumCompressionQuality_BC6H_BC7: 0 78 | spriteSheet: 79 | serializedVersion: 2 80 | sprites: [] 81 | outline: [] 82 | physicsShape: [] 83 | bones: [] 84 | spriteID: 5e97eb03825dee720800000000000000 85 | internalID: 0 86 | vertices: [] 87 | indices: 88 | edges: [] 89 | weights: [] 90 | secondaryTextures: [] 91 | spritePackingTag: 92 | pSDRemoveMatte: 0 93 | pSDShowRemoveMatteOption: 0 94 | userData: 95 | assetBundleName: 96 | assetBundleVariant: 97 | -------------------------------------------------------------------------------- /Assets/_PackageRoot/Editor/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8c6a580b7c9464842bd2c3ae42e138ae 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/_PackageRoot/Editor/Scripts/Extensions.Unity.Notifications.Editor.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Extensions.Unity.Notifications.Editor", 3 | "rootNamespace": "", 4 | "references": [ 5 | "Extensions.Unity.Notifications" 6 | ], 7 | "includePlatforms": [ 8 | "Editor" 9 | ], 10 | "excludePlatforms": [], 11 | "allowUnsafeCode": false, 12 | "overrideReferences": false, 13 | "precompiledReferences": [], 14 | "autoReferenced": true, 15 | "defineConstraints": [], 16 | "versionDefines": [], 17 | "noEngineReferences": false 18 | } -------------------------------------------------------------------------------- /Assets/_PackageRoot/Editor/Scripts/Extensions.Unity.Notifications.Editor.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 308e258427ae37d4f8c8128646d2a7aa 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/_PackageRoot/Editor/Scripts/NotificationsConfigMenu.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.IO; 3 | using UnityEditor; 4 | using UnityEngine; 5 | 6 | namespace Extensions.Notifications 7 | { 8 | public static class NotificationsConfigMenu 9 | { 10 | [InitializeOnLoadMethod] 11 | public static IEnumerator Init() 12 | { 13 | yield return null; // let's Unity initialize itself and project resources first 14 | GetOrCreateConfig(); 15 | } 16 | 17 | [MenuItem("Edit/UnityNotifications settings...", false, 250)] 18 | public static void OpenOrCreateConfig() 19 | { 20 | var config = GetOrCreateConfig(); 21 | 22 | EditorUtility.FocusProjectWindow(); 23 | EditorWindow inspectorWindow = EditorWindow.GetWindow(typeof(UnityEditor.Editor).Assembly.GetType("UnityEditor.InspectorWindow")); 24 | inspectorWindow.Focus(); 25 | 26 | Selection.activeObject = config; 27 | } 28 | 29 | public static NotificationsConfig GetOrCreateConfig() 30 | { 31 | var config = Resources.Load(NotificationsConfig.PATH_FOR_RESOURCES_LOAD); 32 | if (config == null) 33 | { 34 | Debug.Log($"Creating NotificationsConfig file at {NotificationsConfig.PATH}"); 35 | config = ScriptableObject.CreateInstance(); 36 | 37 | string directory = Path.GetDirectoryName(NotificationsConfig.PATH); 38 | if (!Directory.Exists(directory)) 39 | { 40 | Directory.CreateDirectory(directory); 41 | } 42 | 43 | AssetDatabase.CreateAsset(config, NotificationsConfig.PATH); 44 | AssetDatabase.SaveAssets(); 45 | } 46 | return config; 47 | } 48 | } 49 | } -------------------------------------------------------------------------------- /Assets/_PackageRoot/Editor/Scripts/NotificationsConfigMenu.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d0c953b351222fa4c87b6328f2d71578 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/_PackageRoot/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Ivan Murzak 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Assets/_PackageRoot/LICENSE.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a6b4203204e87a4c895efcd8799bf98 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/_PackageRoot/README.md: -------------------------------------------------------------------------------- 1 | # Unity Mobile Notifications Simplifier 2 | ![npm](https://img.shields.io/npm/v/extensions.unity.notifications) [![openupm](https://img.shields.io/npm/v/extensions.unity.notifications?label=openupm®istry_uri=https://package.openupm.com)](https://openupm.com/packages/extensions.unity.notifications/) ![License](https://img.shields.io/github/license/IvanMurzak/Unity-Mobile-Notifications-Simplifier) [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua) 3 | 4 | Ready to use Android and iOS mobile notification solution based on official Unity Mobile Notifications package. Build on top of [Unity Mobile Notifications](https://docs.unity3d.com/Packages/com.unity.mobile.notifications@1.4/manual/index.html) package. Supported codeless usage if needed but not required. 5 | 6 | ![Config](https://imgur.com/ITn5XUD.png) 7 | 8 | # How to use 9 | ### Option - code 10 | - MobileNotifications.Send for sending notification right now. 11 | - MobileNotifications.Schedule for schedule notification in right moment. 12 | 13 | ### Option - codeless 14 | Add the NotificationSender component to any object in a scene or prefab. Call the function Send or Schedule using Button component for example. 15 | 16 | ![Codeless usage](https://imgur.com/kidklV8.png) 17 | 18 | # How to install - Option 1 (RECOMMENDED) 19 | - Install [ODIN Inspector](https://odininspector.com/) 20 | - Install [OpenUPM-CLI](https://github.com/openupm/openupm-cli#installation) 21 | - Open command line in Unity project folder 22 | - `openupm --registry https://registry.npmjs.org add extensions.unity.notifications` 23 | 24 | # How to install - Option 2 25 | - Install [ODIN Inspector](https://odininspector.com/) 26 | - Add this code to /Packages/manifest.json 27 | ```json 28 | { 29 | "dependencies": { 30 | "extensions.unity.notifications": "2.0.0", 31 | }, 32 | "scopedRegistries": [ 33 | { 34 | "name": "Unity Extensions", 35 | "url": "https://registry.npmjs.org", 36 | "scopes": [ 37 | "extensions.unity" 38 | ] 39 | }, 40 | { 41 | "name": "NPM", 42 | "url": "https://registry.npmjs.org", 43 | "scopes": [ 44 | "com.cysharp", 45 | "com.neuecc" 46 | ] 47 | } 48 | ] 49 | } 50 | -------------------------------------------------------------------------------- /Assets/_PackageRoot/README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 694c6384571334c409d0648d291f54a5 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/_PackageRoot/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 75f5c42ec1aaaed429ab2251af65c0bc 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/_PackageRoot/Scripts/Android.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1cc1fd71b5344ab4cbe0317f9a94b540 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/_PackageRoot/Scripts/Android/MobileNotifications_Android.cs: -------------------------------------------------------------------------------- 1 | #if UNITY_ANDROID 2 | using System; 3 | using System.Collections.Generic; 4 | using Unity.Notifications.Android; 5 | 6 | namespace Extensions.Notifications 7 | { 8 | public static class MobileNotifications_Android 9 | { 10 | private const string ICON_NOTIFICATION_SMALL = "app_small"; 11 | private static Dictionary CHANNEL_REGISTERED = new Dictionary(); 12 | 13 | private static void RegisterNotificationChannel(string identifier, string name, string description) 14 | { 15 | var unregistered = !CHANNEL_REGISTERED.ContainsKey(identifier) || !CHANNEL_REGISTERED[identifier]; 16 | if (unregistered) 17 | { 18 | AndroidNotificationCenter.RegisterNotificationChannel(new AndroidNotificationChannel() 19 | { 20 | Id = identifier, 21 | Name = name, 22 | Importance = Importance.High, 23 | Description = description 24 | }); 25 | CHANNEL_REGISTERED[identifier] = true; 26 | } 27 | } 28 | 29 | public static void Schedule(string identifier, string title, string text, DateTime fireTime, string largeIcon = null, string channelName = "Default", string channelDescription = "Default", string smallIcon = ICON_NOTIFICATION_SMALL) 30 | { 31 | RegisterNotificationChannel(identifier, channelName, channelDescription); 32 | 33 | var notification = new AndroidNotification() 34 | { 35 | Title = title, 36 | Text = text, 37 | FireTime = fireTime, 38 | Group = identifier, 39 | GroupSummary = true, 40 | ShouldAutoCancel = true 41 | }; 42 | 43 | if (largeIcon != null) notification.LargeIcon = largeIcon; 44 | if (smallIcon != null) notification.SmallIcon = smallIcon; 45 | 46 | AndroidNotificationCenter.SendNotification(notification, identifier); 47 | } 48 | public static void CancelAllScheduled() 49 | { 50 | AndroidNotificationCenter.CancelAllScheduledNotifications(); 51 | } 52 | } 53 | } 54 | #endif -------------------------------------------------------------------------------- /Assets/_PackageRoot/Scripts/Android/MobileNotifications_Android.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ebadd98ec3849c344809daf0a1d82b4f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/_PackageRoot/Scripts/Config.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7ea30e1a465216549bafa99e8e8f8af3 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/_PackageRoot/Scripts/Config/NotificationsConfig.cs: -------------------------------------------------------------------------------- 1 | using Sirenix.OdinInspector; 2 | 3 | namespace Extensions.Notifications 4 | { 5 | #pragma warning disable CA2235 // Mark all non-serializable fields 6 | public sealed class NotificationsConfig : SerializedScriptableObject 7 | { 8 | public const string PATH = "Assets/Resources/Notifications Settings.asset"; 9 | public const string PATH_FOR_RESOURCES_LOAD = "Notifications Settings"; 10 | 11 | [BoxGroup("B", false), HorizontalGroup("B/H")] 12 | [TitleGroup("B/H/Settings")] public bool debug = true; 13 | [BoxGroup("B2", false), HorizontalGroup("B2/H")] 14 | [InfoBox("Unity Notification Settings should contains the icon with the same name.")] 15 | [TitleGroup("B2/H/Settings Android")] public string iconAndroidSmall = "app_notification_small"; 16 | [InfoBox("Unity Notification Settings should contains the icon with the same name.")] 17 | [TitleGroup("B2/H/Settings Android")] public string iconAndroidLarge = "app_notification_large"; 18 | 19 | 20 | #if UNITY_EDITOR 21 | //Object Settings => UnityEditor.Unsupported.GetSerializedAssetInterfaceSingleton("NotificationsSettings"); 22 | [GUIColor(0.5f, 0.6f, 0.9f, 1)] 23 | [Button(ButtonSizes.Large), PropertySpace] 24 | void UnityNotificationSettings() 25 | { 26 | UnityEditor.SettingsService.OpenProjectSettings("Project/Mobile Notifications"); 27 | } 28 | #endif 29 | } 30 | #pragma warning restore CA2235 // Mark all non-serializable fields 31 | } -------------------------------------------------------------------------------- /Assets/_PackageRoot/Scripts/Config/NotificationsConfig.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e10efa3ebf58cc14ba3368f91b2d2f70 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {fileID: 2800000, guid: ddfd39ef28aa8ac43ab207adc8a6592f, type: 3} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/_PackageRoot/Scripts/Config/NotificationsInitializer.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace Extensions.Notifications 5 | { 6 | public static class NotificationsInitializer 7 | { 8 | private static NotificationsConfig _config = null; 9 | public static NotificationsConfig Config => _config == null ? _config = LoadOrCreateConfig() : _config; 10 | 11 | private static NotificationsConfig LoadOrCreateConfig() 12 | { 13 | var config = Resources.Load(NotificationsConfig.PATH_FOR_RESOURCES_LOAD); 14 | if (!config) throw new NullReferenceException("Analytics config was not found"); 15 | return config; 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /Assets/_PackageRoot/Scripts/Config/NotificationsInitializer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e391b6b54ee9ec743a9393008b311ad4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/_PackageRoot/Scripts/Extensions.Unity.Notifications.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Extensions.Unity.Notifications", 3 | "rootNamespace": "", 4 | "references": [ 5 | "Unity.Notifications.Android", 6 | "Unity.Notifications.iOS", 7 | "UniTask" 8 | ], 9 | "includePlatforms": [], 10 | "excludePlatforms": [], 11 | "allowUnsafeCode": false, 12 | "overrideReferences": false, 13 | "precompiledReferences": [], 14 | "autoReferenced": true, 15 | "defineConstraints": [], 16 | "versionDefines": [], 17 | "noEngineReferences": false 18 | } -------------------------------------------------------------------------------- /Assets/_PackageRoot/Scripts/Extensions.Unity.Notifications.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 01fce4e4ca389b044a34c99e9380cdf4 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/_PackageRoot/Scripts/MobileNotifications.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace Extensions.Notifications 5 | { 6 | public static class MobileNotifications 7 | { 8 | static NotificationsConfig Config => NotificationsInitializer.Config; 9 | 10 | public static void Send(string channel, string title, string text, string largeIcon = null, string channelName = "default", string channelDescription = "Default", string smallIcon = null) 11 | { 12 | Schedule(channel, title, text, DateTime.Now + TimeSpan.FromMilliseconds(250), largeIcon, channelName, channelDescription, smallIcon); 13 | } 14 | public static void Schedule(string channel, string title, string text, TimeSpan timeOffset, string largeIcon = null, string channelName = "default", string channelDescription = "Default", string smallIcon = null) 15 | { 16 | Schedule(channel, title, text, DateTime.Now + timeOffset, largeIcon, channelName, channelDescription, smallIcon); 17 | } 18 | public static void Schedule(string channel, string title, string text, DateTime fireTime, string largeIcon = null, string channelName = "default", string channelDescription = "Default", string smallIcon = null) 19 | { 20 | if (string.IsNullOrEmpty(smallIcon)) smallIcon = Config.iconAndroidSmall; 21 | if (string.IsNullOrEmpty(largeIcon)) largeIcon = Config.iconAndroidLarge; 22 | 23 | if (Config.debug) 24 | Debug.Log($"MobileNotifications.Schedule: channel={channel}, title={title}, fireTime={fireTime}, largeIcon={largeIcon}, channelName={channelName}, channelDescription={channelDescription}, smallIcon={smallIcon}"); 25 | 26 | #if UNITY_ANDROID 27 | MobileNotifications_Android.Schedule(channel, title, text, fireTime, largeIcon, channelName, channelDescription, smallIcon); 28 | #elif UNITY_IOS 29 | MobileNotifications_iOS.Schedule(channel, title, "", text, fireTime); 30 | #endif 31 | } 32 | public static void CancelAllScheduled() 33 | { 34 | if (Config.debug) 35 | Debug.Log($"MobileNotifications.CancelAllScheduled"); 36 | 37 | #if UNITY_ANDROID 38 | MobileNotifications_Android.CancelAllScheduled(); 39 | #elif UNITY_IOS 40 | MobileNotifications_iOS.CancelAllScheduled(); 41 | #endif 42 | } 43 | 44 | public static void ClearBadgeCounteriOS() 45 | { 46 | if (Config.debug) 47 | Debug.Log($"MobileNotifications.ClearBadgeCounteriOS"); 48 | 49 | #if UNITY_IOS 50 | MobileNotifications_iOS.ClearBadgeCounter(); 51 | #endif 52 | } 53 | } 54 | } -------------------------------------------------------------------------------- /Assets/_PackageRoot/Scripts/MobileNotifications.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a1ffce4308eed724e8cdd3635629dc78 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/_PackageRoot/Scripts/Sender.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3bea143e48eaaf441ba4780fd6e20eb8 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/_PackageRoot/Scripts/Sender/NotificationSender.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | using Sirenix.OdinInspector; 4 | 5 | namespace Extensions.Notifications 6 | { 7 | public class NotificationSender : SerializedMonoBehaviour 8 | { 9 | [BoxGroup("B", false), HorizontalGroup("B/H")] 10 | [TitleGroup("B/H/Customization")] public string channel = "channel"; 11 | [TitleGroup("B/H/Customization")] public string title = "My Title"; 12 | [TitleGroup("B/H/Customization"), TextArea] public string text = "Some description text, bla-bla-bla! This is demo text."; 13 | [FoldoutGroup("B/H/Customization/Optional")] public string largeIcon = ""; 14 | [FoldoutGroup("B/H/Customization/Optional")] public string channelName = ""; 15 | [FoldoutGroup("B/H/Customization/Optional")] public string channelDescription = ""; 16 | [FoldoutGroup("B/H/Customization/Optional")] public string smallIcon = ""; 17 | 18 | [HorizontalGroup("B/H2")] 19 | [TitleGroup("B/H2/Schedule")] public float offsetSeconds = 5; 20 | 21 | 22 | [Button(ButtonSizes.Medium), HorizontalGroup("Buttons")] 23 | public void Send() 24 | { 25 | MobileNotifications.Send(channel, title, text, largeIcon, channelName, channelDescription, smallIcon); 26 | } 27 | [Button(ButtonSizes.Medium), HorizontalGroup("Buttons")] 28 | public void Schedule() 29 | { 30 | MobileNotifications.Schedule(channel, title, text, TimeSpan.FromSeconds(offsetSeconds), largeIcon, channelName, channelDescription, smallIcon); 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /Assets/_PackageRoot/Scripts/Sender/NotificationSender.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d8ff7f8522f312e438515c929a70aa7d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {fileID: 2800000, guid: 02ea7526469bba64f91b3ee2a55aedd3, type: 3} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/_PackageRoot/Scripts/iOS.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 668f73a5de6192046906265c1ac11a3c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/_PackageRoot/Scripts/iOS/MobileNotifications_iOS.cs: -------------------------------------------------------------------------------- 1 | #if UNITY_IOS 2 | using Cysharp.Threading.Tasks; 3 | using System; 4 | using System.Collections.Generic; 5 | using Unity.Notifications.iOS; 6 | using UnityEngine; 7 | 8 | namespace Extensions.Notifications 9 | { 10 | public static class MobileNotifications_iOS 11 | { 12 | private static Dictionary CHANNEL_REGISTERED = new Dictionary(); 13 | 14 | public static async UniTask RequestAuthorization() 15 | { 16 | var authorizationOption = AuthorizationOption.Alert | AuthorizationOption.Badge | AuthorizationOption.Sound; 17 | using (var req = new AuthorizationRequest(authorizationOption, true)) 18 | { 19 | while (!req.IsFinished) 20 | { 21 | await UniTask.Yield(); 22 | }; 23 | 24 | if (NotificationsInitializer.Config.debug) 25 | { 26 | string res = "RequestAuthorization:"; 27 | res += "\n finished: " + req.IsFinished; 28 | res += "\n granted : " + req.Granted; 29 | res += "\n error: " + req.Error; 30 | res += "\n deviceToken: " + req.DeviceToken; 31 | Debug.Log(res); 32 | } 33 | } 34 | } 35 | private static async UniTask RegisterNotificationChannel(string identifier, string title, string subtitle, string body, iOSNotificationTrigger trigger) 36 | { 37 | await RequestAuthorization(); 38 | 39 | if (new iOSNotificationSettings().AuthorizationStatus != AuthorizationStatus.Authorized) 40 | { 41 | Debug.LogError("IOSNotification non authorized for schedule notification"); 42 | } 43 | 44 | var unregistered = !CHANNEL_REGISTERED.ContainsKey(identifier) || !CHANNEL_REGISTERED[identifier]; 45 | if (unregistered) 46 | { 47 | var notification = new iOSNotification() 48 | { 49 | Identifier = identifier, 50 | Title = title, 51 | Body = body, 52 | Subtitle = subtitle, 53 | ShowInForeground = true, 54 | ForegroundPresentationOption = (PresentationOption.Alert | PresentationOption.Badge | PresentationOption.Sound), 55 | CategoryIdentifier = "category_a", 56 | ThreadIdentifier = "thread1", 57 | Trigger = trigger, 58 | }; 59 | 60 | try 61 | { 62 | iOSNotificationCenter.ScheduleNotification(notification); 63 | CHANNEL_REGISTERED[identifier] = true; 64 | } 65 | catch(Exception e) 66 | { 67 | Debug.LogException(e); 68 | } 69 | } 70 | } 71 | 72 | public static void Schedule(string identifier, string title, string subtitle, string text, DateTime fireTime) 73 | { 74 | var interval = DateTime.Now - fireTime; 75 | if (interval <= TimeSpan.Zero) 76 | interval = TimeSpan.FromSeconds(1); 77 | 78 | var timeTrigger = new iOSNotificationTimeIntervalTrigger 79 | { 80 | TimeInterval = interval, 81 | Repeats = false 82 | }; 83 | 84 | RegisterNotificationChannel(identifier, title, subtitle, text, timeTrigger).Forget(); 85 | } 86 | public static void CancelAllScheduled() 87 | { 88 | iOSNotificationCenter.RemoveAllScheduledNotifications(); 89 | } 90 | public static void ClearBadgeCounter() 91 | { 92 | iOSNotificationCenter.ApplicationBadge = 0; 93 | } 94 | } 95 | } 96 | #endif -------------------------------------------------------------------------------- /Assets/_PackageRoot/Scripts/iOS/MobileNotifications_iOS.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e8db0c813bffc974fb431a0cc2f439ea 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/_PackageRoot/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "extensions.unity.notifications", 3 | "displayName": "Unity Notifications", 4 | "author": { "name": "Ivan Murzak", "url": "https://github.com/IvanMurzak" }, 5 | "version": "2.0.2", 6 | "unity": "2019.2", 7 | "description": "Unity Mobile Notifications integration.", 8 | "dependencies": { 9 | "com.unity.mobile.notifications": "2.0.2", 10 | "com.cysharp.unitask": "2.3.3" 11 | }, 12 | "scopedRegistries": [ 13 | { 14 | "name": "package.openupm.com", 15 | "url": "https://package.openupm.com", 16 | "scopes": [ 17 | "extensions.unity", 18 | "com.cysharp" 19 | ] 20 | } 21 | ] 22 | } -------------------------------------------------------------------------------- /Assets/_PackageRoot/package.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d577ea59003c34a42a7c11178aa39713 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Commands/NPM--AddUser.bat: -------------------------------------------------------------------------------- 1 | cd ..\Assets\_PackageRoot 2 | npm adduser -------------------------------------------------------------------------------- /Commands/NPM--CopyREADME.bat: -------------------------------------------------------------------------------- 1 | xcopy ..\README.md ..\Assets\_PackageRoot\README.md* /Y 2 | xcopy ..\README.md ..\Assets\_PackageRoot\Documentation~\README.md* /Y -------------------------------------------------------------------------------- /Commands/NPM--UpdateDependencies.bat: -------------------------------------------------------------------------------- 1 | call npm --prefix ..\Assets\_PackageRoot update 2 | del /f ..\Assets\_PackageRoot\package-lock.* 3 | pause -------------------------------------------------------------------------------- /Commands/NPM--VersionMajor.bat: -------------------------------------------------------------------------------- 1 | cd ..\Assets\_PackageRoot 2 | npm version major 3 | pause -------------------------------------------------------------------------------- /Commands/NPM--VersionMinor.bat: -------------------------------------------------------------------------------- 1 | cd ..\Assets\_PackageRoot 2 | npm version minor 3 | pause -------------------------------------------------------------------------------- /Commands/NPM--VersionPatch.bat: -------------------------------------------------------------------------------- 1 | cd ..\Assets\_PackageRoot 2 | npm version patch 3 | pause -------------------------------------------------------------------------------- /Commands/[!!!]--GitHub--Release.bat: -------------------------------------------------------------------------------- 1 | cd ..\Assets\_PackageRoot 2 | @echo off 3 | echo ---------------------------------------------------- 4 | echo Executing "npm pkg get version" 5 | FOR /F "tokens=* USEBACKQ" %%F IN (`npm pkg get version`) DO ( 6 | SET RawVersion=%%F 7 | ) 8 | echo Version of current package is extracted: %RawVersion% 9 | SET CleanVersion=%RawVersion:~1,-1% 10 | echo Current version: %CleanVersion% 11 | 12 | git push -u origin HEAD 13 | 14 | echo ---------------------------------------------------- 15 | cd ..\..\ 16 | echo Creating GitHub release with tag=%CleanVersion% 17 | @echo on 18 | gh release create %CleanVersion% --generate-notes --title %CleanVersion% 19 | gh release view %CleanVersion% --web 20 | @echo off 21 | echo ---------------------------------------------------- 22 | 23 | pause 24 | -------------------------------------------------------------------------------- /Commands/[!!!]--NPM--Publish.bat: -------------------------------------------------------------------------------- 1 | xcopy ..\README.md ..\Assets\_PackageRoot\README.md* /Y 2 | xcopy ..\README.md ..\Assets\_PackageRoot\Documentation~\README.md* /Y 3 | cd ..\Assets\_PackageRoot 4 | npm publish 5 | pause -------------------------------------------------------------------------------- /Commands/[!]--GitHub--DraftRelease.bat: -------------------------------------------------------------------------------- 1 | cd ..\Assets\_PackageRoot 2 | @echo off 3 | echo ---------------------------------------------------- 4 | echo Executing "npm pkg get version" 5 | FOR /F "tokens=* USEBACKQ" %%F IN (`npm pkg get version`) DO ( 6 | SET RawVersion=%%F 7 | ) 8 | echo Version of current package is extracted: %RawVersion% 9 | SET CleanVersion=%RawVersion:~1,-1% 10 | echo Current version: %CleanVersion% 11 | 12 | git push -u origin HEAD 13 | 14 | echo ---------------------------------------------------- 15 | cd ..\..\ 16 | echo Creating GitHub release with tag=%CleanVersion% 17 | @echo on 18 | gh release create %CleanVersion% --draft --generate-notes --title %CleanVersion% 19 | gh repo view --web 20 | @echo off 21 | echo ---------------------------------------------------- 22 | 23 | pause 24 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Ivan Murzak 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.cysharp.unitask": "2.3.3", 4 | "com.unity.ide.visualstudio": "2.0.17", 5 | "com.unity.ide.vscode": "1.2.5", 6 | "com.unity.mobile.notifications": "2.0.2", 7 | "com.unity.test-framework": "1.1.33", 8 | "com.unity.ugui": "1.0.0", 9 | "com.unity.modules.ai": "1.0.0", 10 | "com.unity.modules.androidjni": "1.0.0", 11 | "com.unity.modules.animation": "1.0.0", 12 | "com.unity.modules.assetbundle": "1.0.0", 13 | "com.unity.modules.audio": "1.0.0", 14 | "com.unity.modules.cloth": "1.0.0", 15 | "com.unity.modules.director": "1.0.0", 16 | "com.unity.modules.imageconversion": "1.0.0", 17 | "com.unity.modules.imgui": "1.0.0", 18 | "com.unity.modules.jsonserialize": "1.0.0", 19 | "com.unity.modules.particlesystem": "1.0.0", 20 | "com.unity.modules.physics": "1.0.0", 21 | "com.unity.modules.physics2d": "1.0.0", 22 | "com.unity.modules.screencapture": "1.0.0", 23 | "com.unity.modules.terrain": "1.0.0", 24 | "com.unity.modules.terrainphysics": "1.0.0", 25 | "com.unity.modules.tilemap": "1.0.0", 26 | "com.unity.modules.ui": "1.0.0", 27 | "com.unity.modules.uielements": "1.0.0", 28 | "com.unity.modules.umbra": "1.0.0", 29 | "com.unity.modules.unityanalytics": "1.0.0", 30 | "com.unity.modules.unitywebrequest": "1.0.0", 31 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 32 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 33 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 34 | "com.unity.modules.unitywebrequestwww": "1.0.0", 35 | "com.unity.modules.vehicles": "1.0.0", 36 | "com.unity.modules.video": "1.0.0", 37 | "com.unity.modules.vr": "1.0.0", 38 | "com.unity.modules.wind": "1.0.0", 39 | "com.unity.modules.xr": "1.0.0" 40 | }, 41 | "scopedRegistries": [ 42 | { 43 | "name": "package.openupm.com", 44 | "url": "https://package.openupm.com", 45 | "scopes": [ 46 | "extensions.unity", 47 | "com.cysharp", 48 | "com.neuecc" 49 | ] 50 | } 51 | ] 52 | } 53 | -------------------------------------------------------------------------------- /Packages/packages-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.cysharp.unitask": { 4 | "version": "2.3.3", 5 | "depth": 0, 6 | "source": "registry", 7 | "dependencies": {}, 8 | "url": "https://package.openupm.com" 9 | }, 10 | "com.unity.ext.nunit": { 11 | "version": "1.0.6", 12 | "depth": 1, 13 | "source": "registry", 14 | "dependencies": {}, 15 | "url": "https://packages.unity.com" 16 | }, 17 | "com.unity.ide.visualstudio": { 18 | "version": "2.0.17", 19 | "depth": 0, 20 | "source": "registry", 21 | "dependencies": { 22 | "com.unity.test-framework": "1.1.9" 23 | }, 24 | "url": "https://packages.unity.com" 25 | }, 26 | "com.unity.ide.vscode": { 27 | "version": "1.2.5", 28 | "depth": 0, 29 | "source": "registry", 30 | "dependencies": {}, 31 | "url": "https://packages.unity.com" 32 | }, 33 | "com.unity.mobile.notifications": { 34 | "version": "2.0.2", 35 | "depth": 0, 36 | "source": "registry", 37 | "dependencies": { 38 | "com.unity.modules.androidjni": "1.0.0" 39 | }, 40 | "url": "https://packages.unity.com" 41 | }, 42 | "com.unity.test-framework": { 43 | "version": "1.1.33", 44 | "depth": 0, 45 | "source": "registry", 46 | "dependencies": { 47 | "com.unity.ext.nunit": "1.0.6", 48 | "com.unity.modules.imgui": "1.0.0", 49 | "com.unity.modules.jsonserialize": "1.0.0" 50 | }, 51 | "url": "https://packages.unity.com" 52 | }, 53 | "com.unity.ugui": { 54 | "version": "1.0.0", 55 | "depth": 0, 56 | "source": "builtin", 57 | "dependencies": { 58 | "com.unity.modules.ui": "1.0.0", 59 | "com.unity.modules.imgui": "1.0.0" 60 | } 61 | }, 62 | "com.unity.modules.ai": { 63 | "version": "1.0.0", 64 | "depth": 0, 65 | "source": "builtin", 66 | "dependencies": {} 67 | }, 68 | "com.unity.modules.androidjni": { 69 | "version": "1.0.0", 70 | "depth": 0, 71 | "source": "builtin", 72 | "dependencies": {} 73 | }, 74 | "com.unity.modules.animation": { 75 | "version": "1.0.0", 76 | "depth": 0, 77 | "source": "builtin", 78 | "dependencies": {} 79 | }, 80 | "com.unity.modules.assetbundle": { 81 | "version": "1.0.0", 82 | "depth": 0, 83 | "source": "builtin", 84 | "dependencies": {} 85 | }, 86 | "com.unity.modules.audio": { 87 | "version": "1.0.0", 88 | "depth": 0, 89 | "source": "builtin", 90 | "dependencies": {} 91 | }, 92 | "com.unity.modules.cloth": { 93 | "version": "1.0.0", 94 | "depth": 0, 95 | "source": "builtin", 96 | "dependencies": { 97 | "com.unity.modules.physics": "1.0.0" 98 | } 99 | }, 100 | "com.unity.modules.director": { 101 | "version": "1.0.0", 102 | "depth": 0, 103 | "source": "builtin", 104 | "dependencies": { 105 | "com.unity.modules.audio": "1.0.0", 106 | "com.unity.modules.animation": "1.0.0" 107 | } 108 | }, 109 | "com.unity.modules.imageconversion": { 110 | "version": "1.0.0", 111 | "depth": 0, 112 | "source": "builtin", 113 | "dependencies": {} 114 | }, 115 | "com.unity.modules.imgui": { 116 | "version": "1.0.0", 117 | "depth": 0, 118 | "source": "builtin", 119 | "dependencies": {} 120 | }, 121 | "com.unity.modules.jsonserialize": { 122 | "version": "1.0.0", 123 | "depth": 0, 124 | "source": "builtin", 125 | "dependencies": {} 126 | }, 127 | "com.unity.modules.particlesystem": { 128 | "version": "1.0.0", 129 | "depth": 0, 130 | "source": "builtin", 131 | "dependencies": {} 132 | }, 133 | "com.unity.modules.physics": { 134 | "version": "1.0.0", 135 | "depth": 0, 136 | "source": "builtin", 137 | "dependencies": {} 138 | }, 139 | "com.unity.modules.physics2d": { 140 | "version": "1.0.0", 141 | "depth": 0, 142 | "source": "builtin", 143 | "dependencies": {} 144 | }, 145 | "com.unity.modules.screencapture": { 146 | "version": "1.0.0", 147 | "depth": 0, 148 | "source": "builtin", 149 | "dependencies": { 150 | "com.unity.modules.imageconversion": "1.0.0" 151 | } 152 | }, 153 | "com.unity.modules.subsystems": { 154 | "version": "1.0.0", 155 | "depth": 1, 156 | "source": "builtin", 157 | "dependencies": { 158 | "com.unity.modules.jsonserialize": "1.0.0" 159 | } 160 | }, 161 | "com.unity.modules.terrain": { 162 | "version": "1.0.0", 163 | "depth": 0, 164 | "source": "builtin", 165 | "dependencies": {} 166 | }, 167 | "com.unity.modules.terrainphysics": { 168 | "version": "1.0.0", 169 | "depth": 0, 170 | "source": "builtin", 171 | "dependencies": { 172 | "com.unity.modules.physics": "1.0.0", 173 | "com.unity.modules.terrain": "1.0.0" 174 | } 175 | }, 176 | "com.unity.modules.tilemap": { 177 | "version": "1.0.0", 178 | "depth": 0, 179 | "source": "builtin", 180 | "dependencies": { 181 | "com.unity.modules.physics2d": "1.0.0" 182 | } 183 | }, 184 | "com.unity.modules.ui": { 185 | "version": "1.0.0", 186 | "depth": 0, 187 | "source": "builtin", 188 | "dependencies": {} 189 | }, 190 | "com.unity.modules.uielements": { 191 | "version": "1.0.0", 192 | "depth": 0, 193 | "source": "builtin", 194 | "dependencies": { 195 | "com.unity.modules.ui": "1.0.0", 196 | "com.unity.modules.imgui": "1.0.0", 197 | "com.unity.modules.jsonserialize": "1.0.0", 198 | "com.unity.modules.uielementsnative": "1.0.0" 199 | } 200 | }, 201 | "com.unity.modules.uielementsnative": { 202 | "version": "1.0.0", 203 | "depth": 1, 204 | "source": "builtin", 205 | "dependencies": { 206 | "com.unity.modules.ui": "1.0.0", 207 | "com.unity.modules.imgui": "1.0.0", 208 | "com.unity.modules.jsonserialize": "1.0.0" 209 | } 210 | }, 211 | "com.unity.modules.umbra": { 212 | "version": "1.0.0", 213 | "depth": 0, 214 | "source": "builtin", 215 | "dependencies": {} 216 | }, 217 | "com.unity.modules.unityanalytics": { 218 | "version": "1.0.0", 219 | "depth": 0, 220 | "source": "builtin", 221 | "dependencies": { 222 | "com.unity.modules.unitywebrequest": "1.0.0", 223 | "com.unity.modules.jsonserialize": "1.0.0" 224 | } 225 | }, 226 | "com.unity.modules.unitywebrequest": { 227 | "version": "1.0.0", 228 | "depth": 0, 229 | "source": "builtin", 230 | "dependencies": {} 231 | }, 232 | "com.unity.modules.unitywebrequestassetbundle": { 233 | "version": "1.0.0", 234 | "depth": 0, 235 | "source": "builtin", 236 | "dependencies": { 237 | "com.unity.modules.assetbundle": "1.0.0", 238 | "com.unity.modules.unitywebrequest": "1.0.0" 239 | } 240 | }, 241 | "com.unity.modules.unitywebrequestaudio": { 242 | "version": "1.0.0", 243 | "depth": 0, 244 | "source": "builtin", 245 | "dependencies": { 246 | "com.unity.modules.unitywebrequest": "1.0.0", 247 | "com.unity.modules.audio": "1.0.0" 248 | } 249 | }, 250 | "com.unity.modules.unitywebrequesttexture": { 251 | "version": "1.0.0", 252 | "depth": 0, 253 | "source": "builtin", 254 | "dependencies": { 255 | "com.unity.modules.unitywebrequest": "1.0.0", 256 | "com.unity.modules.imageconversion": "1.0.0" 257 | } 258 | }, 259 | "com.unity.modules.unitywebrequestwww": { 260 | "version": "1.0.0", 261 | "depth": 0, 262 | "source": "builtin", 263 | "dependencies": { 264 | "com.unity.modules.unitywebrequest": "1.0.0", 265 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 266 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 267 | "com.unity.modules.audio": "1.0.0", 268 | "com.unity.modules.assetbundle": "1.0.0", 269 | "com.unity.modules.imageconversion": "1.0.0" 270 | } 271 | }, 272 | "com.unity.modules.vehicles": { 273 | "version": "1.0.0", 274 | "depth": 0, 275 | "source": "builtin", 276 | "dependencies": { 277 | "com.unity.modules.physics": "1.0.0" 278 | } 279 | }, 280 | "com.unity.modules.video": { 281 | "version": "1.0.0", 282 | "depth": 0, 283 | "source": "builtin", 284 | "dependencies": { 285 | "com.unity.modules.audio": "1.0.0", 286 | "com.unity.modules.ui": "1.0.0", 287 | "com.unity.modules.unitywebrequest": "1.0.0" 288 | } 289 | }, 290 | "com.unity.modules.vr": { 291 | "version": "1.0.0", 292 | "depth": 0, 293 | "source": "builtin", 294 | "dependencies": { 295 | "com.unity.modules.jsonserialize": "1.0.0", 296 | "com.unity.modules.physics": "1.0.0", 297 | "com.unity.modules.xr": "1.0.0" 298 | } 299 | }, 300 | "com.unity.modules.wind": { 301 | "version": "1.0.0", 302 | "depth": 0, 303 | "source": "builtin", 304 | "dependencies": {} 305 | }, 306 | "com.unity.modules.xr": { 307 | "version": "1.0.0", 308 | "depth": 0, 309 | "source": "builtin", 310 | "dependencies": { 311 | "com.unity.modules.physics": "1.0.0", 312 | "com.unity.modules.jsonserialize": "1.0.0", 313 | "com.unity.modules.subsystems": "1.0.0" 314 | } 315 | } 316 | } 317 | } 318 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Volume: 1 8 | Rolloff Scale: 1 9 | Doppler Factor: 1 10 | Default Speaker Mode: 2 11 | m_SampleRate: 0 12 | m_DSPBufferSize: 1024 13 | m_VirtualVoiceCount: 512 14 | m_RealVoiceCount: 32 15 | m_SpatializerPlugin: 16 | m_AmbisonicDecoderPlugin: 17 | m_DisableAudio: 0 18 | m_VirtualizeEffects: 1 19 | m_RequestedDSPBufferSize: 0 20 | -------------------------------------------------------------------------------- /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/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: 13 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.1 18 | m_ClothInterCollisionStiffness: 0.2 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 0 23 | m_ReuseCollisionCallbacks: 1 24 | m_ClothInterCollisionSettingsToggle: 0 25 | m_ClothGravity: {x: 0, y: -9.81, z: 0} 26 | m_ContactPairsMode: 0 27 | m_BroadphaseType: 0 28 | m_WorldBounds: 29 | m_Center: {x: 0, y: 0, z: 0} 30 | m_Extent: {x: 250, y: 250, z: 250} 31 | m_WorldSubdivisions: 8 32 | m_FrictionType: 0 33 | m_EnableEnhancedDeterminism: 0 34 | m_EnableUnifiedHeightmaps: 1 35 | m_SolverType: 0 36 | m_DefaultMaxAngularSpeed: 50 37 | -------------------------------------------------------------------------------- /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 | - enabled: 1 9 | path: Assets/Scenes/SampleScene.unity 10 | guid: 2cda990e2423bbf4892e6590ba056729 11 | m_configObjects: {} 12 | -------------------------------------------------------------------------------- /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: 10 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 0 10 | m_DefaultBehaviorMode: 1 11 | m_PrefabRegularEnvironment: {fileID: 0} 12 | m_PrefabUIEnvironment: {fileID: 0} 13 | m_SpritePackerMode: 4 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;asmref;rsp 20 | m_ProjectGenerationRootNamespace: 21 | m_CollabEditorSettings: 22 | inProgressEnabled: 1 23 | m_EnableTextureStreamingInEditMode: 1 24 | m_EnableTextureStreamingInPlayMode: 1 25 | m_AsyncShaderCompilation: 1 26 | m_EnterPlayModeOptionsEnabled: 0 27 | m_EnterPlayModeOptions: 3 28 | m_ShowLightmapResolutionOverlay: 1 29 | m_UseLegacyProbeSampleCount: 0 30 | m_SerializeInlineMappingsOnOneLine: 1 31 | m_AssetPipelineMode: 1 32 | m_CacheServerMode: 0 33 | m_CacheServerEndpoint: 34 | m_CacheServerNamespacePrefix: default 35 | m_CacheServerEnableDownload: 1 36 | m_CacheServerEnableUpload: 1 37 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 13 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_VideoShadersIncludeMode: 2 32 | m_AlwaysIncludedShaders: 33 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 38 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 39 | - {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0} 40 | m_PreloadedShaders: [] 41 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 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 | m_LogWhenShaderIsCompiled: 0 64 | -------------------------------------------------------------------------------- /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 | - serializedVersion: 3 297 | m_Name: Enable Debug Button 1 298 | descriptiveName: 299 | descriptiveNegativeName: 300 | negativeButton: 301 | positiveButton: left ctrl 302 | altNegativeButton: 303 | altPositiveButton: joystick button 8 304 | gravity: 0 305 | dead: 0 306 | sensitivity: 0 307 | snap: 0 308 | invert: 0 309 | type: 0 310 | axis: 0 311 | joyNum: 0 312 | - serializedVersion: 3 313 | m_Name: Enable Debug Button 2 314 | descriptiveName: 315 | descriptiveNegativeName: 316 | negativeButton: 317 | positiveButton: backspace 318 | altNegativeButton: 319 | altPositiveButton: joystick button 9 320 | gravity: 0 321 | dead: 0 322 | sensitivity: 0 323 | snap: 0 324 | invert: 0 325 | type: 0 326 | axis: 0 327 | joyNum: 0 328 | - serializedVersion: 3 329 | m_Name: Debug Reset 330 | descriptiveName: 331 | descriptiveNegativeName: 332 | negativeButton: 333 | positiveButton: left alt 334 | altNegativeButton: 335 | altPositiveButton: joystick button 1 336 | gravity: 0 337 | dead: 0 338 | sensitivity: 0 339 | snap: 0 340 | invert: 0 341 | type: 0 342 | axis: 0 343 | joyNum: 0 344 | - serializedVersion: 3 345 | m_Name: Debug Next 346 | descriptiveName: 347 | descriptiveNegativeName: 348 | negativeButton: 349 | positiveButton: page down 350 | altNegativeButton: 351 | altPositiveButton: joystick button 5 352 | gravity: 0 353 | dead: 0 354 | sensitivity: 0 355 | snap: 0 356 | invert: 0 357 | type: 0 358 | axis: 0 359 | joyNum: 0 360 | - serializedVersion: 3 361 | m_Name: Debug Previous 362 | descriptiveName: 363 | descriptiveNegativeName: 364 | negativeButton: 365 | positiveButton: page up 366 | altNegativeButton: 367 | altPositiveButton: joystick button 4 368 | gravity: 0 369 | dead: 0 370 | sensitivity: 0 371 | snap: 0 372 | invert: 0 373 | type: 0 374 | axis: 0 375 | joyNum: 0 376 | - serializedVersion: 3 377 | m_Name: Debug Validate 378 | descriptiveName: 379 | descriptiveNegativeName: 380 | negativeButton: 381 | positiveButton: return 382 | altNegativeButton: 383 | altPositiveButton: joystick button 0 384 | gravity: 0 385 | dead: 0 386 | sensitivity: 0 387 | snap: 0 388 | invert: 0 389 | type: 0 390 | axis: 0 391 | joyNum: 0 392 | - serializedVersion: 3 393 | m_Name: Debug Persistent 394 | descriptiveName: 395 | descriptiveNegativeName: 396 | negativeButton: 397 | positiveButton: right shift 398 | altNegativeButton: 399 | altPositiveButton: joystick button 2 400 | gravity: 0 401 | dead: 0 402 | sensitivity: 0 403 | snap: 0 404 | invert: 0 405 | type: 0 406 | axis: 0 407 | joyNum: 0 408 | - serializedVersion: 3 409 | m_Name: Debug Multiplier 410 | descriptiveName: 411 | descriptiveNegativeName: 412 | negativeButton: 413 | positiveButton: left shift 414 | altNegativeButton: 415 | altPositiveButton: joystick button 3 416 | gravity: 0 417 | dead: 0 418 | sensitivity: 0 419 | snap: 0 420 | invert: 0 421 | type: 0 422 | axis: 0 423 | joyNum: 0 424 | - serializedVersion: 3 425 | m_Name: Debug Horizontal 426 | descriptiveName: 427 | descriptiveNegativeName: 428 | negativeButton: left 429 | positiveButton: right 430 | altNegativeButton: 431 | altPositiveButton: 432 | gravity: 1000 433 | dead: 0.001 434 | sensitivity: 1000 435 | snap: 0 436 | invert: 0 437 | type: 0 438 | axis: 0 439 | joyNum: 0 440 | - serializedVersion: 3 441 | m_Name: Debug Vertical 442 | descriptiveName: 443 | descriptiveNegativeName: 444 | negativeButton: down 445 | positiveButton: up 446 | altNegativeButton: 447 | altPositiveButton: 448 | gravity: 1000 449 | dead: 0.001 450 | sensitivity: 1000 451 | snap: 0 452 | invert: 0 453 | type: 0 454 | axis: 0 455 | joyNum: 0 456 | - serializedVersion: 3 457 | m_Name: Debug Vertical 458 | descriptiveName: 459 | descriptiveNegativeName: 460 | negativeButton: down 461 | positiveButton: up 462 | altNegativeButton: 463 | altPositiveButton: 464 | gravity: 1000 465 | dead: 0.001 466 | sensitivity: 1000 467 | snap: 0 468 | invert: 0 469 | type: 2 470 | axis: 6 471 | joyNum: 0 472 | - serializedVersion: 3 473 | m_Name: Debug Horizontal 474 | descriptiveName: 475 | descriptiveNegativeName: 476 | negativeButton: left 477 | positiveButton: right 478 | altNegativeButton: 479 | altPositiveButton: 480 | gravity: 1000 481 | dead: 0.001 482 | sensitivity: 1000 483 | snap: 0 484 | invert: 0 485 | type: 2 486 | axis: 5 487 | joyNum: 0 488 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /ProjectSettings/NotificationsSettings.asset: -------------------------------------------------------------------------------- 1 | { 2 | "MonoBehaviour": { 3 | "m_Enabled": true, 4 | "m_EditorHideFlags": 0, 5 | "m_Name": "", 6 | "m_EditorClassIdentifier": "", 7 | "ToolbarIndex": 0, 8 | "m_iOSNotificationSettingsValues": { 9 | "m_Keys": [ 10 | "UnityNotificationRequestAuthorizationOnAppLaunch", 11 | "UnityNotificationDefaultAuthorizationOptions", 12 | "UnityAddRemoteNotificationCapability", 13 | "UnityNotificationRequestAuthorizationForRemoteNotificationsOnAppLaunch", 14 | "UnityRemoteNotificationForegroundPresentationOptions", 15 | "UnityUseAPSReleaseEnvironment", 16 | "UnityUseLocationNotificationTrigger" 17 | ], 18 | "m_Values": [ 19 | "True", 20 | "7", 21 | "False", 22 | "False", 23 | "-1", 24 | "False", 25 | "False" 26 | ] 27 | }, 28 | "m_AndroidNotificationSettingsValues": { 29 | "m_Keys": [ 30 | "UnityNotificationAndroidRescheduleOnDeviceRestart", 31 | "UnityNotificationAndroidUseCustomActivity", 32 | "UnityNotificationAndroidCustomActivityString" 33 | ], 34 | "m_Values": [ 35 | "True", 36 | "False", 37 | "com.unity3d.player.UnityPlayerActivity" 38 | ] 39 | }, 40 | "DrawableResources": [ 41 | { 42 | "Id": "demo_notification", 43 | "Type": 0, 44 | "Asset": { 45 | "fileID": 2800000, 46 | "guid": "ab76dbad574c2f348ba3af14c74cd84d", 47 | "type": 3 48 | } 49 | } 50 | ] 51 | } 52 | } -------------------------------------------------------------------------------- /ProjectSettings/PackageManagerSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &1 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 61 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0} 13 | m_Name: 14 | m_EditorClassIdentifier: 15 | m_EnablePreviewPackages: 0 16 | m_EnablePackageDependencies: 0 17 | m_AdvancedSettingsExpanded: 1 18 | m_ScopedRegistriesSettingsExpanded: 1 19 | oneTimeWarningShown: 0 20 | m_Registries: 21 | - m_Id: main 22 | m_Name: 23 | m_Url: https://packages.unity.com 24 | m_Scopes: [] 25 | m_IsDefault: 1 26 | m_Capabilities: 7 27 | - m_Id: scoped:package.openupm.com 28 | m_Name: package.openupm.com 29 | m_Url: https://package.openupm.com 30 | m_Scopes: 31 | - extensions.unity 32 | - com.cysharp 33 | - com.neuecc 34 | m_IsDefault: 0 35 | m_Capabilities: 0 36 | m_UserSelectedRegistryName: 37 | m_UserAddingNewScopedRegistry: 0 38 | m_RegistryInfoDraft: 39 | m_ErrorMessage: 40 | m_Original: 41 | m_Id: scoped:package.openupm.com 42 | m_Name: package.openupm.com 43 | m_Url: https://package.openupm.com 44 | m_Scopes: 45 | - extensions.unity 46 | - com.cysharp 47 | - com.neuecc 48 | m_IsDefault: 0 49 | m_Capabilities: 0 50 | m_Modified: 0 51 | m_Name: package.openupm.com 52 | m_Url: https://package.openupm.com 53 | m_Scopes: 54 | - extensions.unity 55 | - com.cysharp 56 | - com.neuecc 57 | m_SelectedScopeIndex: 0 58 | -------------------------------------------------------------------------------- /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: 5 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_SimulationMode: 0 42 | m_QueriesHitTriggers: 1 43 | m_QueriesStartInColliders: 1 44 | m_CallbacksOnDisable: 1 45 | m_ReuseCollisionCallbacks: 1 46 | m_AutoSyncTransforms: 0 47 | m_AlwaysShowColliders: 0 48 | m_ShowColliderSleep: 1 49 | m_ShowColliderContacts: 0 50 | m_ShowColliderAABB: 0 51 | m_ContactArrowScale: 0.2 52 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 53 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 54 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 55 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 56 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 57 | -------------------------------------------------------------------------------- /ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_DefaultPresets: {} 8 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 22 7 | productGUID: bb1d25fc4b4b8054ab0e804c13a66ce1 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: Unity-Mobile-Notifications-Simplifier 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: 1920 46 | defaultScreenHeight: 1080 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 0 51 | m_MTRendering: 1 52 | mipStripping: 0 53 | numberOfMipsStripped: 0 54 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 55 | iosShowActivityIndicatorOnLoading: -1 56 | androidShowActivityIndicatorOnLoading: -1 57 | iosUseCustomAppBackgroundBehavior: 0 58 | iosAllowHTTPDownload: 1 59 | allowedAutorotateToPortrait: 1 60 | allowedAutorotateToPortraitUpsideDown: 1 61 | allowedAutorotateToLandscapeRight: 1 62 | allowedAutorotateToLandscapeLeft: 1 63 | useOSAutorotation: 1 64 | use32BitDisplayBuffer: 1 65 | preserveFramebufferAlpha: 0 66 | disableDepthAndStencilBuffers: 0 67 | androidStartInFullscreen: 1 68 | androidRenderOutsideSafeArea: 1 69 | androidUseSwappy: 1 70 | androidBlitType: 0 71 | androidResizableWindow: 0 72 | androidDefaultWindowWidth: 1920 73 | androidDefaultWindowHeight: 1080 74 | androidMinimumWindowWidth: 400 75 | androidMinimumWindowHeight: 300 76 | androidFullscreenMode: 1 77 | defaultIsNativeResolution: 1 78 | macRetinaSupport: 1 79 | runInBackground: 0 80 | captureSingleScreen: 0 81 | muteOtherAudioSources: 0 82 | Prepare IOS For Recording: 0 83 | Force IOS Speakers When Recording: 0 84 | deferSystemGesturesMode: 0 85 | hideHomeButton: 0 86 | submitAnalytics: 1 87 | usePlayerLog: 1 88 | bakeCollisionMeshes: 0 89 | forceSingleInstance: 0 90 | useFlipModelSwapchain: 1 91 | resizableWindow: 0 92 | useMacAppStoreValidation: 0 93 | macAppStoreCategory: public.app-category.games 94 | gpuSkinning: 0 95 | xboxPIXTextureCapture: 0 96 | xboxEnableAvatar: 0 97 | xboxEnableKinect: 0 98 | xboxEnableKinectAutoTracking: 0 99 | xboxEnableFitness: 0 100 | visibleInBackground: 1 101 | allowFullscreenSwitch: 1 102 | fullscreenMode: 1 103 | xboxSpeechDB: 0 104 | xboxEnableHeadOrientation: 0 105 | xboxEnableGuest: 0 106 | xboxEnablePIXSampling: 0 107 | metalFramebufferOnly: 0 108 | xboxOneResolution: 0 109 | xboxOneSResolution: 0 110 | xboxOneXResolution: 3 111 | xboxOneMonoLoggingLevel: 0 112 | xboxOneLoggingLevel: 1 113 | xboxOneDisableEsram: 0 114 | xboxOneEnableTypeOptimization: 0 115 | xboxOnePresentImmediateThreshold: 0 116 | switchQueueCommandMemory: 1048576 117 | switchQueueControlMemory: 16384 118 | switchQueueComputeMemory: 262144 119 | switchNVNShaderPoolsGranularity: 33554432 120 | switchNVNDefaultPoolsGranularity: 16777216 121 | switchNVNOtherPoolsGranularity: 16777216 122 | switchNVNMaxPublicTextureIDCount: 0 123 | switchNVNMaxPublicSamplerIDCount: 0 124 | stadiaPresentMode: 0 125 | stadiaTargetFramerate: 0 126 | vulkanNumSwapchainBuffers: 3 127 | vulkanEnableSetSRGBWrite: 0 128 | vulkanEnablePreTransform: 0 129 | vulkanEnableLateAcquireNextImage: 0 130 | vulkanEnableCommandBufferRecycling: 1 131 | m_SupportedAspectRatios: 132 | 4:3: 1 133 | 5:4: 1 134 | 16:10: 1 135 | 16:9: 1 136 | Others: 1 137 | bundleVersion: 1.0 138 | preloadedAssets: [] 139 | metroInputSource: 0 140 | wsaTransparentSwapchain: 0 141 | m_HolographicPauseOnTrackingLoss: 1 142 | xboxOneDisableKinectGpuReservation: 1 143 | xboxOneEnable7thCore: 1 144 | vrSettings: 145 | enable360StereoCapture: 0 146 | isWsaHolographicRemotingEnabled: 0 147 | enableFrameTimingStats: 0 148 | useHDRDisplay: 0 149 | D3DHDRBitDepth: 0 150 | m_ColorGamuts: 00000000 151 | targetPixelDensity: 30 152 | resolutionScalingMode: 0 153 | androidSupportedAspectRatio: 1 154 | androidMaxAspectRatio: 2.1 155 | applicationIdentifier: {} 156 | buildNumber: 157 | Standalone: 0 158 | iPhone: 0 159 | tvOS: 0 160 | overrideDefaultApplicationIdentifier: 0 161 | AndroidBundleVersionCode: 1 162 | AndroidMinSdkVersion: 19 163 | AndroidTargetSdkVersion: 0 164 | AndroidPreferredInstallLocation: 1 165 | aotOptions: 166 | stripEngineCode: 1 167 | iPhoneStrippingLevel: 0 168 | iPhoneScriptCallOptimization: 0 169 | ForceInternetPermission: 0 170 | ForceSDCardPermission: 0 171 | CreateWallpaper: 0 172 | APKExpansionFiles: 0 173 | keepLoadedShadersAlive: 0 174 | StripUnusedMeshComponents: 0 175 | VertexChannelCompressionMask: 4054 176 | iPhoneSdkVersion: 988 177 | iOSTargetOSVersionString: 11.0 178 | tvOSSdkVersion: 0 179 | tvOSRequireExtendedGameController: 0 180 | tvOSTargetOSVersionString: 11.0 181 | uIPrerenderedIcon: 0 182 | uIRequiresPersistentWiFi: 0 183 | uIRequiresFullScreen: 1 184 | uIStatusBarHidden: 1 185 | uIExitOnSuspend: 0 186 | uIStatusBarStyle: 0 187 | appleTVSplashScreen: {fileID: 0} 188 | appleTVSplashScreen2x: {fileID: 0} 189 | tvOSSmallIconLayers: [] 190 | tvOSSmallIconLayers2x: [] 191 | tvOSLargeIconLayers: [] 192 | tvOSLargeIconLayers2x: [] 193 | tvOSTopShelfImageLayers: [] 194 | tvOSTopShelfImageLayers2x: [] 195 | tvOSTopShelfImageWideLayers: [] 196 | tvOSTopShelfImageWideLayers2x: [] 197 | iOSLaunchScreenType: 0 198 | iOSLaunchScreenPortrait: {fileID: 0} 199 | iOSLaunchScreenLandscape: {fileID: 0} 200 | iOSLaunchScreenBackgroundColor: 201 | serializedVersion: 2 202 | rgba: 0 203 | iOSLaunchScreenFillPct: 100 204 | iOSLaunchScreenSize: 100 205 | iOSLaunchScreenCustomXibPath: 206 | iOSLaunchScreeniPadType: 0 207 | iOSLaunchScreeniPadImage: {fileID: 0} 208 | iOSLaunchScreeniPadBackgroundColor: 209 | serializedVersion: 2 210 | rgba: 0 211 | iOSLaunchScreeniPadFillPct: 100 212 | iOSLaunchScreeniPadSize: 100 213 | iOSLaunchScreeniPadCustomXibPath: 214 | iOSLaunchScreenCustomStoryboardPath: 215 | iOSLaunchScreeniPadCustomStoryboardPath: 216 | iOSDeviceRequirements: [] 217 | iOSURLSchemes: [] 218 | iOSBackgroundModes: 0 219 | iOSMetalForceHardShadows: 0 220 | metalEditorSupport: 1 221 | metalAPIValidation: 1 222 | iOSRenderExtraFrameOnPause: 0 223 | iosCopyPluginsCodeInsteadOfSymlink: 0 224 | appleDeveloperTeamID: 225 | iOSManualSigningProvisioningProfileID: 226 | tvOSManualSigningProvisioningProfileID: 227 | iOSManualSigningProvisioningProfileType: 0 228 | tvOSManualSigningProvisioningProfileType: 0 229 | appleEnableAutomaticSigning: 0 230 | iOSRequireARKit: 0 231 | iOSAutomaticallyDetectAndAddCapabilities: 1 232 | appleEnableProMotion: 0 233 | shaderPrecisionModel: 0 234 | clonedFromGUID: 10ad67313f4034357812315f3c407484 235 | templatePackageId: com.unity.template.2d@5.0.0 236 | templateDefaultScene: Assets/Scenes/SampleScene.unity 237 | useCustomMainManifest: 0 238 | useCustomLauncherManifest: 0 239 | useCustomMainGradleTemplate: 0 240 | useCustomLauncherGradleManifest: 0 241 | useCustomBaseGradleTemplate: 0 242 | useCustomGradlePropertiesTemplate: 0 243 | useCustomProguardFile: 0 244 | AndroidTargetArchitectures: 1 245 | AndroidTargetDevices: 0 246 | AndroidSplashScreenScale: 0 247 | androidSplashScreen: {fileID: 0} 248 | AndroidKeystoreName: 249 | AndroidKeyaliasName: 250 | AndroidBuildApkPerCpuArchitecture: 0 251 | AndroidTVCompatibility: 0 252 | AndroidIsGame: 1 253 | AndroidEnableTango: 0 254 | androidEnableBanner: 1 255 | androidUseLowAccuracyLocation: 0 256 | androidUseCustomKeystore: 0 257 | m_AndroidBanners: 258 | - width: 320 259 | height: 180 260 | banner: {fileID: 0} 261 | androidGamepadSupportLevel: 0 262 | chromeosInputEmulation: 1 263 | AndroidMinifyWithR8: 0 264 | AndroidMinifyRelease: 0 265 | AndroidMinifyDebug: 0 266 | AndroidValidateAppBundleSize: 1 267 | AndroidAppBundleSizeToValidate: 150 268 | m_BuildTargetIcons: 269 | - m_BuildTarget: 270 | m_Icons: 271 | - serializedVersion: 2 272 | m_Icon: {fileID: 2800000, guid: 02ea7526469bba64f91b3ee2a55aedd3, type: 3} 273 | m_Width: 128 274 | m_Height: 128 275 | m_Kind: 0 276 | m_BuildTargetPlatformIcons: [] 277 | m_BuildTargetBatching: [] 278 | m_BuildTargetGraphicsJobs: 279 | - m_BuildTarget: MacStandaloneSupport 280 | m_GraphicsJobs: 0 281 | - m_BuildTarget: Switch 282 | m_GraphicsJobs: 0 283 | - m_BuildTarget: MetroSupport 284 | m_GraphicsJobs: 0 285 | - m_BuildTarget: AppleTVSupport 286 | m_GraphicsJobs: 0 287 | - m_BuildTarget: BJMSupport 288 | m_GraphicsJobs: 0 289 | - m_BuildTarget: LinuxStandaloneSupport 290 | m_GraphicsJobs: 0 291 | - m_BuildTarget: PS4Player 292 | m_GraphicsJobs: 0 293 | - m_BuildTarget: iOSSupport 294 | m_GraphicsJobs: 0 295 | - m_BuildTarget: WindowsStandaloneSupport 296 | m_GraphicsJobs: 0 297 | - m_BuildTarget: XboxOnePlayer 298 | m_GraphicsJobs: 0 299 | - m_BuildTarget: LuminSupport 300 | m_GraphicsJobs: 0 301 | - m_BuildTarget: AndroidPlayer 302 | m_GraphicsJobs: 0 303 | - m_BuildTarget: WebGLSupport 304 | m_GraphicsJobs: 0 305 | m_BuildTargetGraphicsJobMode: [] 306 | m_BuildTargetGraphicsAPIs: 307 | - m_BuildTarget: AndroidPlayer 308 | m_APIs: 150000000b000000 309 | m_Automatic: 0 310 | - m_BuildTarget: iOSSupport 311 | m_APIs: 10000000 312 | m_Automatic: 1 313 | m_BuildTargetVRSettings: [] 314 | openGLRequireES31: 0 315 | openGLRequireES31AEP: 0 316 | openGLRequireES32: 0 317 | m_TemplateCustomTags: {} 318 | mobileMTRendering: 319 | Android: 1 320 | iPhone: 1 321 | tvOS: 1 322 | m_BuildTargetGroupLightmapEncodingQuality: [] 323 | m_BuildTargetGroupLightmapSettings: [] 324 | m_BuildTargetNormalMapEncoding: [] 325 | playModeTestRunnerEnabled: 0 326 | runPlayModeTestAsEditModeTest: 0 327 | actionOnDotNetUnhandledException: 1 328 | enableInternalProfiler: 0 329 | logObjCUncaughtExceptions: 1 330 | enableCrashReportAPI: 0 331 | cameraUsageDescription: 332 | locationUsageDescription: 333 | microphoneUsageDescription: 334 | bluetoothUsageDescription: 335 | switchNMETAOverride: 336 | switchNetLibKey: 337 | switchSocketMemoryPoolSize: 6144 338 | switchSocketAllocatorPoolSize: 128 339 | switchSocketConcurrencyLimit: 14 340 | switchScreenResolutionBehavior: 2 341 | switchUseCPUProfiler: 0 342 | switchUseGOLDLinker: 0 343 | switchApplicationID: 0x01004b9000490000 344 | switchNSODependencies: 345 | switchTitleNames_0: 346 | switchTitleNames_1: 347 | switchTitleNames_2: 348 | switchTitleNames_3: 349 | switchTitleNames_4: 350 | switchTitleNames_5: 351 | switchTitleNames_6: 352 | switchTitleNames_7: 353 | switchTitleNames_8: 354 | switchTitleNames_9: 355 | switchTitleNames_10: 356 | switchTitleNames_11: 357 | switchTitleNames_12: 358 | switchTitleNames_13: 359 | switchTitleNames_14: 360 | switchTitleNames_15: 361 | switchPublisherNames_0: 362 | switchPublisherNames_1: 363 | switchPublisherNames_2: 364 | switchPublisherNames_3: 365 | switchPublisherNames_4: 366 | switchPublisherNames_5: 367 | switchPublisherNames_6: 368 | switchPublisherNames_7: 369 | switchPublisherNames_8: 370 | switchPublisherNames_9: 371 | switchPublisherNames_10: 372 | switchPublisherNames_11: 373 | switchPublisherNames_12: 374 | switchPublisherNames_13: 375 | switchPublisherNames_14: 376 | switchPublisherNames_15: 377 | switchIcons_0: {fileID: 0} 378 | switchIcons_1: {fileID: 0} 379 | switchIcons_2: {fileID: 0} 380 | switchIcons_3: {fileID: 0} 381 | switchIcons_4: {fileID: 0} 382 | switchIcons_5: {fileID: 0} 383 | switchIcons_6: {fileID: 0} 384 | switchIcons_7: {fileID: 0} 385 | switchIcons_8: {fileID: 0} 386 | switchIcons_9: {fileID: 0} 387 | switchIcons_10: {fileID: 0} 388 | switchIcons_11: {fileID: 0} 389 | switchIcons_12: {fileID: 0} 390 | switchIcons_13: {fileID: 0} 391 | switchIcons_14: {fileID: 0} 392 | switchIcons_15: {fileID: 0} 393 | switchSmallIcons_0: {fileID: 0} 394 | switchSmallIcons_1: {fileID: 0} 395 | switchSmallIcons_2: {fileID: 0} 396 | switchSmallIcons_3: {fileID: 0} 397 | switchSmallIcons_4: {fileID: 0} 398 | switchSmallIcons_5: {fileID: 0} 399 | switchSmallIcons_6: {fileID: 0} 400 | switchSmallIcons_7: {fileID: 0} 401 | switchSmallIcons_8: {fileID: 0} 402 | switchSmallIcons_9: {fileID: 0} 403 | switchSmallIcons_10: {fileID: 0} 404 | switchSmallIcons_11: {fileID: 0} 405 | switchSmallIcons_12: {fileID: 0} 406 | switchSmallIcons_13: {fileID: 0} 407 | switchSmallIcons_14: {fileID: 0} 408 | switchSmallIcons_15: {fileID: 0} 409 | switchManualHTML: 410 | switchAccessibleURLs: 411 | switchLegalInformation: 412 | switchMainThreadStackSize: 1048576 413 | switchPresenceGroupId: 414 | switchLogoHandling: 0 415 | switchReleaseVersion: 0 416 | switchDisplayVersion: 1.0.0 417 | switchStartupUserAccount: 0 418 | switchTouchScreenUsage: 0 419 | switchSupportedLanguagesMask: 0 420 | switchLogoType: 0 421 | switchApplicationErrorCodeCategory: 422 | switchUserAccountSaveDataSize: 0 423 | switchUserAccountSaveDataJournalSize: 0 424 | switchApplicationAttribute: 0 425 | switchCardSpecSize: -1 426 | switchCardSpecClock: -1 427 | switchRatingsMask: 0 428 | switchRatingsInt_0: 0 429 | switchRatingsInt_1: 0 430 | switchRatingsInt_2: 0 431 | switchRatingsInt_3: 0 432 | switchRatingsInt_4: 0 433 | switchRatingsInt_5: 0 434 | switchRatingsInt_6: 0 435 | switchRatingsInt_7: 0 436 | switchRatingsInt_8: 0 437 | switchRatingsInt_9: 0 438 | switchRatingsInt_10: 0 439 | switchRatingsInt_11: 0 440 | switchRatingsInt_12: 0 441 | switchLocalCommunicationIds_0: 442 | switchLocalCommunicationIds_1: 443 | switchLocalCommunicationIds_2: 444 | switchLocalCommunicationIds_3: 445 | switchLocalCommunicationIds_4: 446 | switchLocalCommunicationIds_5: 447 | switchLocalCommunicationIds_6: 448 | switchLocalCommunicationIds_7: 449 | switchParentalControl: 0 450 | switchAllowsScreenshot: 1 451 | switchAllowsVideoCapturing: 1 452 | switchAllowsRuntimeAddOnContentInstall: 0 453 | switchDataLossConfirmation: 0 454 | switchUserAccountLockEnabled: 0 455 | switchSystemResourceMemory: 16777216 456 | switchSupportedNpadStyles: 22 457 | switchNativeFsCacheSize: 32 458 | switchIsHoldTypeHorizontal: 0 459 | switchSupportedNpadCount: 8 460 | switchSocketConfigEnabled: 0 461 | switchTcpInitialSendBufferSize: 32 462 | switchTcpInitialReceiveBufferSize: 64 463 | switchTcpAutoSendBufferSizeMax: 256 464 | switchTcpAutoReceiveBufferSizeMax: 256 465 | switchUdpSendBufferSize: 9 466 | switchUdpReceiveBufferSize: 42 467 | switchSocketBufferEfficiency: 4 468 | switchSocketInitializeEnabled: 1 469 | switchNetworkInterfaceManagerInitializeEnabled: 1 470 | switchPlayerConnectionEnabled: 1 471 | switchUseNewStyleFilepaths: 0 472 | switchUseMicroSleepForYield: 1 473 | switchMicroSleepForYieldTime: 25 474 | ps4NPAgeRating: 12 475 | ps4NPTitleSecret: 476 | ps4NPTrophyPackPath: 477 | ps4ParentalLevel: 11 478 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 479 | ps4Category: 0 480 | ps4MasterVersion: 01.00 481 | ps4AppVersion: 01.00 482 | ps4AppType: 0 483 | ps4ParamSfxPath: 484 | ps4VideoOutPixelFormat: 0 485 | ps4VideoOutInitialWidth: 1920 486 | ps4VideoOutBaseModeInitialWidth: 1920 487 | ps4VideoOutReprojectionRate: 60 488 | ps4PronunciationXMLPath: 489 | ps4PronunciationSIGPath: 490 | ps4BackgroundImagePath: 491 | ps4StartupImagePath: 492 | ps4StartupImagesFolder: 493 | ps4IconImagesFolder: 494 | ps4SaveDataImagePath: 495 | ps4SdkOverride: 496 | ps4BGMPath: 497 | ps4ShareFilePath: 498 | ps4ShareOverlayImagePath: 499 | ps4PrivacyGuardImagePath: 500 | ps4ExtraSceSysFile: 501 | ps4NPtitleDatPath: 502 | ps4RemotePlayKeyAssignment: -1 503 | ps4RemotePlayKeyMappingDir: 504 | ps4PlayTogetherPlayerCount: 0 505 | ps4EnterButtonAssignment: 2 506 | ps4ApplicationParam1: 0 507 | ps4ApplicationParam2: 0 508 | ps4ApplicationParam3: 0 509 | ps4ApplicationParam4: 0 510 | ps4DownloadDataSize: 0 511 | ps4GarlicHeapSize: 2048 512 | ps4ProGarlicHeapSize: 2560 513 | playerPrefsMaxSize: 32768 514 | ps4Passcode: bi9UOuSpM2Tlh01vOzwvSikHFswuzleh 515 | ps4pnSessions: 1 516 | ps4pnPresence: 1 517 | ps4pnFriends: 1 518 | ps4pnGameCustomData: 1 519 | playerPrefsSupport: 0 520 | enableApplicationExit: 0 521 | resetTempFolder: 1 522 | restrictedAudioUsageRights: 0 523 | ps4UseResolutionFallback: 0 524 | ps4ReprojectionSupport: 0 525 | ps4UseAudio3dBackend: 0 526 | ps4UseLowGarlicFragmentationMode: 1 527 | ps4SocialScreenEnabled: 0 528 | ps4ScriptOptimizationLevel: 2 529 | ps4Audio3dVirtualSpeakerCount: 14 530 | ps4attribCpuUsage: 0 531 | ps4PatchPkgPath: 532 | ps4PatchLatestPkgPath: 533 | ps4PatchChangeinfoPath: 534 | ps4PatchDayOne: 0 535 | ps4attribUserManagement: 0 536 | ps4attribMoveSupport: 0 537 | ps4attrib3DSupport: 0 538 | ps4attribShareSupport: 0 539 | ps4attribExclusiveVR: 0 540 | ps4disableAutoHideSplash: 0 541 | ps4videoRecordingFeaturesUsed: 0 542 | ps4contentSearchFeaturesUsed: 0 543 | ps4CompatibilityPS5: 0 544 | ps4AllowPS5Detection: 0 545 | ps4GPU800MHz: 1 546 | ps4attribEyeToEyeDistanceSettingVR: 0 547 | ps4IncludedModules: [] 548 | ps4attribVROutputEnabled: 0 549 | monoEnv: 550 | splashScreenBackgroundSourceLandscape: {fileID: 0} 551 | splashScreenBackgroundSourcePortrait: {fileID: 0} 552 | blurSplashScreenBackground: 1 553 | spritePackerPolicy: 554 | webGLMemorySize: 32 555 | webGLExceptionSupport: 1 556 | webGLNameFilesAsHashes: 0 557 | webGLDataCaching: 1 558 | webGLDebugSymbols: 0 559 | webGLEmscriptenArgs: 560 | webGLModulesDirectory: 561 | webGLTemplate: APPLICATION:Default 562 | webGLAnalyzeBuildSize: 0 563 | webGLUseEmbeddedResources: 0 564 | webGLCompressionFormat: 0 565 | webGLWasmArithmeticExceptions: 0 566 | webGLLinkerTarget: 1 567 | webGLThreadsSupport: 0 568 | webGLDecompressionFallback: 0 569 | scriptingDefineSymbols: 570 | 1: ODIN_INSPECTOR;ODIN_INSPECTOR_3 571 | 4: ODIN_INSPECTOR;ODIN_INSPECTOR_3 572 | 7: ODIN_INSPECTOR;ODIN_INSPECTOR_3 573 | additionalCompilerArguments: {} 574 | platformArchitecture: {} 575 | scriptingBackend: {} 576 | il2cppCompilerConfiguration: {} 577 | managedStrippingLevel: {} 578 | incrementalIl2cppBuild: {} 579 | suppressCommonWarnings: 1 580 | allowUnsafeCode: 0 581 | useDeterministicCompilation: 1 582 | useReferenceAssemblies: 1 583 | enableRoslynAnalyzers: 1 584 | additionalIl2CppArgs: 585 | scriptingRuntimeVersion: 1 586 | gcIncremental: 1 587 | assemblyVersionValidation: 1 588 | gcWBarrierValidation: 0 589 | apiCompatibilityLevelPerPlatform: {} 590 | m_RenderingPath: 1 591 | m_MobileRenderingPath: 1 592 | metroPackageName: 2D_BuiltInRenderer 593 | metroPackageVersion: 594 | metroCertificatePath: 595 | metroCertificatePassword: 596 | metroCertificateSubject: 597 | metroCertificateIssuer: 598 | metroCertificateNotAfter: 0000000000000000 599 | metroApplicationDescription: 2D_BuiltInRenderer 600 | wsaImages: {} 601 | metroTileShortName: 602 | metroTileShowName: 0 603 | metroMediumTileShowName: 0 604 | metroLargeTileShowName: 0 605 | metroWideTileShowName: 0 606 | metroSupportStreamingInstall: 0 607 | metroLastRequiredScene: 0 608 | metroDefaultTileSize: 1 609 | metroTileForegroundText: 2 610 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 611 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, a: 1} 612 | metroSplashScreenUseBackgroundColor: 0 613 | platformCapabilities: {} 614 | metroTargetDeviceFamilies: {} 615 | metroFTAName: 616 | metroFTAFileTypes: [] 617 | metroProtocolName: 618 | XboxOneProductId: 619 | XboxOneUpdateKey: 620 | XboxOneSandboxId: 621 | XboxOneContentId: 622 | XboxOneTitleId: 623 | XboxOneSCId: 624 | XboxOneGameOsOverridePath: 625 | XboxOnePackagingOverridePath: 626 | XboxOneAppManifestOverridePath: 627 | XboxOneVersion: 1.0.0.0 628 | XboxOnePackageEncryption: 0 629 | XboxOnePackageUpdateGranularity: 2 630 | XboxOneDescription: 631 | XboxOneLanguage: 632 | - enus 633 | XboxOneCapability: [] 634 | XboxOneGameRating: {} 635 | XboxOneIsContentPackage: 0 636 | XboxOneEnhancedXboxCompatibilityMode: 0 637 | XboxOneEnableGPUVariability: 1 638 | XboxOneSockets: {} 639 | XboxOneSplashScreen: {fileID: 0} 640 | XboxOneAllowedProductIds: [] 641 | XboxOnePersistentLocalStorageSize: 0 642 | XboxOneXTitleMemory: 8 643 | XboxOneOverrideIdentityName: 644 | XboxOneOverrideIdentityPublisher: 645 | vrEditorSettings: {} 646 | cloudServicesEnabled: {} 647 | luminIcon: 648 | m_Name: 649 | m_ModelFolderPath: 650 | m_PortalFolderPath: 651 | luminCert: 652 | m_CertPath: 653 | m_SignPackage: 1 654 | luminIsChannelApp: 0 655 | luminVersion: 656 | m_VersionCode: 1 657 | m_VersionName: 658 | apiCompatibilityLevel: 6 659 | activeInputHandler: 0 660 | cloudProjectId: 661 | framebufferDepthMemorylessMode: 0 662 | qualitySettingsNames: [] 663 | projectName: 664 | organizationId: 665 | cloudEnabled: 0 666 | legacyClampBlendShapeWeights: 0 667 | virtualTexturingSupportEnabled: 0 668 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2020.3.21f1 2 | m_EditorVersionWithRevision: 2020.3.21f1 (a38c86f6690f) 3 | -------------------------------------------------------------------------------- /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 | skinWeights: 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 | customRenderPipeline: {fileID: 0} 44 | excludedTargetPlatforms: [] 45 | - serializedVersion: 2 46 | name: Low 47 | pixelLightCount: 0 48 | shadows: 0 49 | shadowResolution: 0 50 | shadowProjection: 1 51 | shadowCascades: 1 52 | shadowDistance: 20 53 | shadowNearPlaneOffset: 3 54 | shadowCascade2Split: 0.33333334 55 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 56 | shadowmaskMode: 0 57 | skinWeights: 2 58 | textureQuality: 0 59 | anisotropicTextures: 0 60 | antiAliasing: 0 61 | softParticles: 0 62 | softVegetation: 0 63 | realtimeReflectionProbes: 0 64 | billboardsFaceCameraPosition: 0 65 | vSyncCount: 0 66 | lodBias: 0.4 67 | maximumLODLevel: 0 68 | streamingMipmapsActive: 0 69 | streamingMipmapsAddAllCameras: 1 70 | streamingMipmapsMemoryBudget: 512 71 | streamingMipmapsRenderersPerFrame: 512 72 | streamingMipmapsMaxLevelReduction: 2 73 | streamingMipmapsMaxFileIORequests: 1024 74 | particleRaycastBudget: 16 75 | asyncUploadTimeSlice: 2 76 | asyncUploadBufferSize: 16 77 | asyncUploadPersistentBuffer: 1 78 | resolutionScalingFixedDPIFactor: 1 79 | customRenderPipeline: {fileID: 0} 80 | excludedTargetPlatforms: [] 81 | - serializedVersion: 2 82 | name: Medium 83 | pixelLightCount: 1 84 | shadows: 1 85 | shadowResolution: 0 86 | shadowProjection: 1 87 | shadowCascades: 1 88 | shadowDistance: 20 89 | shadowNearPlaneOffset: 3 90 | shadowCascade2Split: 0.33333334 91 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 92 | shadowmaskMode: 0 93 | skinWeights: 2 94 | textureQuality: 0 95 | anisotropicTextures: 1 96 | antiAliasing: 0 97 | softParticles: 0 98 | softVegetation: 0 99 | realtimeReflectionProbes: 0 100 | billboardsFaceCameraPosition: 0 101 | vSyncCount: 1 102 | lodBias: 0.7 103 | maximumLODLevel: 0 104 | streamingMipmapsActive: 0 105 | streamingMipmapsAddAllCameras: 1 106 | streamingMipmapsMemoryBudget: 512 107 | streamingMipmapsRenderersPerFrame: 512 108 | streamingMipmapsMaxLevelReduction: 2 109 | streamingMipmapsMaxFileIORequests: 1024 110 | particleRaycastBudget: 64 111 | asyncUploadTimeSlice: 2 112 | asyncUploadBufferSize: 16 113 | asyncUploadPersistentBuffer: 1 114 | resolutionScalingFixedDPIFactor: 1 115 | customRenderPipeline: {fileID: 0} 116 | excludedTargetPlatforms: [] 117 | - serializedVersion: 2 118 | name: High 119 | pixelLightCount: 2 120 | shadows: 2 121 | shadowResolution: 1 122 | shadowProjection: 1 123 | shadowCascades: 2 124 | shadowDistance: 40 125 | shadowNearPlaneOffset: 3 126 | shadowCascade2Split: 0.33333334 127 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 128 | shadowmaskMode: 1 129 | skinWeights: 2 130 | textureQuality: 0 131 | anisotropicTextures: 1 132 | antiAliasing: 0 133 | softParticles: 0 134 | softVegetation: 1 135 | realtimeReflectionProbes: 1 136 | billboardsFaceCameraPosition: 1 137 | vSyncCount: 1 138 | lodBias: 1 139 | maximumLODLevel: 0 140 | streamingMipmapsActive: 0 141 | streamingMipmapsAddAllCameras: 1 142 | streamingMipmapsMemoryBudget: 512 143 | streamingMipmapsRenderersPerFrame: 512 144 | streamingMipmapsMaxLevelReduction: 2 145 | streamingMipmapsMaxFileIORequests: 1024 146 | particleRaycastBudget: 256 147 | asyncUploadTimeSlice: 2 148 | asyncUploadBufferSize: 16 149 | asyncUploadPersistentBuffer: 1 150 | resolutionScalingFixedDPIFactor: 1 151 | customRenderPipeline: {fileID: 0} 152 | excludedTargetPlatforms: [] 153 | - serializedVersion: 2 154 | name: Very High 155 | pixelLightCount: 3 156 | shadows: 2 157 | shadowResolution: 2 158 | shadowProjection: 1 159 | shadowCascades: 2 160 | shadowDistance: 70 161 | shadowNearPlaneOffset: 3 162 | shadowCascade2Split: 0.33333334 163 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 164 | shadowmaskMode: 1 165 | skinWeights: 4 166 | textureQuality: 0 167 | anisotropicTextures: 2 168 | antiAliasing: 2 169 | softParticles: 1 170 | softVegetation: 1 171 | realtimeReflectionProbes: 1 172 | billboardsFaceCameraPosition: 1 173 | vSyncCount: 1 174 | lodBias: 1.5 175 | maximumLODLevel: 0 176 | streamingMipmapsActive: 0 177 | streamingMipmapsAddAllCameras: 1 178 | streamingMipmapsMemoryBudget: 512 179 | streamingMipmapsRenderersPerFrame: 512 180 | streamingMipmapsMaxLevelReduction: 2 181 | streamingMipmapsMaxFileIORequests: 1024 182 | particleRaycastBudget: 1024 183 | asyncUploadTimeSlice: 2 184 | asyncUploadBufferSize: 16 185 | asyncUploadPersistentBuffer: 1 186 | resolutionScalingFixedDPIFactor: 1 187 | customRenderPipeline: {fileID: 0} 188 | excludedTargetPlatforms: [] 189 | - serializedVersion: 2 190 | name: Ultra 191 | pixelLightCount: 4 192 | shadows: 2 193 | shadowResolution: 2 194 | shadowProjection: 1 195 | shadowCascades: 4 196 | shadowDistance: 150 197 | shadowNearPlaneOffset: 3 198 | shadowCascade2Split: 0.33333334 199 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 200 | shadowmaskMode: 1 201 | skinWeights: 255 202 | textureQuality: 0 203 | anisotropicTextures: 2 204 | antiAliasing: 2 205 | softParticles: 1 206 | softVegetation: 1 207 | realtimeReflectionProbes: 1 208 | billboardsFaceCameraPosition: 1 209 | vSyncCount: 1 210 | lodBias: 2 211 | maximumLODLevel: 0 212 | streamingMipmapsActive: 0 213 | streamingMipmapsAddAllCameras: 1 214 | streamingMipmapsMemoryBudget: 512 215 | streamingMipmapsRenderersPerFrame: 512 216 | streamingMipmapsMaxLevelReduction: 2 217 | streamingMipmapsMaxFileIORequests: 1024 218 | particleRaycastBudget: 4096 219 | asyncUploadTimeSlice: 2 220 | asyncUploadBufferSize: 16 221 | asyncUploadPersistentBuffer: 1 222 | resolutionScalingFixedDPIFactor: 1 223 | customRenderPipeline: {fileID: 0} 224 | excludedTargetPlatforms: [] 225 | m_PerPlatformDefaultQuality: 226 | Android: 2 227 | Lumin: 5 228 | Nintendo Switch: 5 229 | PS4: 5 230 | Stadia: 5 231 | Standalone: 5 232 | WebGL: 3 233 | Windows Store Apps: 5 234 | XboxOne: 5 235 | iPhone: 2 236 | tvOS: 2 237 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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_DashboardUrl: https://dashboard.unity3d.com 13 | m_TestInitMode: 0 14 | CrashReportingSettings: 15 | m_EventUrl: https://perf-events.cloud.unity3d.com 16 | m_Enabled: 0 17 | m_LogBufferSize: 10 18 | m_CaptureEditorExceptions: 1 19 | UnityPurchasingSettings: 20 | m_Enabled: 0 21 | m_TestMode: 0 22 | UnityAnalyticsSettings: 23 | m_Enabled: 0 24 | m_TestMode: 0 25 | m_InitializeOnStartup: 1 26 | UnityAdsSettings: 27 | m_Enabled: 0 28 | m_InitializeOnStartup: 1 29 | m_TestMode: 0 30 | m_IosGameId: 31 | m_AndroidGameId: 32 | m_GameIds: {} 33 | m_GameId: 34 | PerformanceReportingSettings: 35 | m_Enabled: 0 36 | -------------------------------------------------------------------------------- /ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 0} 7 | m_CopyBufferShader: {fileID: 0} 8 | m_SortShader: {fileID: 0} 9 | m_StripUpdateShader: {fileID: 0} 10 | m_RenderPipeSettingsPath: 11 | m_FixedTimeStep: 0.016666668 12 | m_MaxDeltaTime: 0.05 13 | -------------------------------------------------------------------------------- /ProjectSettings/VersionControlSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!890905787 &1 4 | VersionControlSettings: 5 | m_ObjectHideFlags: 0 6 | m_Mode: Visible Meta Files 7 | m_CollabEditorSettings: 8 | inProgressEnabled: 1 9 | -------------------------------------------------------------------------------- /ProjectSettings/XRSettings.asset: -------------------------------------------------------------------------------- 1 | { 2 | "m_SettingKeys": [ 3 | "VR Device Disabled", 4 | "VR Device User Alert" 5 | ], 6 | "m_SettingValues": [ 7 | "False", 8 | "False" 9 | ] 10 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Unity Mobile Notifications Simplifier 2 | ![npm](https://img.shields.io/npm/v/extensions.unity.notifications) [![openupm](https://img.shields.io/npm/v/extensions.unity.notifications?label=openupm®istry_uri=https://package.openupm.com)](https://openupm.com/packages/extensions.unity.notifications/) ![License](https://img.shields.io/github/license/IvanMurzak/Unity-Mobile-Notifications-Simplifier) [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua) 3 | 4 | Ready to use Android and iOS mobile notification solution based on official Unity Mobile Notifications package. Build on top of [Unity Mobile Notifications](https://docs.unity3d.com/Packages/com.unity.mobile.notifications@1.4/manual/index.html) package. Supported codeless usage if needed but not required. 5 | 6 | ![Config](https://imgur.com/ITn5XUD.png) 7 | 8 | # How to use 9 | ### Option - code 10 | - MobileNotifications.Send for sending notification right now. 11 | - MobileNotifications.Schedule for schedule notification in right moment. 12 | 13 | ### Option - codeless 14 | Add the NotificationSender component to any object in a scene or prefab. Call the function Send or Schedule using Button component for example. 15 | 16 | ![Codeless usage](https://imgur.com/kidklV8.png) 17 | 18 | # How to install - Option 1 (RECOMMENDED) 19 | - Install [ODIN Inspector](https://odininspector.com/) 20 | - Install [OpenUPM-CLI](https://github.com/openupm/openupm-cli#installation) 21 | - Open command line in Unity project folder 22 | - `openupm add extensions.unity.notifications` 23 | 24 | # How to install - Option 2 25 | - Install [ODIN Inspector](https://odininspector.com/) 26 | - Add this code to /Packages/manifest.json 27 | ```json 28 | { 29 | "dependencies": { 30 | "extensions.unity.notifications": "2.0.2", 31 | }, 32 | "scopedRegistries": [ 33 | { 34 | "name": "package.openupm.com", 35 | "url": "https://package.openupm.com", 36 | "scopes": [ 37 | "extensions.unity" 38 | "com.cysharp", 39 | "com.neuecc" 40 | ] 41 | } 42 | ] 43 | } 44 | -------------------------------------------------------------------------------- /UserSettings/EditorUserSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!162 &1 4 | EditorUserSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 4 7 | m_ConfigSettings: 8 | RecentlyUsedScenePath-0: 9 | value: 22424703114646680e0b0227036c6c111b07142f1f2b233e2867083debf42d 10 | flags: 0 11 | vcSharedLogLevel: 12 | value: 0d5e400f0650 13 | flags: 0 14 | m_VCAutomaticAdd: 1 15 | m_VCDebugCom: 0 16 | m_VCDebugCmd: 0 17 | m_VCDebugOut: 0 18 | m_SemanticMergeMode: 2 19 | m_VCShowFailedCheckout: 1 20 | m_VCOverwriteFailedCheckoutAssets: 1 21 | m_VCProjectOverlayIcons: 1 22 | m_VCHierarchyOverlayIcons: 1 23 | m_VCOtherOverlayIcons: 1 24 | m_VCAllowAsyncUpdate: 1 25 | --------------------------------------------------------------------------------