├── .gitignore ├── Assets ├── Prefabs.meta ├── Prefabs │ ├── ScrollingPanel.prefab │ └── ScrollingPanel.prefab.meta ├── Scripts.meta ├── Scripts │ ├── ButtonHandlers.cs │ └── ButtonHandlers.cs.meta ├── _Scenes.meta └── _Scenes │ ├── MainScene.unity │ └── MainScene.unity.meta ├── LICENSE ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset └── UnityConnectSettings.asset ├── README.md ├── SampleScreenShot.png ├── SampleScreenShot2.png └── UWP └── UnityXaml ├── App.xaml.cs ├── MainPage.xaml └── MainPage.xaml.cs /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | ## 4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore 5 | 6 | # User-specific files 7 | *.suo 8 | *.user 9 | *.userosscache 10 | *.sln.docstates 11 | 12 | # User-specific files (MonoDevelop/Xamarin Studio) 13 | *.userprefs 14 | 15 | # Build results 16 | [Dd]ebug/ 17 | [Dd]ebugPublic/ 18 | [Rr]elease/ 19 | [Rr]eleases/ 20 | x64/ 21 | x86/ 22 | bld/ 23 | [Bb]in/ 24 | [Oo]bj/ 25 | [Ll]og/ 26 | 27 | # Visual Studio 2015 cache/options directory 28 | .vs/ 29 | # Uncomment if you have tasks that create the project's static files in wwwroot 30 | #wwwroot/ 31 | 32 | # MSTest test Results 33 | [Tt]est[Rr]esult*/ 34 | [Bb]uild[Ll]og.* 35 | 36 | # NUNIT 37 | *.VisualState.xml 38 | TestResult.xml 39 | 40 | # Build Results of an ATL Project 41 | [Dd]ebugPS/ 42 | [Rr]eleasePS/ 43 | dlldata.c 44 | 45 | # .NET Core 46 | project.lock.json 47 | project.fragment.lock.json 48 | artifacts/ 49 | **/Properties/launchSettings.json 50 | 51 | *_i.c 52 | *_p.c 53 | *_i.h 54 | *.ilk 55 | *.obj 56 | *.pch 57 | *.pdb 58 | *.pgc 59 | *.pgd 60 | *.rsp 61 | *.sbr 62 | *.tlb 63 | *.tli 64 | *.tlh 65 | *.tmp 66 | *.tmp_proj 67 | *.log 68 | *.vspscc 69 | *.vssscc 70 | .builds 71 | *.pidb 72 | *.svclog 73 | *.scc 74 | 75 | # Chutzpah Test files 76 | _Chutzpah* 77 | 78 | # Visual C++ cache files 79 | ipch/ 80 | *.aps 81 | *.ncb 82 | *.opendb 83 | *.opensdf 84 | *.sdf 85 | *.cachefile 86 | *.VC.db 87 | *.VC.VC.opendb 88 | 89 | # Visual Studio profiler 90 | *.psess 91 | *.vsp 92 | *.vspx 93 | *.sap 94 | 95 | # TFS 2012 Local Workspace 96 | $tf/ 97 | 98 | # Guidance Automation Toolkit 99 | *.gpState 100 | 101 | # ReSharper is a .NET coding add-in 102 | _ReSharper*/ 103 | *.[Rr]e[Ss]harper 104 | *.DotSettings.user 105 | 106 | # JustCode is a .NET coding add-in 107 | .JustCode 108 | 109 | # TeamCity is a build add-in 110 | _TeamCity* 111 | 112 | # DotCover is a Code Coverage Tool 113 | *.dotCover 114 | 115 | # Visual Studio code coverage results 116 | *.coverage 117 | *.coveragexml 118 | 119 | # NCrunch 120 | _NCrunch_* 121 | .*crunch*.local.xml 122 | nCrunchTemp_* 123 | 124 | # MightyMoose 125 | *.mm.* 126 | AutoTest.Net/ 127 | 128 | # Web workbench (sass) 129 | .sass-cache/ 130 | 131 | # Installshield output folder 132 | [Ee]xpress/ 133 | 134 | # DocProject is a documentation generator add-in 135 | DocProject/buildhelp/ 136 | DocProject/Help/*.HxT 137 | DocProject/Help/*.HxC 138 | DocProject/Help/*.hhc 139 | DocProject/Help/*.hhk 140 | DocProject/Help/*.hhp 141 | DocProject/Help/Html2 142 | DocProject/Help/html 143 | 144 | # Click-Once directory 145 | publish/ 146 | 147 | # Publish Web Output 148 | *.[Pp]ublish.xml 149 | *.azurePubxml 150 | # TODO: Comment the next line if you want to checkin your web deploy settings 151 | # but database connection strings (with potential passwords) will be unencrypted 152 | *.pubxml 153 | *.publishproj 154 | 155 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 156 | # checkin your Azure Web App publish settings, but sensitive information contained 157 | # in these scripts will be unencrypted 158 | PublishScripts/ 159 | 160 | # NuGet Packages 161 | *.nupkg 162 | # The packages folder can be ignored because of Package Restore 163 | **/packages/* 164 | # except build/, which is used as an MSBuild target. 165 | !**/packages/build/ 166 | # Uncomment if necessary however generally it will be regenerated when needed 167 | #!**/packages/repositories.config 168 | # NuGet v3's project.json files produces more ignorable files 169 | *.nuget.props 170 | *.nuget.targets 171 | 172 | # Microsoft Azure Build Output 173 | csx/ 174 | *.build.csdef 175 | 176 | # Microsoft Azure Emulator 177 | ecf/ 178 | rcf/ 179 | 180 | # Windows Store app package directories and files 181 | AppPackages/ 182 | BundleArtifacts/ 183 | Package.StoreAssociation.xml 184 | _pkginfo.txt 185 | 186 | # Visual Studio cache files 187 | # files ending in .cache can be ignored 188 | *.[Cc]ache 189 | # but keep track of directories ending in .cache 190 | !*.[Cc]ache/ 191 | 192 | # Others 193 | ClientBin/ 194 | ~$* 195 | *~ 196 | *.dbmdl 197 | *.dbproj.schemaview 198 | *.jfm 199 | *.pfx 200 | *.publishsettings 201 | orleans.codegen.cs 202 | 203 | # Since there are multiple workflows, uncomment next line to ignore bower_components 204 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 205 | #bower_components/ 206 | 207 | # RIA/Silverlight projects 208 | Generated_Code/ 209 | 210 | # Backup & report files from converting an old project file 211 | # to a newer Visual Studio version. Backup files are not needed, 212 | # because we have git ;-) 213 | _UpgradeReport_Files/ 214 | Backup*/ 215 | UpgradeLog*.XML 216 | UpgradeLog*.htm 217 | 218 | # SQL Server files 219 | *.mdf 220 | *.ldf 221 | *.ndf 222 | 223 | # Business Intelligence projects 224 | *.rdl.data 225 | *.bim.layout 226 | *.bim_*.settings 227 | 228 | # Microsoft Fakes 229 | FakesAssemblies/ 230 | 231 | # GhostDoc plugin setting file 232 | *.GhostDoc.xml 233 | 234 | # Node.js Tools for Visual Studio 235 | .ntvs_analysis.dat 236 | node_modules/ 237 | 238 | # Typescript v1 declaration files 239 | typings/ 240 | 241 | # Visual Studio 6 build log 242 | *.plg 243 | 244 | # Visual Studio 6 workspace options file 245 | *.opt 246 | 247 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.) 248 | *.vbw 249 | 250 | # Visual Studio LightSwitch build output 251 | **/*.HTMLClient/GeneratedArtifacts 252 | **/*.DesktopClient/GeneratedArtifacts 253 | **/*.DesktopClient/ModelManifest.xml 254 | **/*.Server/GeneratedArtifacts 255 | **/*.Server/ModelManifest.xml 256 | _Pvt_Extensions 257 | 258 | # Paket dependency manager 259 | .paket/paket.exe 260 | paket-files/ 261 | 262 | # FAKE - F# Make 263 | .fake/ 264 | 265 | # JetBrains Rider 266 | .idea/ 267 | *.sln.iml 268 | 269 | # CodeRush 270 | .cr/ 271 | 272 | # Python Tools for Visual Studio (PTVS) 273 | __pycache__/ 274 | *.pyc 275 | 276 | # Cake - Uncomment if you are using it 277 | # tools/** 278 | # !tools/packages.config 279 | 280 | # Telerik's JustMock configuration file 281 | *.jmconfig 282 | 283 | # BizTalk build output 284 | *.btp.cs 285 | *.btm.cs 286 | *.odx.cs 287 | *.xsd.cs 288 | 289 | # unity files 290 | UnityPackageManager/ 291 | Library/ 292 | .collabignore 293 | UnityXaml.csproj 294 | UnityXaml.sln 295 | /UWP/UnityXaml/Unprocessed 296 | /UWP/UnityXaml/Properties 297 | /UWP/UnityXaml/Data 298 | /Temp 299 | /UWP/GeneratedProjects/UWP/Assembly-CSharp 300 | /UWP/Unity/Tools 301 | /UWP/UnityXaml/Assets 302 | /UWP/UnityXaml/Assembly-CSharp.dll 303 | /UWP/UnityXaml/App.xaml 304 | /UWP/UnityXaml/WinRTLegacy.dll 305 | /UWP/UnityXaml/UnityGenerated.cs 306 | /UWP/UnityXaml/UnityEngine.WindModule.dll 307 | /UWP/UnityXaml/UnityEngine.WebModule.dll 308 | /UWP/UnityXaml/UnityEngine.VRModule.dll 309 | /UWP/UnityXaml/UnityEngine.VideoModule.dll 310 | /UWP/UnityXaml/UnityEngine.VehiclesModule.dll 311 | /UWP/UnityXaml/UnityEngine.UnityWebRequestWWWModule.dll 312 | /UWP/UnityXaml/UnityEngine.UnityWebRequestTextureModule.dll 313 | /UWP/UnityXaml/UnityEngine.UnityWebRequestModule.dll 314 | /UWP/UnityXaml/UnityEngine.UnityWebRequestAudioModule.dll 315 | /UWP/UnityXaml/UnityEngine.UnityConnectModule.dll 316 | /UWP/UnityXaml/UnityEngine.UnityAnalyticsModule.dll 317 | /UWP/UnityXaml/UnityEngine.UNETModule.dll 318 | /UWP/UnityXaml/UnityEngine.UIModule.dll 319 | /UWP/UnityXaml/UnityEngine.UIElementsModule.dll 320 | /UWP/UnityXaml/UnityEngine.UI.dll 321 | /UWP/UnityXaml/UnityEngine.Timeline.dll 322 | /UWP/UnityXaml/UnityEngine.TilemapModule.dll 323 | /UWP/UnityXaml/UnityEngine.TextRenderingModule.dll 324 | /UWP/UnityXaml/UnityEngine.TerrainPhysicsModule.dll 325 | /UWP/UnityXaml/UnityEngine.TerrainModule.dll 326 | /UWP/UnityXaml/UnityEngine.StyleSheetsModule.dll 327 | /UWP/UnityXaml/UnityEngine.StandardEvents.dll 328 | /UWP/UnityXaml/UnityEngine.SpriteShapeModule.dll 329 | /UWP/UnityXaml/UnityEngine.SpriteMaskModule.dll 330 | /UWP/UnityXaml/UnityEngine.SharedInternalsModule.dll 331 | /UWP/UnityXaml/UnityEngine.ScreenCaptureModule.dll 332 | /UWP/UnityXaml/UnityEngine.PhysicsModule.dll 333 | /UWP/UnityXaml/UnityEngine.Physics2DModule.dll 334 | /UWP/UnityXaml/UnityEngine.PerformanceReportingModule.dll 335 | /UWP/UnityXaml/UnityEngine.ParticleSystemModule.dll 336 | /UWP/UnityXaml/UnityEngine.ParticlesLegacyModule.dll 337 | /UWP/UnityXaml/UnityEngine.Networking.dll 338 | /UWP/UnityXaml/UnityEngine.JSONSerializeModule.dll 339 | /UWP/UnityXaml/UnityEngine.InputModule.dll 340 | /UWP/UnityXaml/UnityEngine.IMGUIModule.dll 341 | /UWP/UnityXaml/UnityEngine.ImageConversionModule.dll 342 | /UWP/UnityXaml/UnityEngine.HoloLens.dll 343 | /UWP/UnityXaml/UnityEngine.GridModule.dll 344 | /UWP/UnityXaml/UnityEngine.GameCenterModule.dll 345 | /UWP/UnityXaml/UnityEngine.dll 346 | /UWP/UnityXaml/UnityEngine.DirectorModule.dll 347 | /UWP/UnityXaml/UnityEngine.CrashReportingModule.dll 348 | /UWP/UnityXaml/UnityEngine.CoreModule.dll 349 | /UWP/UnityXaml/UnityEngine.ClothModule.dll 350 | /UWP/UnityXaml/UnityEngine.AudioModule.dll 351 | /UWP/UnityXaml/UnityEngine.AssetBundleModule.dll 352 | /UWP/UnityXaml/UnityEngine.ARModule.dll 353 | /UWP/UnityXaml/UnityEngine.AnimationModule.dll 354 | /UWP/UnityXaml/UnityEngine.Analytics.dll 355 | /UWP/UnityXaml/UnityEngine.AIModule.dll 356 | /UWP/UnityXaml/UnityEngine.AccessibilityModule.dll 357 | /UWP/UnityXaml/Resource.res 358 | /UWP/UnityXaml/project.json 359 | /UWP/UnityXaml/Package.appxmanifest 360 | /UWP/UnityXaml/nunit.framework.dll 361 | /UWP/UnityOverwrite.txt 362 | /UWP/UnityCommon.props 363 | /UWP/project.json 364 | -------------------------------------------------------------------------------- /Assets/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 653e8b321365d3c42acf723c18ea7a68 3 | folderAsset: yes 4 | timeCreated: 1516920353 5 | licenseType: Free 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Prefabs/ScrollingPanel.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1001 &100100000 4 | Prefab: 5 | m_ObjectHideFlags: 1 6 | serializedVersion: 2 7 | m_Modification: 8 | m_TransformParent: {fileID: 0} 9 | m_Modifications: [] 10 | m_RemovedComponents: [] 11 | m_ParentPrefab: {fileID: 0} 12 | m_RootGameObject: {fileID: 1221313789203794} 13 | m_IsPrefabParent: 1 14 | --- !u!1 &1085175058570606 15 | GameObject: 16 | m_ObjectHideFlags: 1 17 | m_PrefabParentObject: {fileID: 0} 18 | m_PrefabInternal: {fileID: 100100000} 19 | serializedVersion: 5 20 | m_Component: 21 | - component: {fileID: 224962216077738760} 22 | m_Layer: 5 23 | m_Name: Sliding Area 24 | m_TagString: Untagged 25 | m_Icon: {fileID: 0} 26 | m_NavMeshLayer: 0 27 | m_StaticEditorFlags: 0 28 | m_IsActive: 1 29 | --- !u!1 &1128163251680676 30 | GameObject: 31 | m_ObjectHideFlags: 1 32 | m_PrefabParentObject: {fileID: 0} 33 | m_PrefabInternal: {fileID: 100100000} 34 | serializedVersion: 5 35 | m_Component: 36 | - component: {fileID: 224535245524441664} 37 | - component: {fileID: 114803844386810734} 38 | - component: {fileID: 222145713433161380} 39 | - component: {fileID: 114215254887717018} 40 | m_Layer: 5 41 | m_Name: FeedbackText 42 | m_TagString: Untagged 43 | m_Icon: {fileID: 0} 44 | m_NavMeshLayer: 0 45 | m_StaticEditorFlags: 0 46 | m_IsActive: 1 47 | --- !u!1 &1221313789203794 48 | GameObject: 49 | m_ObjectHideFlags: 0 50 | m_PrefabParentObject: {fileID: 0} 51 | m_PrefabInternal: {fileID: 100100000} 52 | serializedVersion: 5 53 | m_Component: 54 | - component: {fileID: 224828610379717254} 55 | - component: {fileID: 222587946782766198} 56 | - component: {fileID: 114617899485808698} 57 | m_Layer: 5 58 | m_Name: ScrollingPanel 59 | m_TagString: Untagged 60 | m_Icon: {fileID: 0} 61 | m_NavMeshLayer: 0 62 | m_StaticEditorFlags: 0 63 | m_IsActive: 1 64 | --- !u!1 &1308429184167550 65 | GameObject: 66 | m_ObjectHideFlags: 0 67 | m_PrefabParentObject: {fileID: 0} 68 | m_PrefabInternal: {fileID: 100100000} 69 | serializedVersion: 5 70 | m_Component: 71 | - component: {fileID: 224411733397073512} 72 | - component: {fileID: 222227375148220116} 73 | - component: {fileID: 114197522214241358} 74 | - component: {fileID: 114196574971625008} 75 | m_Layer: 5 76 | m_Name: Scrollbar 77 | m_TagString: Untagged 78 | m_Icon: {fileID: 0} 79 | m_NavMeshLayer: 0 80 | m_StaticEditorFlags: 0 81 | m_IsActive: 1 82 | --- !u!1 &1535326549610770 83 | GameObject: 84 | m_ObjectHideFlags: 1 85 | m_PrefabParentObject: {fileID: 0} 86 | m_PrefabInternal: {fileID: 100100000} 87 | serializedVersion: 5 88 | m_Component: 89 | - component: {fileID: 224810234118823114} 90 | - component: {fileID: 222918653355321826} 91 | - component: {fileID: 114007135216541326} 92 | m_Layer: 5 93 | m_Name: Handle 94 | m_TagString: Untagged 95 | m_Icon: {fileID: 0} 96 | m_NavMeshLayer: 0 97 | m_StaticEditorFlags: 0 98 | m_IsActive: 1 99 | --- !u!1 &1813095578599906 100 | GameObject: 101 | m_ObjectHideFlags: 0 102 | m_PrefabParentObject: {fileID: 0} 103 | m_PrefabInternal: {fileID: 100100000} 104 | serializedVersion: 5 105 | m_Component: 106 | - component: {fileID: 224002574455512854} 107 | - component: {fileID: 222923070172418464} 108 | - component: {fileID: 114852416946645514} 109 | - component: {fileID: 114497449839692252} 110 | - component: {fileID: 114652865290502304} 111 | m_Layer: 5 112 | m_Name: Panel-ScrollRect 113 | m_TagString: Untagged 114 | m_Icon: {fileID: 0} 115 | m_NavMeshLayer: 0 116 | m_StaticEditorFlags: 0 117 | m_IsActive: 1 118 | --- !u!114 &114007135216541326 119 | MonoBehaviour: 120 | m_ObjectHideFlags: 1 121 | m_PrefabParentObject: {fileID: 0} 122 | m_PrefabInternal: {fileID: 100100000} 123 | m_GameObject: {fileID: 1535326549610770} 124 | m_Enabled: 1 125 | m_EditorHideFlags: 0 126 | m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 127 | m_Name: 128 | m_EditorClassIdentifier: 129 | m_Material: {fileID: 0} 130 | m_Color: {r: 1, g: 1, b: 1, a: 1} 131 | m_RaycastTarget: 1 132 | m_OnCullStateChanged: 133 | m_PersistentCalls: 134 | m_Calls: [] 135 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 136 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 137 | m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} 138 | m_Type: 1 139 | m_PreserveAspect: 0 140 | m_FillCenter: 1 141 | m_FillMethod: 4 142 | m_FillAmount: 1 143 | m_FillClockwise: 1 144 | m_FillOrigin: 0 145 | --- !u!114 &114196574971625008 146 | MonoBehaviour: 147 | m_ObjectHideFlags: 1 148 | m_PrefabParentObject: {fileID: 0} 149 | m_PrefabInternal: {fileID: 100100000} 150 | m_GameObject: {fileID: 1308429184167550} 151 | m_Enabled: 1 152 | m_EditorHideFlags: 0 153 | m_Script: {fileID: -2061169968, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 154 | m_Name: 155 | m_EditorClassIdentifier: 156 | m_Navigation: 157 | m_Mode: 3 158 | m_SelectOnUp: {fileID: 0} 159 | m_SelectOnDown: {fileID: 0} 160 | m_SelectOnLeft: {fileID: 0} 161 | m_SelectOnRight: {fileID: 0} 162 | m_Transition: 1 163 | m_Colors: 164 | m_NormalColor: {r: 1, g: 1, b: 1, a: 1} 165 | m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 166 | m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} 167 | m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} 168 | m_ColorMultiplier: 1 169 | m_FadeDuration: 0.1 170 | m_SpriteState: 171 | m_HighlightedSprite: {fileID: 0} 172 | m_PressedSprite: {fileID: 0} 173 | m_DisabledSprite: {fileID: 0} 174 | m_AnimationTriggers: 175 | m_NormalTrigger: Normal 176 | m_HighlightedTrigger: Highlighted 177 | m_PressedTrigger: Pressed 178 | m_DisabledTrigger: Disabled 179 | m_Interactable: 1 180 | m_TargetGraphic: {fileID: 114007135216541326} 181 | m_HandleRect: {fileID: 224810234118823114} 182 | m_Direction: 2 183 | m_Value: 0 184 | m_Size: 0.99999994 185 | m_NumberOfSteps: 0 186 | m_OnValueChanged: 187 | m_PersistentCalls: 188 | m_Calls: [] 189 | m_TypeName: UnityEngine.UI.Scrollbar+ScrollEvent, UnityEngine.UI, Version=1.0.0.0, 190 | Culture=neutral, PublicKeyToken=null 191 | --- !u!114 &114197522214241358 192 | MonoBehaviour: 193 | m_ObjectHideFlags: 1 194 | m_PrefabParentObject: {fileID: 0} 195 | m_PrefabInternal: {fileID: 100100000} 196 | m_GameObject: {fileID: 1308429184167550} 197 | m_Enabled: 1 198 | m_EditorHideFlags: 0 199 | m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 200 | m_Name: 201 | m_EditorClassIdentifier: 202 | m_Material: {fileID: 0} 203 | m_Color: {r: 1, g: 1, b: 1, a: 1} 204 | m_RaycastTarget: 1 205 | m_OnCullStateChanged: 206 | m_PersistentCalls: 207 | m_Calls: [] 208 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 209 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 210 | m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} 211 | m_Type: 1 212 | m_PreserveAspect: 0 213 | m_FillCenter: 1 214 | m_FillMethod: 4 215 | m_FillAmount: 1 216 | m_FillClockwise: 1 217 | m_FillOrigin: 0 218 | --- !u!114 &114215254887717018 219 | MonoBehaviour: 220 | m_ObjectHideFlags: 1 221 | m_PrefabParentObject: {fileID: 0} 222 | m_PrefabInternal: {fileID: 100100000} 223 | m_GameObject: {fileID: 1128163251680676} 224 | m_Enabled: 1 225 | m_EditorHideFlags: 0 226 | m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} 227 | m_Name: 228 | m_EditorClassIdentifier: 229 | m_Material: {fileID: 0} 230 | m_Color: {r: 1, g: 1, b: 1, a: 1} 231 | m_RaycastTarget: 1 232 | m_OnCullStateChanged: 233 | m_PersistentCalls: 234 | m_Calls: [] 235 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 236 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 237 | m_FontData: 238 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 239 | m_FontSize: 14 240 | m_FontStyle: 0 241 | m_BestFit: 0 242 | m_MinSize: 10 243 | m_MaxSize: 40 244 | m_Alignment: 0 245 | m_AlignByGeometry: 0 246 | m_RichText: 1 247 | m_HorizontalOverflow: 0 248 | m_VerticalOverflow: 0 249 | m_LineSpacing: 1 250 | m_Text: Default Text 251 | --- !u!114 &114497449839692252 252 | MonoBehaviour: 253 | m_ObjectHideFlags: 1 254 | m_PrefabParentObject: {fileID: 0} 255 | m_PrefabInternal: {fileID: 100100000} 256 | m_GameObject: {fileID: 1813095578599906} 257 | m_Enabled: 1 258 | m_EditorHideFlags: 0 259 | m_Script: {fileID: 1367256648, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 260 | m_Name: 261 | m_EditorClassIdentifier: 262 | m_Content: {fileID: 224535245524441664} 263 | m_Horizontal: 0 264 | m_Vertical: 1 265 | m_MovementType: 1 266 | m_Elasticity: 0.1 267 | m_Inertia: 1 268 | m_DecelerationRate: 0.135 269 | m_ScrollSensitivity: 1 270 | m_Viewport: {fileID: 0} 271 | m_HorizontalScrollbar: {fileID: 0} 272 | m_VerticalScrollbar: {fileID: 114196574971625008} 273 | m_HorizontalScrollbarVisibility: 0 274 | m_VerticalScrollbarVisibility: 0 275 | m_HorizontalScrollbarSpacing: 0 276 | m_VerticalScrollbarSpacing: 0 277 | m_OnValueChanged: 278 | m_PersistentCalls: 279 | m_Calls: [] 280 | m_TypeName: UnityEngine.UI.ScrollRect+ScrollRectEvent, UnityEngine.UI, Version=1.0.0.0, 281 | Culture=neutral, PublicKeyToken=null 282 | --- !u!114 &114617899485808698 283 | MonoBehaviour: 284 | m_ObjectHideFlags: 1 285 | m_PrefabParentObject: {fileID: 0} 286 | m_PrefabInternal: {fileID: 100100000} 287 | m_GameObject: {fileID: 1221313789203794} 288 | m_Enabled: 1 289 | m_EditorHideFlags: 0 290 | m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 291 | m_Name: 292 | m_EditorClassIdentifier: 293 | m_Material: {fileID: 0} 294 | m_Color: {r: 0, g: 0, b: 0, a: 1} 295 | m_RaycastTarget: 1 296 | m_OnCullStateChanged: 297 | m_PersistentCalls: 298 | m_Calls: [] 299 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 300 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 301 | m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} 302 | m_Type: 1 303 | m_PreserveAspect: 0 304 | m_FillCenter: 1 305 | m_FillMethod: 4 306 | m_FillAmount: 1 307 | m_FillClockwise: 1 308 | m_FillOrigin: 0 309 | --- !u!114 &114652865290502304 310 | MonoBehaviour: 311 | m_ObjectHideFlags: 1 312 | m_PrefabParentObject: {fileID: 0} 313 | m_PrefabInternal: {fileID: 100100000} 314 | m_GameObject: {fileID: 1813095578599906} 315 | m_Enabled: 1 316 | m_EditorHideFlags: 0 317 | m_Script: {fileID: -1200242548, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 318 | m_Name: 319 | m_EditorClassIdentifier: 320 | m_ShowMaskGraphic: 1 321 | --- !u!114 &114803844386810734 322 | MonoBehaviour: 323 | m_ObjectHideFlags: 1 324 | m_PrefabParentObject: {fileID: 0} 325 | m_PrefabInternal: {fileID: 100100000} 326 | m_GameObject: {fileID: 1128163251680676} 327 | m_Enabled: 1 328 | m_EditorHideFlags: 0 329 | m_Script: {fileID: 1741964061, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 330 | m_Name: 331 | m_EditorClassIdentifier: 332 | m_HorizontalFit: 0 333 | m_VerticalFit: 2 334 | --- !u!114 &114852416946645514 335 | MonoBehaviour: 336 | m_ObjectHideFlags: 1 337 | m_PrefabParentObject: {fileID: 0} 338 | m_PrefabInternal: {fileID: 100100000} 339 | m_GameObject: {fileID: 1813095578599906} 340 | m_Enabled: 1 341 | m_EditorHideFlags: 0 342 | m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 343 | m_Name: 344 | m_EditorClassIdentifier: 345 | m_Material: {fileID: 0} 346 | m_Color: {r: 1, g: 1, b: 1, a: 0.392} 347 | m_RaycastTarget: 1 348 | m_OnCullStateChanged: 349 | m_PersistentCalls: 350 | m_Calls: [] 351 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 352 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 353 | m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} 354 | m_Type: 1 355 | m_PreserveAspect: 0 356 | m_FillCenter: 1 357 | m_FillMethod: 4 358 | m_FillAmount: 1 359 | m_FillClockwise: 1 360 | m_FillOrigin: 0 361 | --- !u!222 &222145713433161380 362 | CanvasRenderer: 363 | m_ObjectHideFlags: 1 364 | m_PrefabParentObject: {fileID: 0} 365 | m_PrefabInternal: {fileID: 100100000} 366 | m_GameObject: {fileID: 1128163251680676} 367 | --- !u!222 &222227375148220116 368 | CanvasRenderer: 369 | m_ObjectHideFlags: 1 370 | m_PrefabParentObject: {fileID: 0} 371 | m_PrefabInternal: {fileID: 100100000} 372 | m_GameObject: {fileID: 1308429184167550} 373 | --- !u!222 &222587946782766198 374 | CanvasRenderer: 375 | m_ObjectHideFlags: 1 376 | m_PrefabParentObject: {fileID: 0} 377 | m_PrefabInternal: {fileID: 100100000} 378 | m_GameObject: {fileID: 1221313789203794} 379 | --- !u!222 &222918653355321826 380 | CanvasRenderer: 381 | m_ObjectHideFlags: 1 382 | m_PrefabParentObject: {fileID: 0} 383 | m_PrefabInternal: {fileID: 100100000} 384 | m_GameObject: {fileID: 1535326549610770} 385 | --- !u!222 &222923070172418464 386 | CanvasRenderer: 387 | m_ObjectHideFlags: 1 388 | m_PrefabParentObject: {fileID: 0} 389 | m_PrefabInternal: {fileID: 100100000} 390 | m_GameObject: {fileID: 1813095578599906} 391 | --- !u!224 &224002574455512854 392 | RectTransform: 393 | m_ObjectHideFlags: 1 394 | m_PrefabParentObject: {fileID: 0} 395 | m_PrefabInternal: {fileID: 100100000} 396 | m_GameObject: {fileID: 1813095578599906} 397 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 398 | m_LocalPosition: {x: -4.1999817, y: 194.96796, z: 0} 399 | m_LocalScale: {x: 1, y: 1, z: 1} 400 | m_Children: 401 | - {fileID: 224535245524441664} 402 | m_Father: {fileID: 224828610379717254} 403 | m_RootOrder: 1 404 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 405 | m_AnchorMin: {x: 0.010498356, y: 0.01622642} 406 | m_AnchorMax: {x: 0.9755017, y: 0.9874199} 407 | m_AnchoredPosition: {x: 0, y: 0} 408 | m_SizeDelta: {x: 0, y: 0} 409 | m_Pivot: {x: 0.5, y: 1} 410 | --- !u!224 &224411733397073512 411 | RectTransform: 412 | m_ObjectHideFlags: 1 413 | m_PrefabParentObject: {fileID: 0} 414 | m_PrefabInternal: {fileID: 100100000} 415 | m_GameObject: {fileID: 1308429184167550} 416 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 417 | m_LocalPosition: {x: 300, y: 0, z: 0} 418 | m_LocalScale: {x: 1, y: 1, z: 1} 419 | m_Children: 420 | - {fileID: 224962216077738760} 421 | m_Father: {fileID: 224828610379717254} 422 | m_RootOrder: 0 423 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 424 | m_AnchorMin: {x: 1, y: 0} 425 | m_AnchorMax: {x: 1, y: 1} 426 | m_AnchoredPosition: {x: 0, y: 0} 427 | m_SizeDelta: {x: 15, y: 0} 428 | m_Pivot: {x: 0.5, y: 0.5} 429 | --- !u!224 &224535245524441664 430 | RectTransform: 431 | m_ObjectHideFlags: 1 432 | m_PrefabParentObject: {fileID: 0} 433 | m_PrefabInternal: {fileID: 100100000} 434 | m_GameObject: {fileID: 1128163251680676} 435 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 436 | m_LocalPosition: {x: 0, y: -194.23866, z: 0} 437 | m_LocalScale: {x: 1, y: 1, z: 1} 438 | m_Children: [] 439 | m_Father: {fileID: 224002574455512854} 440 | m_RootOrder: 0 441 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 442 | m_AnchorMin: {x: 0, y: 0} 443 | m_AnchorMax: {x: 1, y: 1} 444 | m_AnchoredPosition: {x: 0, y: 0.000015258789} 445 | m_SizeDelta: {x: 0, y: -372.4774} 446 | m_Pivot: {x: 0.5, y: 0.5} 447 | --- !u!224 &224810234118823114 448 | RectTransform: 449 | m_ObjectHideFlags: 1 450 | m_PrefabParentObject: {fileID: 0} 451 | m_PrefabInternal: {fileID: 100100000} 452 | m_GameObject: {fileID: 1535326549610770} 453 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 454 | m_LocalPosition: {x: 0, y: 0, z: 0} 455 | m_LocalScale: {x: 1, y: 1, z: 1} 456 | m_Children: [] 457 | m_Father: {fileID: 224962216077738760} 458 | m_RootOrder: 0 459 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 460 | m_AnchorMin: {x: 0, y: 0} 461 | m_AnchorMax: {x: 1, y: 1} 462 | m_AnchoredPosition: {x: 0, y: 0} 463 | m_SizeDelta: {x: 20, y: 20} 464 | m_Pivot: {x: 0.5, y: 0.5} 465 | --- !u!224 &224828610379717254 466 | RectTransform: 467 | m_ObjectHideFlags: 1 468 | m_PrefabParentObject: {fileID: 0} 469 | m_PrefabInternal: {fileID: 100100000} 470 | m_GameObject: {fileID: 1221313789203794} 471 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 472 | m_LocalPosition: {x: 250, y: -25, z: 0} 473 | m_LocalScale: {x: 1, y: 1, z: 1} 474 | m_Children: 475 | - {fileID: 224411733397073512} 476 | - {fileID: 224002574455512854} 477 | m_Father: {fileID: 0} 478 | m_RootOrder: 0 479 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 480 | m_AnchorMin: {x: 0.5, y: 0.5} 481 | m_AnchorMax: {x: 0.5, y: 0.5} 482 | m_AnchoredPosition: {x: 250, y: -25} 483 | m_SizeDelta: {x: 600, y: 400} 484 | m_Pivot: {x: 0.5, y: 0.5} 485 | --- !u!224 &224962216077738760 486 | RectTransform: 487 | m_ObjectHideFlags: 1 488 | m_PrefabParentObject: {fileID: 0} 489 | m_PrefabInternal: {fileID: 100100000} 490 | m_GameObject: {fileID: 1085175058570606} 491 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 492 | m_LocalPosition: {x: 0, y: 0, z: 0} 493 | m_LocalScale: {x: 1, y: 1, z: 1} 494 | m_Children: 495 | - {fileID: 224810234118823114} 496 | m_Father: {fileID: 224411733397073512} 497 | m_RootOrder: 0 498 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 499 | m_AnchorMin: {x: 0, y: 0} 500 | m_AnchorMax: {x: 1, y: 1} 501 | m_AnchoredPosition: {x: 0, y: 0} 502 | m_SizeDelta: {x: -20, y: -20} 503 | m_Pivot: {x: 0.5, y: 0.5} 504 | -------------------------------------------------------------------------------- /Assets/Prefabs/ScrollingPanel.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5e42eaa4d8c6d50408d990d4ab1e3a59 3 | timeCreated: 1516920361 4 | licenseType: Free 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 0 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8fba6abeebea1ed40867e8a26a27868b 3 | folderAsset: yes 4 | timeCreated: 1516920353 5 | licenseType: Free 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Scripts/ButtonHandlers.cs: -------------------------------------------------------------------------------- 1 | // ****************************************************************** 2 | // Copyright (c) Microsoft. All rights reserved. 3 | // This code is licensed under the MIT License (MIT). 4 | // THE CODE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 5 | // INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 6 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 7 | // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 8 | // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 9 | // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH 10 | // THE CODE OR THE USE OR OTHER DEALINGS IN THE CODE. 11 | // ****************************************************************** 12 | 13 | using System; 14 | using System.Collections.Generic; 15 | using UnityEngine; 16 | using UnityEngine.UI; 17 | 18 | public class ButtonHandlers : MonoBehaviour { 19 | 20 | public delegate void OnEvent(object arg); 21 | 22 | public OnEvent onEvent = null; 23 | 24 | public readonly static Queue ExecuteOnMainThread = new Queue(); 25 | 26 | private Text feedbackText; 27 | private ScrollRect scrollRect; 28 | private List feedbackMsgs; 29 | 30 | // Use this for initialization 31 | void Start () { 32 | feedbackMsgs = new List(); 33 | 34 | feedbackText = GameObject.Find("FeedbackText").GetComponent(); 35 | scrollRect = GameObject.Find("Panel-ScrollRect").GetComponent(); 36 | 37 | feedbackText.text = "Start of run.\n"; 38 | } 39 | 40 | // Update is called once per frame 41 | void Update () { 42 | while (feedbackMsgs.Count > 0) 43 | { 44 | _ShowFeedback(feedbackMsgs[0]); 45 | feedbackMsgs.RemoveAt(0); 46 | } 47 | 48 | } 49 | 50 | public void OnSendDataToXamlClicked() 51 | { 52 | ShowFeedback("OnSendDataToXamlClicked"); 53 | 54 | if (onEvent != null) 55 | onEvent(this); 56 | 57 | #if UNITY_WSA_10_0 && !UNITY_EDITOR 58 | //if (ble == null) 59 | // ble = BluetoothLEHelper.Instance; 60 | //ble.StartEnumeration(); 61 | #endif 62 | } 63 | 64 | void _ShowFeedback(string msg) 65 | { 66 | System.Diagnostics.Debug.WriteLine(msg); 67 | feedbackText.text += msg + "\n"; 68 | 69 | Canvas.ForceUpdateCanvases(); 70 | scrollRect.verticalNormalizedPosition = 0f; 71 | Canvas.ForceUpdateCanvases(); 72 | } 73 | 74 | 75 | public void ShowFeedback(string msg) 76 | { 77 | feedbackMsgs.Add(msg); 78 | } 79 | 80 | } 81 | -------------------------------------------------------------------------------- /Assets/Scripts/ButtonHandlers.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1a06b83a3bda1814c9a1ba814dbde977 3 | timeCreated: 1516920357 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/_Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2bb16306198da4844a8715a852bc403e 3 | folderAsset: yes 4 | timeCreated: 1516920353 5 | licenseType: Free 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/_Scenes/MainScene.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: 8 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 0 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 128 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 0} 41 | m_IndirectSpecularColor: {r: 0.37311992, g: 0.38074034, b: 0.35872713, a: 1} 42 | --- !u!157 &3 43 | LightmapSettings: 44 | m_ObjectHideFlags: 0 45 | serializedVersion: 11 46 | m_GIWorkflowMode: 0 47 | m_GISettings: 48 | serializedVersion: 2 49 | m_BounceScale: 1 50 | m_IndirectOutputScale: 1 51 | m_AlbedoBoost: 1 52 | m_TemporalCoherenceThreshold: 1 53 | m_EnvironmentLightingMode: 0 54 | m_EnableBakedLightmaps: 1 55 | m_EnableRealtimeLightmaps: 1 56 | m_LightmapEditorSettings: 57 | serializedVersion: 9 58 | m_Resolution: 2 59 | m_BakeResolution: 40 60 | m_TextureWidth: 1024 61 | m_TextureHeight: 1024 62 | m_AO: 0 63 | m_AOMaxDistance: 1 64 | m_CompAOExponent: 1 65 | m_CompAOExponentDirect: 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_PVRFilterTypeDirect: 0 81 | m_PVRFilterTypeIndirect: 0 82 | m_PVRFilterTypeAO: 0 83 | m_PVRFilteringMode: 1 84 | m_PVRCulling: 1 85 | m_PVRFilteringGaussRadiusDirect: 1 86 | m_PVRFilteringGaussRadiusIndirect: 5 87 | m_PVRFilteringGaussRadiusAO: 2 88 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 89 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 90 | m_PVRFilteringAtrousPositionSigmaAO: 1 91 | m_ShowResolutionOverlay: 1 92 | m_LightingDataAsset: {fileID: 0} 93 | m_UseShadowmask: 1 94 | --- !u!196 &4 95 | NavMeshSettings: 96 | serializedVersion: 2 97 | m_ObjectHideFlags: 0 98 | m_BuildSettings: 99 | serializedVersion: 2 100 | agentTypeID: 0 101 | agentRadius: 0.5 102 | agentHeight: 2 103 | agentSlope: 45 104 | agentClimb: 0.4 105 | ledgeDropHeight: 0 106 | maxJumpAcrossDistance: 0 107 | minRegionArea: 2 108 | manualCellSize: 0 109 | cellSize: 0.16666667 110 | manualTileSize: 0 111 | tileSize: 256 112 | accuratePlacement: 0 113 | debug: 114 | m_Flags: 0 115 | m_NavMeshData: {fileID: 0} 116 | --- !u!1 &353827494 117 | GameObject: 118 | m_ObjectHideFlags: 0 119 | m_PrefabParentObject: {fileID: 0} 120 | m_PrefabInternal: {fileID: 0} 121 | serializedVersion: 5 122 | m_Component: 123 | - component: {fileID: 353827498} 124 | - component: {fileID: 353827497} 125 | - component: {fileID: 353827496} 126 | - component: {fileID: 353827495} 127 | - component: {fileID: 353827499} 128 | m_Layer: 5 129 | m_Name: Camera 130 | m_TagString: MainCamera 131 | m_Icon: {fileID: 0} 132 | m_NavMeshLayer: 0 133 | m_StaticEditorFlags: 0 134 | m_IsActive: 1 135 | --- !u!81 &353827495 136 | AudioListener: 137 | m_ObjectHideFlags: 0 138 | m_PrefabParentObject: {fileID: 0} 139 | m_PrefabInternal: {fileID: 0} 140 | m_GameObject: {fileID: 353827494} 141 | m_Enabled: 1 142 | --- !u!124 &353827496 143 | Behaviour: 144 | m_ObjectHideFlags: 0 145 | m_PrefabParentObject: {fileID: 0} 146 | m_PrefabInternal: {fileID: 0} 147 | m_GameObject: {fileID: 353827494} 148 | m_Enabled: 1 149 | --- !u!20 &353827497 150 | Camera: 151 | m_ObjectHideFlags: 0 152 | m_PrefabParentObject: {fileID: 0} 153 | m_PrefabInternal: {fileID: 0} 154 | m_GameObject: {fileID: 353827494} 155 | m_Enabled: 1 156 | serializedVersion: 2 157 | m_ClearFlags: 1 158 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 159 | m_NormalizedViewPortRect: 160 | serializedVersion: 2 161 | x: 0 162 | y: 0 163 | width: 1 164 | height: 1 165 | near clip plane: 0.3 166 | far clip plane: 1000 167 | field of view: 60 168 | orthographic: 0 169 | orthographic size: 5 170 | m_Depth: -1 171 | m_CullingMask: 172 | serializedVersion: 2 173 | m_Bits: 4294967295 174 | m_RenderingPath: -1 175 | m_TargetTexture: {fileID: 0} 176 | m_TargetDisplay: 0 177 | m_TargetEye: 3 178 | m_HDR: 1 179 | m_AllowMSAA: 1 180 | m_AllowDynamicResolution: 0 181 | m_ForceIntoRT: 0 182 | m_OcclusionCulling: 1 183 | m_StereoConvergence: 10 184 | m_StereoSeparation: 0.022 185 | --- !u!4 &353827498 186 | Transform: 187 | m_ObjectHideFlags: 0 188 | m_PrefabParentObject: {fileID: 0} 189 | m_PrefabInternal: {fileID: 0} 190 | m_GameObject: {fileID: 353827494} 191 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 192 | m_LocalPosition: {x: 569, y: 298, z: 0} 193 | m_LocalScale: {x: 1, y: 1, z: 1} 194 | m_Children: [] 195 | m_Father: {fileID: 0} 196 | m_RootOrder: 0 197 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 198 | --- !u!114 &353827499 199 | MonoBehaviour: 200 | m_ObjectHideFlags: 0 201 | m_PrefabParentObject: {fileID: 0} 202 | m_PrefabInternal: {fileID: 0} 203 | m_GameObject: {fileID: 353827494} 204 | m_Enabled: 1 205 | m_EditorHideFlags: 0 206 | m_Script: {fileID: 11500000, guid: 1a06b83a3bda1814c9a1ba814dbde977, type: 3} 207 | m_Name: 208 | m_EditorClassIdentifier: 209 | --- !u!1 &667309234 210 | GameObject: 211 | m_ObjectHideFlags: 0 212 | m_PrefabParentObject: {fileID: 0} 213 | m_PrefabInternal: {fileID: 0} 214 | serializedVersion: 5 215 | m_Component: 216 | - component: {fileID: 667309238} 217 | - component: {fileID: 667309237} 218 | - component: {fileID: 667309236} 219 | - component: {fileID: 667309235} 220 | m_Layer: 5 221 | m_Name: Canvas 222 | m_TagString: Untagged 223 | m_Icon: {fileID: 0} 224 | m_NavMeshLayer: 0 225 | m_StaticEditorFlags: 0 226 | m_IsActive: 1 227 | --- !u!114 &667309235 228 | MonoBehaviour: 229 | m_ObjectHideFlags: 0 230 | m_PrefabParentObject: {fileID: 0} 231 | m_PrefabInternal: {fileID: 0} 232 | m_GameObject: {fileID: 667309234} 233 | m_Enabled: 1 234 | m_EditorHideFlags: 0 235 | m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 236 | m_Name: 237 | m_EditorClassIdentifier: 238 | m_IgnoreReversedGraphics: 1 239 | m_BlockingObjects: 0 240 | m_BlockingMask: 241 | serializedVersion: 2 242 | m_Bits: 4294967295 243 | --- !u!114 &667309236 244 | MonoBehaviour: 245 | m_ObjectHideFlags: 0 246 | m_PrefabParentObject: {fileID: 0} 247 | m_PrefabInternal: {fileID: 0} 248 | m_GameObject: {fileID: 667309234} 249 | m_Enabled: 1 250 | m_EditorHideFlags: 0 251 | m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 252 | m_Name: 253 | m_EditorClassIdentifier: 254 | m_UiScaleMode: 0 255 | m_ReferencePixelsPerUnit: 100 256 | m_ScaleFactor: 1 257 | m_ReferenceResolution: {x: 800, y: 600} 258 | m_ScreenMatchMode: 0 259 | m_MatchWidthOrHeight: 0 260 | m_PhysicalUnit: 3 261 | m_FallbackScreenDPI: 96 262 | m_DefaultSpriteDPI: 96 263 | m_DynamicPixelsPerUnit: 1 264 | --- !u!223 &667309237 265 | Canvas: 266 | m_ObjectHideFlags: 0 267 | m_PrefabParentObject: {fileID: 0} 268 | m_PrefabInternal: {fileID: 0} 269 | m_GameObject: {fileID: 667309234} 270 | m_Enabled: 1 271 | serializedVersion: 3 272 | m_RenderMode: 0 273 | m_Camera: {fileID: 0} 274 | m_PlaneDistance: 100 275 | m_PixelPerfect: 0 276 | m_ReceivesEvents: 1 277 | m_OverrideSorting: 0 278 | m_OverridePixelPerfect: 0 279 | m_SortingBucketNormalizedSize: 0 280 | m_AdditionalShaderChannelsFlag: 0 281 | m_SortingLayerID: 0 282 | m_SortingOrder: 0 283 | m_TargetDisplay: 0 284 | --- !u!224 &667309238 285 | RectTransform: 286 | m_ObjectHideFlags: 0 287 | m_PrefabParentObject: {fileID: 0} 288 | m_PrefabInternal: {fileID: 0} 289 | m_GameObject: {fileID: 667309234} 290 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 291 | m_LocalPosition: {x: 0, y: 0, z: 0} 292 | m_LocalScale: {x: 0, y: 0, z: 0} 293 | m_Children: 294 | - {fileID: 2064802431} 295 | - {fileID: 1670990241} 296 | m_Father: {fileID: 0} 297 | m_RootOrder: 1 298 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 299 | m_AnchorMin: {x: 0, y: 0} 300 | m_AnchorMax: {x: 0, y: 0} 301 | m_AnchoredPosition: {x: 0, y: 0} 302 | m_SizeDelta: {x: 0, y: 0} 303 | m_Pivot: {x: 0, y: 0} 304 | --- !u!1 &1275519481 305 | GameObject: 306 | m_ObjectHideFlags: 0 307 | m_PrefabParentObject: {fileID: 0} 308 | m_PrefabInternal: {fileID: 0} 309 | serializedVersion: 5 310 | m_Component: 311 | - component: {fileID: 1275519484} 312 | - component: {fileID: 1275519483} 313 | - component: {fileID: 1275519482} 314 | m_Layer: 0 315 | m_Name: EventSystem 316 | m_TagString: Untagged 317 | m_Icon: {fileID: 0} 318 | m_NavMeshLayer: 0 319 | m_StaticEditorFlags: 0 320 | m_IsActive: 1 321 | --- !u!114 &1275519482 322 | MonoBehaviour: 323 | m_ObjectHideFlags: 0 324 | m_PrefabParentObject: {fileID: 0} 325 | m_PrefabInternal: {fileID: 0} 326 | m_GameObject: {fileID: 1275519481} 327 | m_Enabled: 1 328 | m_EditorHideFlags: 0 329 | m_Script: {fileID: 1077351063, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 330 | m_Name: 331 | m_EditorClassIdentifier: 332 | m_HorizontalAxis: Horizontal 333 | m_VerticalAxis: Vertical 334 | m_SubmitButton: Submit 335 | m_CancelButton: Cancel 336 | m_InputActionsPerSecond: 10 337 | m_RepeatDelay: 0.5 338 | m_ForceModuleActive: 0 339 | --- !u!114 &1275519483 340 | MonoBehaviour: 341 | m_ObjectHideFlags: 0 342 | m_PrefabParentObject: {fileID: 0} 343 | m_PrefabInternal: {fileID: 0} 344 | m_GameObject: {fileID: 1275519481} 345 | m_Enabled: 1 346 | m_EditorHideFlags: 0 347 | m_Script: {fileID: -619905303, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 348 | m_Name: 349 | m_EditorClassIdentifier: 350 | m_FirstSelected: {fileID: 0} 351 | m_sendNavigationEvents: 1 352 | m_DragThreshold: 5 353 | --- !u!4 &1275519484 354 | Transform: 355 | m_ObjectHideFlags: 0 356 | m_PrefabParentObject: {fileID: 0} 357 | m_PrefabInternal: {fileID: 0} 358 | m_GameObject: {fileID: 1275519481} 359 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 360 | m_LocalPosition: {x: 0, y: 0, z: 0} 361 | m_LocalScale: {x: 1, y: 1, z: 1} 362 | m_Children: [] 363 | m_Father: {fileID: 0} 364 | m_RootOrder: 2 365 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 366 | --- !u!1 &1634295488 367 | GameObject: 368 | m_ObjectHideFlags: 0 369 | m_PrefabParentObject: {fileID: 0} 370 | m_PrefabInternal: {fileID: 0} 371 | serializedVersion: 5 372 | m_Component: 373 | - component: {fileID: 1634295489} 374 | - component: {fileID: 1634295491} 375 | - component: {fileID: 1634295490} 376 | m_Layer: 5 377 | m_Name: Text 378 | m_TagString: Untagged 379 | m_Icon: {fileID: 0} 380 | m_NavMeshLayer: 0 381 | m_StaticEditorFlags: 0 382 | m_IsActive: 1 383 | --- !u!224 &1634295489 384 | RectTransform: 385 | m_ObjectHideFlags: 0 386 | m_PrefabParentObject: {fileID: 0} 387 | m_PrefabInternal: {fileID: 0} 388 | m_GameObject: {fileID: 1634295488} 389 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 390 | m_LocalPosition: {x: 0, y: 0, z: 0} 391 | m_LocalScale: {x: 1, y: 1, z: 1} 392 | m_Children: [] 393 | m_Father: {fileID: 2064802431} 394 | m_RootOrder: 0 395 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 396 | m_AnchorMin: {x: 0, y: 0} 397 | m_AnchorMax: {x: 1, y: 1} 398 | m_AnchoredPosition: {x: 0, y: 0} 399 | m_SizeDelta: {x: 0, y: 0} 400 | m_Pivot: {x: 0.5, y: 0.5} 401 | --- !u!114 &1634295490 402 | MonoBehaviour: 403 | m_ObjectHideFlags: 0 404 | m_PrefabParentObject: {fileID: 0} 405 | m_PrefabInternal: {fileID: 0} 406 | m_GameObject: {fileID: 1634295488} 407 | m_Enabled: 1 408 | m_EditorHideFlags: 0 409 | m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 410 | m_Name: 411 | m_EditorClassIdentifier: 412 | m_Material: {fileID: 0} 413 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} 414 | m_RaycastTarget: 0 415 | m_OnCullStateChanged: 416 | m_PersistentCalls: 417 | m_Calls: [] 418 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 419 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 420 | m_FontData: 421 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 422 | m_FontSize: 14 423 | m_FontStyle: 0 424 | m_BestFit: 0 425 | m_MinSize: 10 426 | m_MaxSize: 40 427 | m_Alignment: 4 428 | m_AlignByGeometry: 0 429 | m_RichText: 1 430 | m_HorizontalOverflow: 0 431 | m_VerticalOverflow: 0 432 | m_LineSpacing: 1 433 | m_Text: SendDataToXAML (UB) 434 | --- !u!222 &1634295491 435 | CanvasRenderer: 436 | m_ObjectHideFlags: 0 437 | m_PrefabParentObject: {fileID: 0} 438 | m_PrefabInternal: {fileID: 0} 439 | m_GameObject: {fileID: 1634295488} 440 | --- !u!1001 &1670990240 441 | Prefab: 442 | m_ObjectHideFlags: 0 443 | serializedVersion: 2 444 | m_Modification: 445 | m_TransformParent: {fileID: 667309238} 446 | m_Modifications: 447 | - target: {fileID: 224828610379717254, guid: 5e42eaa4d8c6d50408d990d4ab1e3a59, 448 | type: 2} 449 | propertyPath: m_LocalPosition.x 450 | value: 0 451 | objectReference: {fileID: 0} 452 | - target: {fileID: 224828610379717254, guid: 5e42eaa4d8c6d50408d990d4ab1e3a59, 453 | type: 2} 454 | propertyPath: m_LocalPosition.y 455 | value: 0 456 | objectReference: {fileID: 0} 457 | - target: {fileID: 224828610379717254, guid: 5e42eaa4d8c6d50408d990d4ab1e3a59, 458 | type: 2} 459 | propertyPath: m_LocalPosition.z 460 | value: 0 461 | objectReference: {fileID: 0} 462 | - target: {fileID: 224828610379717254, guid: 5e42eaa4d8c6d50408d990d4ab1e3a59, 463 | type: 2} 464 | propertyPath: m_LocalRotation.x 465 | value: 0 466 | objectReference: {fileID: 0} 467 | - target: {fileID: 224828610379717254, guid: 5e42eaa4d8c6d50408d990d4ab1e3a59, 468 | type: 2} 469 | propertyPath: m_LocalRotation.y 470 | value: 0 471 | objectReference: {fileID: 0} 472 | - target: {fileID: 224828610379717254, guid: 5e42eaa4d8c6d50408d990d4ab1e3a59, 473 | type: 2} 474 | propertyPath: m_LocalRotation.z 475 | value: 0 476 | objectReference: {fileID: 0} 477 | - target: {fileID: 224828610379717254, guid: 5e42eaa4d8c6d50408d990d4ab1e3a59, 478 | type: 2} 479 | propertyPath: m_LocalRotation.w 480 | value: 1 481 | objectReference: {fileID: 0} 482 | - target: {fileID: 224828610379717254, guid: 5e42eaa4d8c6d50408d990d4ab1e3a59, 483 | type: 2} 484 | propertyPath: m_RootOrder 485 | value: 1 486 | objectReference: {fileID: 0} 487 | - target: {fileID: 224828610379717254, guid: 5e42eaa4d8c6d50408d990d4ab1e3a59, 488 | type: 2} 489 | propertyPath: m_AnchoredPosition.x 490 | value: 250 491 | objectReference: {fileID: 0} 492 | - target: {fileID: 224828610379717254, guid: 5e42eaa4d8c6d50408d990d4ab1e3a59, 493 | type: 2} 494 | propertyPath: m_AnchoredPosition.y 495 | value: -25 496 | objectReference: {fileID: 0} 497 | - target: {fileID: 224828610379717254, guid: 5e42eaa4d8c6d50408d990d4ab1e3a59, 498 | type: 2} 499 | propertyPath: m_SizeDelta.x 500 | value: 600 501 | objectReference: {fileID: 0} 502 | - target: {fileID: 224828610379717254, guid: 5e42eaa4d8c6d50408d990d4ab1e3a59, 503 | type: 2} 504 | propertyPath: m_SizeDelta.y 505 | value: 400 506 | objectReference: {fileID: 0} 507 | - target: {fileID: 224828610379717254, guid: 5e42eaa4d8c6d50408d990d4ab1e3a59, 508 | type: 2} 509 | propertyPath: m_AnchorMin.x 510 | value: 0.5 511 | objectReference: {fileID: 0} 512 | - target: {fileID: 224828610379717254, guid: 5e42eaa4d8c6d50408d990d4ab1e3a59, 513 | type: 2} 514 | propertyPath: m_AnchorMin.y 515 | value: 0.5 516 | objectReference: {fileID: 0} 517 | - target: {fileID: 224828610379717254, guid: 5e42eaa4d8c6d50408d990d4ab1e3a59, 518 | type: 2} 519 | propertyPath: m_AnchorMax.x 520 | value: 0.5 521 | objectReference: {fileID: 0} 522 | - target: {fileID: 224828610379717254, guid: 5e42eaa4d8c6d50408d990d4ab1e3a59, 523 | type: 2} 524 | propertyPath: m_AnchorMax.y 525 | value: 0.5 526 | objectReference: {fileID: 0} 527 | - target: {fileID: 224828610379717254, guid: 5e42eaa4d8c6d50408d990d4ab1e3a59, 528 | type: 2} 529 | propertyPath: m_Pivot.x 530 | value: 0.5 531 | objectReference: {fileID: 0} 532 | - target: {fileID: 224828610379717254, guid: 5e42eaa4d8c6d50408d990d4ab1e3a59, 533 | type: 2} 534 | propertyPath: m_Pivot.y 535 | value: 0.5 536 | objectReference: {fileID: 0} 537 | - target: {fileID: 224535245524441664, guid: 5e42eaa4d8c6d50408d990d4ab1e3a59, 538 | type: 2} 539 | propertyPath: m_SizeDelta.y 540 | value: 0 541 | objectReference: {fileID: 0} 542 | - target: {fileID: 224810234118823114, guid: 5e42eaa4d8c6d50408d990d4ab1e3a59, 543 | type: 2} 544 | propertyPath: m_AnchorMax.x 545 | value: 1 546 | objectReference: {fileID: 0} 547 | - target: {fileID: 224810234118823114, guid: 5e42eaa4d8c6d50408d990d4ab1e3a59, 548 | type: 2} 549 | propertyPath: m_AnchorMax.y 550 | value: 1 551 | objectReference: {fileID: 0} 552 | - target: {fileID: 114196574971625008, guid: 5e42eaa4d8c6d50408d990d4ab1e3a59, 553 | type: 2} 554 | propertyPath: m_Size 555 | value: 1 556 | objectReference: {fileID: 0} 557 | - target: {fileID: 224535245524441664, guid: 5e42eaa4d8c6d50408d990d4ab1e3a59, 558 | type: 2} 559 | propertyPath: m_AnchoredPosition.y 560 | value: 0.000013836939 561 | objectReference: {fileID: 0} 562 | - target: {fileID: 224810234118823114, guid: 5e42eaa4d8c6d50408d990d4ab1e3a59, 563 | type: 2} 564 | propertyPath: m_AnchorMin.y 565 | value: 0.000000059604645 566 | objectReference: {fileID: 0} 567 | m_RemovedComponents: [] 568 | m_ParentPrefab: {fileID: 100100000, guid: 5e42eaa4d8c6d50408d990d4ab1e3a59, type: 2} 569 | m_IsPrefabParent: 0 570 | --- !u!224 &1670990241 stripped 571 | RectTransform: 572 | m_PrefabParentObject: {fileID: 224828610379717254, guid: 5e42eaa4d8c6d50408d990d4ab1e3a59, 573 | type: 2} 574 | m_PrefabInternal: {fileID: 1670990240} 575 | --- !u!1 &2064802430 576 | GameObject: 577 | m_ObjectHideFlags: 0 578 | m_PrefabParentObject: {fileID: 0} 579 | m_PrefabInternal: {fileID: 0} 580 | serializedVersion: 5 581 | m_Component: 582 | - component: {fileID: 2064802431} 583 | - component: {fileID: 2064802434} 584 | - component: {fileID: 2064802433} 585 | - component: {fileID: 2064802432} 586 | m_Layer: 5 587 | m_Name: Button 588 | m_TagString: Untagged 589 | m_Icon: {fileID: 0} 590 | m_NavMeshLayer: 0 591 | m_StaticEditorFlags: 0 592 | m_IsActive: 1 593 | --- !u!224 &2064802431 594 | RectTransform: 595 | m_ObjectHideFlags: 0 596 | m_PrefabParentObject: {fileID: 0} 597 | m_PrefabInternal: {fileID: 0} 598 | m_GameObject: {fileID: 2064802430} 599 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 600 | m_LocalPosition: {x: 0, y: 0, z: 0} 601 | m_LocalScale: {x: 1, y: 1, z: 1} 602 | m_Children: 603 | - {fileID: 1634295489} 604 | m_Father: {fileID: 667309238} 605 | m_RootOrder: 0 606 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 607 | m_AnchorMin: {x: 0.5, y: 0.5} 608 | m_AnchorMax: {x: 0.5, y: 0.5} 609 | m_AnchoredPosition: {x: -200, y: 150} 610 | m_SizeDelta: {x: 200, y: 30} 611 | m_Pivot: {x: 0.5, y: 0.5} 612 | --- !u!114 &2064802432 613 | MonoBehaviour: 614 | m_ObjectHideFlags: 0 615 | m_PrefabParentObject: {fileID: 0} 616 | m_PrefabInternal: {fileID: 0} 617 | m_GameObject: {fileID: 2064802430} 618 | m_Enabled: 1 619 | m_EditorHideFlags: 0 620 | m_Script: {fileID: 1392445389, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 621 | m_Name: 622 | m_EditorClassIdentifier: 623 | m_Navigation: 624 | m_Mode: 3 625 | m_SelectOnUp: {fileID: 0} 626 | m_SelectOnDown: {fileID: 0} 627 | m_SelectOnLeft: {fileID: 0} 628 | m_SelectOnRight: {fileID: 0} 629 | m_Transition: 1 630 | m_Colors: 631 | m_NormalColor: {r: 1, g: 1, b: 1, a: 1} 632 | m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 633 | m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} 634 | m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} 635 | m_ColorMultiplier: 1 636 | m_FadeDuration: 0.1 637 | m_SpriteState: 638 | m_HighlightedSprite: {fileID: 0} 639 | m_PressedSprite: {fileID: 0} 640 | m_DisabledSprite: {fileID: 0} 641 | m_AnimationTriggers: 642 | m_NormalTrigger: Normal 643 | m_HighlightedTrigger: Highlighted 644 | m_PressedTrigger: Pressed 645 | m_DisabledTrigger: Disabled 646 | m_Interactable: 1 647 | m_TargetGraphic: {fileID: 2064802433} 648 | m_OnClick: 649 | m_PersistentCalls: 650 | m_Calls: 651 | - m_Target: {fileID: 353827499} 652 | m_MethodName: OnSendDataToXamlClicked 653 | m_Mode: 1 654 | m_Arguments: 655 | m_ObjectArgument: {fileID: 0} 656 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 657 | m_IntArgument: 0 658 | m_FloatArgument: 0 659 | m_StringArgument: 660 | m_BoolArgument: 0 661 | m_CallState: 2 662 | m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0, 663 | Culture=neutral, PublicKeyToken=null 664 | --- !u!114 &2064802433 665 | MonoBehaviour: 666 | m_ObjectHideFlags: 0 667 | m_PrefabParentObject: {fileID: 0} 668 | m_PrefabInternal: {fileID: 0} 669 | m_GameObject: {fileID: 2064802430} 670 | m_Enabled: 1 671 | m_EditorHideFlags: 0 672 | m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 673 | m_Name: 674 | m_EditorClassIdentifier: 675 | m_Material: {fileID: 0} 676 | m_Color: {r: 1, g: 1, b: 1, a: 1} 677 | m_RaycastTarget: 1 678 | m_OnCullStateChanged: 679 | m_PersistentCalls: 680 | m_Calls: [] 681 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 682 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 683 | m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} 684 | m_Type: 1 685 | m_PreserveAspect: 0 686 | m_FillCenter: 1 687 | m_FillMethod: 4 688 | m_FillAmount: 1 689 | m_FillClockwise: 1 690 | m_FillOrigin: 0 691 | --- !u!222 &2064802434 692 | CanvasRenderer: 693 | m_ObjectHideFlags: 0 694 | m_PrefabParentObject: {fileID: 0} 695 | m_PrefabInternal: {fileID: 0} 696 | m_GameObject: {fileID: 2064802430} 697 | -------------------------------------------------------------------------------- /Assets/_Scenes/MainScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fd25a231920c23345b68a27ca79a4e09 3 | timeCreated: 1516920353 4 | licenseType: Free 5 | DefaultImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | 4 | 5 | Copyright (c) Microsoft Corporation. All rights reserved. 6 | 7 | 8 | 9 | Permission is hereby granted, free of charge, to any person obtaining a copy 10 | 11 | of this software and associated documentation files (the "Software"), to deal 12 | 13 | in the Software without restriction, including without limitation the rights 14 | 15 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 16 | 17 | copies of the Software, and to permit persons to whom the Software is 18 | 19 | furnished to do so, subject to the following conditions: 20 | 21 | 22 | 23 | The above copyright notice and this permission notice shall be included in all 24 | 25 | copies or substantial portions of the Software. 26 | 27 | 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | 31 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 32 | 33 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 34 | 35 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 36 | 37 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 38 | 39 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 40 | 41 | SOFTWARE -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 0 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_AmbisonicDecoderPlugin: 16 | m_DisableAudio: 0 17 | m_VirtualizeEffects: 1 18 | -------------------------------------------------------------------------------- /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: 3 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_EnablePCM: 1 18 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 19 | m_AutoSimulation: 1 20 | m_AutoSyncTransforms: 1 21 | -------------------------------------------------------------------------------- /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: 0 9 | path: 10 | guid: 00000000000000000000000000000000 11 | - enabled: 1 12 | path: Assets/_Scenes/MainScene.unity 13 | guid: 5dfae05d2e7d4ac428ae406ca3affe24 14 | -------------------------------------------------------------------------------- /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: 5 7 | m_ExternalVersionControlSupport: Hidden Meta Files 8 | m_SerializationMode: 2 9 | m_DefaultBehaviorMode: 1 10 | m_SpritePackerMode: 4 11 | m_SpritePackerPaddingPower: 1 12 | m_EtcTextureCompressorBehavior: 1 13 | m_EtcTextureFastCompressor: 1 14 | m_EtcTextureNormalCompressor: 2 15 | m_EtcTextureBestCompressor: 4 16 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd 17 | m_ProjectGenerationRootNamespace: 18 | m_UserGeneratedProjectSuffix: 19 | m_CollabEditorSettings: 20 | inProgressEnabled: 1 21 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 12 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 38 | - {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0} 39 | - {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0} 40 | m_PreloadedShaders: [] 41 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 42 | type: 0} 43 | m_CustomRenderPipeline: {fileID: 0} 44 | m_TransparencySortMode: 0 45 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 46 | m_DefaultRenderingPath: 1 47 | m_DefaultMobileRenderingPath: 1 48 | m_TierSettings: [] 49 | m_LightmapStripping: 0 50 | m_FogStripping: 0 51 | m_InstancingStripping: 0 52 | m_LightmapKeepPlain: 1 53 | m_LightmapKeepDirCombined: 1 54 | m_LightmapKeepDynamicPlain: 1 55 | m_LightmapKeepDynamicDirCombined: 1 56 | m_LightmapKeepShadowMask: 1 57 | m_LightmapKeepSubtractive: 1 58 | m_FogKeepLinear: 1 59 | m_FogKeepExp: 1 60 | m_FogKeepExp2: 1 61 | m_AlbedoSwatchInfos: [] 62 | m_LightsUseLinearIntensity: 0 63 | m_LightsUseColorTemperature: 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 | -------------------------------------------------------------------------------- /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/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: 3 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_AutoSimulation: 1 23 | m_QueriesHitTriggers: 1 24 | m_QueriesStartInColliders: 1 25 | m_ChangeStopsCallbacks: 0 26 | m_CallbacksOnDisable: 1 27 | m_AutoSyncTransforms: 1 28 | m_AlwaysShowColliders: 0 29 | m_ShowColliderSleep: 1 30 | m_ShowColliderContacts: 0 31 | m_ShowColliderAABB: 0 32 | m_ContactArrowScale: 0.2 33 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 34 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 35 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 36 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 37 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 38 | -------------------------------------------------------------------------------- /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: 14 7 | productGUID: 10de679fab325284ea12e8705d1d66db 8 | AndroidProfiler: 0 9 | AndroidFilterTouchesWhenObscured: 0 10 | defaultScreenOrientation: 4 11 | targetDevice: 2 12 | useOnDemandResources: 0 13 | accelerometerFrequency: 60 14 | companyName: DefaultCompany 15 | productName: UnityXAML 16 | defaultCursor: {fileID: 0} 17 | cursorHotspot: {x: 0, y: 0} 18 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} 19 | m_ShowUnitySplashScreen: 1 20 | m_ShowUnitySplashLogo: 1 21 | m_SplashScreenOverlayOpacity: 1 22 | m_SplashScreenAnimation: 1 23 | m_SplashScreenLogoStyle: 1 24 | m_SplashScreenDrawMode: 0 25 | m_SplashScreenBackgroundAnimationZoom: 1 26 | m_SplashScreenLogoAnimationZoom: 1 27 | m_SplashScreenBackgroundLandscapeAspect: 1 28 | m_SplashScreenBackgroundPortraitAspect: 1 29 | m_SplashScreenBackgroundLandscapeUvs: 30 | serializedVersion: 2 31 | x: 0 32 | y: 0 33 | width: 1 34 | height: 1 35 | m_SplashScreenBackgroundPortraitUvs: 36 | serializedVersion: 2 37 | x: 0 38 | y: 0 39 | width: 1 40 | height: 1 41 | m_SplashScreenLogos: [] 42 | m_VirtualRealitySplashScreen: {fileID: 0} 43 | m_HolographicTrackingLossScreen: {fileID: 0} 44 | defaultScreenWidth: 1024 45 | defaultScreenHeight: 768 46 | defaultScreenWidthWeb: 960 47 | defaultScreenHeightWeb: 600 48 | m_StereoRenderingPath: 0 49 | m_ActiveColorSpace: 0 50 | m_MTRendering: 1 51 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 52 | iosShowActivityIndicatorOnLoading: -1 53 | androidShowActivityIndicatorOnLoading: -1 54 | tizenShowActivityIndicatorOnLoading: -1 55 | iosAppInBackgroundBehavior: 0 56 | displayResolutionDialog: 1 57 | iosAllowHTTPDownload: 1 58 | allowedAutorotateToPortrait: 1 59 | allowedAutorotateToPortraitUpsideDown: 1 60 | allowedAutorotateToLandscapeRight: 1 61 | allowedAutorotateToLandscapeLeft: 1 62 | useOSAutorotation: 1 63 | use32BitDisplayBuffer: 1 64 | preserveFramebufferAlpha: 0 65 | disableDepthAndStencilBuffers: 0 66 | androidBlitType: 0 67 | defaultIsFullScreen: 1 68 | defaultIsNativeResolution: 1 69 | macRetinaSupport: 1 70 | runInBackground: 0 71 | captureSingleScreen: 0 72 | muteOtherAudioSources: 0 73 | Prepare IOS For Recording: 0 74 | Force IOS Speakers When Recording: 0 75 | deferSystemGesturesMode: 0 76 | hideHomeButton: 0 77 | submitAnalytics: 1 78 | usePlayerLog: 1 79 | bakeCollisionMeshes: 0 80 | forceSingleInstance: 0 81 | resizableWindow: 0 82 | useMacAppStoreValidation: 0 83 | macAppStoreCategory: public.app-category.games 84 | gpuSkinning: 0 85 | graphicsJobs: 1 86 | xboxPIXTextureCapture: 0 87 | xboxEnableAvatar: 0 88 | xboxEnableKinect: 0 89 | xboxEnableKinectAutoTracking: 0 90 | xboxEnableFitness: 0 91 | visibleInBackground: 1 92 | allowFullscreenSwitch: 1 93 | graphicsJobMode: 0 94 | macFullscreenMode: 2 95 | d3d11FullscreenMode: 1 96 | xboxSpeechDB: 0 97 | xboxEnableHeadOrientation: 0 98 | xboxEnableGuest: 0 99 | xboxEnablePIXSampling: 0 100 | metalFramebufferOnly: 0 101 | n3dsDisableStereoscopicView: 0 102 | n3dsEnableSharedListOpt: 1 103 | n3dsEnableVSync: 0 104 | xboxOneResolution: 0 105 | xboxOneSResolution: 0 106 | xboxOneXResolution: 3 107 | xboxOneMonoLoggingLevel: 0 108 | xboxOneLoggingLevel: 1 109 | xboxOneDisableEsram: 0 110 | xboxOnePresentImmediateThreshold: 0 111 | videoMemoryForVertexBuffers: 0 112 | psp2PowerMode: 0 113 | psp2AcquireBGM: 1 114 | wiiUTVResolution: 0 115 | wiiUGamePadMSAA: 1 116 | wiiUSupportsNunchuk: 0 117 | wiiUSupportsClassicController: 0 118 | wiiUSupportsBalanceBoard: 0 119 | wiiUSupportsMotionPlus: 0 120 | wiiUSupportsProController: 0 121 | wiiUAllowScreenCapture: 1 122 | wiiUControllerCount: 0 123 | m_SupportedAspectRatios: 124 | 4:3: 1 125 | 5:4: 1 126 | 16:10: 1 127 | 16:9: 1 128 | Others: 1 129 | bundleVersion: 1.0 130 | preloadedAssets: [] 131 | metroInputSource: 0 132 | wsaTransparentSwapchain: 0 133 | m_HolographicPauseOnTrackingLoss: 1 134 | xboxOneDisableKinectGpuReservation: 0 135 | xboxOneEnable7thCore: 0 136 | vrSettings: 137 | cardboard: 138 | depthFormat: 0 139 | enableTransitionView: 0 140 | daydream: 141 | depthFormat: 0 142 | useSustainedPerformanceMode: 0 143 | enableVideoLayer: 0 144 | useProtectedVideoMemory: 0 145 | minimumSupportedHeadTracking: 0 146 | maximumSupportedHeadTracking: 1 147 | hololens: 148 | depthFormat: 1 149 | depthBufferSharingEnabled: 0 150 | oculus: 151 | sharedDepthBuffer: 0 152 | dashSupport: 0 153 | protectGraphicsMemory: 0 154 | useHDRDisplay: 0 155 | m_ColorGamuts: 00000000 156 | targetPixelDensity: 30 157 | resolutionScalingMode: 0 158 | androidSupportedAspectRatio: 1 159 | androidMaxAspectRatio: 2.1 160 | applicationIdentifier: {} 161 | buildNumber: {} 162 | AndroidBundleVersionCode: 1 163 | AndroidMinSdkVersion: 16 164 | AndroidTargetSdkVersion: 0 165 | AndroidPreferredInstallLocation: 1 166 | aotOptions: 167 | stripEngineCode: 1 168 | iPhoneStrippingLevel: 0 169 | iPhoneScriptCallOptimization: 0 170 | ForceInternetPermission: 0 171 | ForceSDCardPermission: 0 172 | CreateWallpaper: 0 173 | APKExpansionFiles: 0 174 | keepLoadedShadersAlive: 0 175 | StripUnusedMeshComponents: 0 176 | VertexChannelCompressionMask: 177 | serializedVersion: 2 178 | m_Bits: 238 179 | iPhoneSdkVersion: 988 180 | iOSTargetOSVersionString: 7.0 181 | tvOSSdkVersion: 0 182 | tvOSRequireExtendedGameController: 0 183 | tvOSTargetOSVersionString: 9.0 184 | uIPrerenderedIcon: 0 185 | uIRequiresPersistentWiFi: 0 186 | uIRequiresFullScreen: 1 187 | uIStatusBarHidden: 1 188 | uIExitOnSuspend: 0 189 | uIStatusBarStyle: 0 190 | iPhoneSplashScreen: {fileID: 0} 191 | iPhoneHighResSplashScreen: {fileID: 0} 192 | iPhoneTallHighResSplashScreen: {fileID: 0} 193 | iPhone47inSplashScreen: {fileID: 0} 194 | iPhone55inPortraitSplashScreen: {fileID: 0} 195 | iPhone55inLandscapeSplashScreen: {fileID: 0} 196 | iPhone58inPortraitSplashScreen: {fileID: 0} 197 | iPhone58inLandscapeSplashScreen: {fileID: 0} 198 | iPadPortraitSplashScreen: {fileID: 0} 199 | iPadHighResPortraitSplashScreen: {fileID: 0} 200 | iPadLandscapeSplashScreen: {fileID: 0} 201 | iPadHighResLandscapeSplashScreen: {fileID: 0} 202 | appleTVSplashScreen: {fileID: 0} 203 | appleTVSplashScreen2x: {fileID: 0} 204 | tvOSSmallIconLayers: [] 205 | tvOSSmallIconLayers2x: [] 206 | tvOSLargeIconLayers: [] 207 | tvOSLargeIconLayers2x: [] 208 | tvOSTopShelfImageLayers: [] 209 | tvOSTopShelfImageLayers2x: [] 210 | tvOSTopShelfImageWideLayers: [] 211 | tvOSTopShelfImageWideLayers2x: [] 212 | iOSLaunchScreenType: 0 213 | iOSLaunchScreenPortrait: {fileID: 0} 214 | iOSLaunchScreenLandscape: {fileID: 0} 215 | iOSLaunchScreenBackgroundColor: 216 | serializedVersion: 2 217 | rgba: 0 218 | iOSLaunchScreenFillPct: 100 219 | iOSLaunchScreenSize: 100 220 | iOSLaunchScreenCustomXibPath: 221 | iOSLaunchScreeniPadType: 0 222 | iOSLaunchScreeniPadImage: {fileID: 0} 223 | iOSLaunchScreeniPadBackgroundColor: 224 | serializedVersion: 2 225 | rgba: 0 226 | iOSLaunchScreeniPadFillPct: 100 227 | iOSLaunchScreeniPadSize: 100 228 | iOSLaunchScreeniPadCustomXibPath: 229 | iOSUseLaunchScreenStoryboard: 0 230 | iOSLaunchScreenCustomStoryboardPath: 231 | iOSDeviceRequirements: [] 232 | iOSURLSchemes: [] 233 | iOSBackgroundModes: 0 234 | iOSMetalForceHardShadows: 0 235 | metalEditorSupport: 1 236 | metalAPIValidation: 1 237 | iOSRenderExtraFrameOnPause: 0 238 | appleDeveloperTeamID: 239 | iOSManualSigningProvisioningProfileID: 240 | tvOSManualSigningProvisioningProfileID: 241 | appleEnableAutomaticSigning: 0 242 | clonedFromGUID: 00000000000000000000000000000000 243 | AndroidTargetDevice: 0 244 | AndroidSplashScreenScale: 0 245 | androidSplashScreen: {fileID: 0} 246 | AndroidKeystoreName: 247 | AndroidKeyaliasName: 248 | AndroidTVCompatibility: 1 249 | AndroidIsGame: 1 250 | AndroidEnableTango: 0 251 | androidEnableBanner: 1 252 | androidUseLowAccuracyLocation: 0 253 | m_AndroidBanners: 254 | - width: 320 255 | height: 180 256 | banner: {fileID: 0} 257 | androidGamepadSupportLevel: 0 258 | resolutionDialogBanner: {fileID: 0} 259 | m_BuildTargetIcons: [] 260 | m_BuildTargetBatching: [] 261 | m_BuildTargetGraphicsAPIs: [] 262 | m_BuildTargetVRSettings: [] 263 | m_BuildTargetEnableVuforiaSettings: [] 264 | openGLRequireES31: 0 265 | openGLRequireES31AEP: 0 266 | m_TemplateCustomTags: {} 267 | mobileMTRendering: 268 | Android: 1 269 | iPhone: 1 270 | tvOS: 1 271 | m_BuildTargetGroupLightmapEncodingQuality: 272 | - m_BuildTarget: Standalone 273 | m_EncodingQuality: 1 274 | - m_BuildTarget: XboxOne 275 | m_EncodingQuality: 1 276 | - m_BuildTarget: PS4 277 | m_EncodingQuality: 1 278 | wiiUTitleID: 0005000011000000 279 | wiiUGroupID: 00010000 280 | wiiUCommonSaveSize: 4096 281 | wiiUAccountSaveSize: 2048 282 | wiiUOlvAccessKey: 0 283 | wiiUTinCode: 0 284 | wiiUJoinGameId: 0 285 | wiiUJoinGameModeMask: 0000000000000000 286 | wiiUCommonBossSize: 0 287 | wiiUAccountBossSize: 0 288 | wiiUAddOnUniqueIDs: [] 289 | wiiUMainThreadStackSize: 3072 290 | wiiULoaderThreadStackSize: 1024 291 | wiiUSystemHeapSize: 128 292 | wiiUTVStartupScreen: {fileID: 0} 293 | wiiUGamePadStartupScreen: {fileID: 0} 294 | wiiUDrcBufferDisabled: 0 295 | wiiUProfilerLibPath: 296 | playModeTestRunnerEnabled: 0 297 | actionOnDotNetUnhandledException: 1 298 | enableInternalProfiler: 0 299 | logObjCUncaughtExceptions: 1 300 | enableCrashReportAPI: 0 301 | cameraUsageDescription: 302 | locationUsageDescription: 303 | microphoneUsageDescription: 304 | switchNetLibKey: 305 | switchSocketMemoryPoolSize: 6144 306 | switchSocketAllocatorPoolSize: 128 307 | switchSocketConcurrencyLimit: 14 308 | switchScreenResolutionBehavior: 2 309 | switchUseCPUProfiler: 0 310 | switchApplicationID: 0x01004b9000490000 311 | switchNSODependencies: 312 | switchTitleNames_0: 313 | switchTitleNames_1: 314 | switchTitleNames_2: 315 | switchTitleNames_3: 316 | switchTitleNames_4: 317 | switchTitleNames_5: 318 | switchTitleNames_6: 319 | switchTitleNames_7: 320 | switchTitleNames_8: 321 | switchTitleNames_9: 322 | switchTitleNames_10: 323 | switchTitleNames_11: 324 | switchTitleNames_12: 325 | switchTitleNames_13: 326 | switchTitleNames_14: 327 | switchPublisherNames_0: 328 | switchPublisherNames_1: 329 | switchPublisherNames_2: 330 | switchPublisherNames_3: 331 | switchPublisherNames_4: 332 | switchPublisherNames_5: 333 | switchPublisherNames_6: 334 | switchPublisherNames_7: 335 | switchPublisherNames_8: 336 | switchPublisherNames_9: 337 | switchPublisherNames_10: 338 | switchPublisherNames_11: 339 | switchPublisherNames_12: 340 | switchPublisherNames_13: 341 | switchPublisherNames_14: 342 | switchIcons_0: {fileID: 0} 343 | switchIcons_1: {fileID: 0} 344 | switchIcons_2: {fileID: 0} 345 | switchIcons_3: {fileID: 0} 346 | switchIcons_4: {fileID: 0} 347 | switchIcons_5: {fileID: 0} 348 | switchIcons_6: {fileID: 0} 349 | switchIcons_7: {fileID: 0} 350 | switchIcons_8: {fileID: 0} 351 | switchIcons_9: {fileID: 0} 352 | switchIcons_10: {fileID: 0} 353 | switchIcons_11: {fileID: 0} 354 | switchIcons_12: {fileID: 0} 355 | switchIcons_13: {fileID: 0} 356 | switchIcons_14: {fileID: 0} 357 | switchSmallIcons_0: {fileID: 0} 358 | switchSmallIcons_1: {fileID: 0} 359 | switchSmallIcons_2: {fileID: 0} 360 | switchSmallIcons_3: {fileID: 0} 361 | switchSmallIcons_4: {fileID: 0} 362 | switchSmallIcons_5: {fileID: 0} 363 | switchSmallIcons_6: {fileID: 0} 364 | switchSmallIcons_7: {fileID: 0} 365 | switchSmallIcons_8: {fileID: 0} 366 | switchSmallIcons_9: {fileID: 0} 367 | switchSmallIcons_10: {fileID: 0} 368 | switchSmallIcons_11: {fileID: 0} 369 | switchSmallIcons_12: {fileID: 0} 370 | switchSmallIcons_13: {fileID: 0} 371 | switchSmallIcons_14: {fileID: 0} 372 | switchManualHTML: 373 | switchAccessibleURLs: 374 | switchLegalInformation: 375 | switchMainThreadStackSize: 1048576 376 | switchPresenceGroupId: 377 | switchLogoHandling: 0 378 | switchReleaseVersion: 0 379 | switchDisplayVersion: 1.0.0 380 | switchStartupUserAccount: 0 381 | switchTouchScreenUsage: 0 382 | switchSupportedLanguagesMask: 0 383 | switchLogoType: 0 384 | switchApplicationErrorCodeCategory: 385 | switchUserAccountSaveDataSize: 0 386 | switchUserAccountSaveDataJournalSize: 0 387 | switchApplicationAttribute: 0 388 | switchCardSpecSize: -1 389 | switchCardSpecClock: -1 390 | switchRatingsMask: 0 391 | switchRatingsInt_0: 0 392 | switchRatingsInt_1: 0 393 | switchRatingsInt_2: 0 394 | switchRatingsInt_3: 0 395 | switchRatingsInt_4: 0 396 | switchRatingsInt_5: 0 397 | switchRatingsInt_6: 0 398 | switchRatingsInt_7: 0 399 | switchRatingsInt_8: 0 400 | switchRatingsInt_9: 0 401 | switchRatingsInt_10: 0 402 | switchRatingsInt_11: 0 403 | switchLocalCommunicationIds_0: 404 | switchLocalCommunicationIds_1: 405 | switchLocalCommunicationIds_2: 406 | switchLocalCommunicationIds_3: 407 | switchLocalCommunicationIds_4: 408 | switchLocalCommunicationIds_5: 409 | switchLocalCommunicationIds_6: 410 | switchLocalCommunicationIds_7: 411 | switchParentalControl: 0 412 | switchAllowsScreenshot: 1 413 | switchAllowsVideoCapturing: 1 414 | switchAllowsRuntimeAddOnContentInstall: 0 415 | switchDataLossConfirmation: 0 416 | switchSupportedNpadStyles: 3 417 | switchSocketConfigEnabled: 0 418 | switchTcpInitialSendBufferSize: 32 419 | switchTcpInitialReceiveBufferSize: 64 420 | switchTcpAutoSendBufferSizeMax: 256 421 | switchTcpAutoReceiveBufferSizeMax: 256 422 | switchUdpSendBufferSize: 9 423 | switchUdpReceiveBufferSize: 42 424 | switchSocketBufferEfficiency: 4 425 | switchSocketInitializeEnabled: 1 426 | switchNetworkInterfaceManagerInitializeEnabled: 1 427 | switchPlayerConnectionEnabled: 1 428 | ps4NPAgeRating: 12 429 | ps4NPTitleSecret: 430 | ps4NPTrophyPackPath: 431 | ps4ParentalLevel: 11 432 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 433 | ps4Category: 0 434 | ps4MasterVersion: 01.00 435 | ps4AppVersion: 01.00 436 | ps4AppType: 0 437 | ps4ParamSfxPath: 438 | ps4VideoOutPixelFormat: 0 439 | ps4VideoOutInitialWidth: 1920 440 | ps4VideoOutBaseModeInitialWidth: 1920 441 | ps4VideoOutReprojectionRate: 60 442 | ps4PronunciationXMLPath: 443 | ps4PronunciationSIGPath: 444 | ps4BackgroundImagePath: 445 | ps4StartupImagePath: 446 | ps4StartupImagesFolder: 447 | ps4IconImagesFolder: 448 | ps4SaveDataImagePath: 449 | ps4SdkOverride: 450 | ps4BGMPath: 451 | ps4ShareFilePath: 452 | ps4ShareOverlayImagePath: 453 | ps4PrivacyGuardImagePath: 454 | ps4NPtitleDatPath: 455 | ps4RemotePlayKeyAssignment: -1 456 | ps4RemotePlayKeyMappingDir: 457 | ps4PlayTogetherPlayerCount: 0 458 | ps4EnterButtonAssignment: 1 459 | ps4ApplicationParam1: 0 460 | ps4ApplicationParam2: 0 461 | ps4ApplicationParam3: 0 462 | ps4ApplicationParam4: 0 463 | ps4DownloadDataSize: 0 464 | ps4GarlicHeapSize: 2048 465 | ps4ProGarlicHeapSize: 2560 466 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 467 | ps4pnSessions: 1 468 | ps4pnPresence: 1 469 | ps4pnFriends: 1 470 | ps4pnGameCustomData: 1 471 | playerPrefsSupport: 0 472 | restrictedAudioUsageRights: 0 473 | ps4UseResolutionFallback: 0 474 | ps4ReprojectionSupport: 0 475 | ps4UseAudio3dBackend: 0 476 | ps4SocialScreenEnabled: 0 477 | ps4ScriptOptimizationLevel: 0 478 | ps4Audio3dVirtualSpeakerCount: 14 479 | ps4attribCpuUsage: 0 480 | ps4PatchPkgPath: 481 | ps4PatchLatestPkgPath: 482 | ps4PatchChangeinfoPath: 483 | ps4PatchDayOne: 0 484 | ps4attribUserManagement: 0 485 | ps4attribMoveSupport: 0 486 | ps4attrib3DSupport: 0 487 | ps4attribShareSupport: 0 488 | ps4attribExclusiveVR: 0 489 | ps4disableAutoHideSplash: 0 490 | ps4videoRecordingFeaturesUsed: 0 491 | ps4contentSearchFeaturesUsed: 0 492 | ps4attribEyeToEyeDistanceSettingVR: 0 493 | ps4IncludedModules: [] 494 | monoEnv: 495 | psp2Splashimage: {fileID: 0} 496 | psp2NPTrophyPackPath: 497 | psp2NPSupportGBMorGJP: 0 498 | psp2NPAgeRating: 12 499 | psp2NPTitleDatPath: 500 | psp2NPCommsID: 501 | psp2NPCommunicationsID: 502 | psp2NPCommsPassphrase: 503 | psp2NPCommsSig: 504 | psp2ParamSfxPath: 505 | psp2ManualPath: 506 | psp2LiveAreaGatePath: 507 | psp2LiveAreaBackroundPath: 508 | psp2LiveAreaPath: 509 | psp2LiveAreaTrialPath: 510 | psp2PatchChangeInfoPath: 511 | psp2PatchOriginalPackage: 512 | psp2PackagePassword: F69AzBlax3CF3EDNhm3soLBPh71Yexui 513 | psp2KeystoneFile: 514 | psp2MemoryExpansionMode: 0 515 | psp2DRMType: 0 516 | psp2StorageType: 0 517 | psp2MediaCapacity: 0 518 | psp2DLCConfigPath: 519 | psp2ThumbnailPath: 520 | psp2BackgroundPath: 521 | psp2SoundPath: 522 | psp2TrophyCommId: 523 | psp2TrophyPackagePath: 524 | psp2PackagedResourcesPath: 525 | psp2SaveDataQuota: 10240 526 | psp2ParentalLevel: 1 527 | psp2ShortTitle: Not Set 528 | psp2ContentID: IV0000-ABCD12345_00-0123456789ABCDEF 529 | psp2Category: 0 530 | psp2MasterVersion: 01.00 531 | psp2AppVersion: 01.00 532 | psp2TVBootMode: 0 533 | psp2EnterButtonAssignment: 2 534 | psp2TVDisableEmu: 0 535 | psp2AllowTwitterDialog: 1 536 | psp2Upgradable: 0 537 | psp2HealthWarning: 0 538 | psp2UseLibLocation: 0 539 | psp2InfoBarOnStartup: 0 540 | psp2InfoBarColor: 0 541 | psp2ScriptOptimizationLevel: 0 542 | psmSplashimage: {fileID: 0} 543 | splashScreenBackgroundSourceLandscape: {fileID: 0} 544 | splashScreenBackgroundSourcePortrait: {fileID: 0} 545 | spritePackerPolicy: 546 | webGLMemorySize: 256 547 | webGLExceptionSupport: 1 548 | webGLNameFilesAsHashes: 0 549 | webGLDataCaching: 0 550 | webGLDebugSymbols: 0 551 | webGLEmscriptenArgs: 552 | webGLModulesDirectory: 553 | webGLTemplate: APPLICATION:Default 554 | webGLAnalyzeBuildSize: 0 555 | webGLUseEmbeddedResources: 0 556 | webGLUseWasm: 0 557 | webGLCompressionFormat: 1 558 | scriptingDefineSymbols: {} 559 | platformArchitecture: {} 560 | scriptingBackend: 561 | Metro: 2 562 | incrementalIl2cppBuild: {} 563 | additionalIl2CppArgs: 564 | scriptingRuntimeVersion: 0 565 | apiCompatibilityLevelPerPlatform: {} 566 | m_RenderingPath: 1 567 | m_MobileRenderingPath: 1 568 | metroPackageName: UnityXAML 569 | metroPackageVersion: 1.0.0.0 570 | metroCertificatePath: Assets/WSATestCertificate.pfx 571 | metroCertificatePassword: 572 | metroCertificateSubject: DefaultCompany 573 | metroCertificateIssuer: DefaultCompany 574 | metroCertificateNotAfter: 004533a615aad401 575 | metroApplicationDescription: UnityXAML 576 | wsaImages: {} 577 | metroTileShortName: 578 | metroCommandLineArgsFile: 579 | metroTileShowName: 0 580 | metroMediumTileShowName: 0 581 | metroLargeTileShowName: 0 582 | metroWideTileShowName: 0 583 | metroDefaultTileSize: 1 584 | metroTileForegroundText: 2 585 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 586 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, 587 | a: 1} 588 | metroSplashScreenUseBackgroundColor: 0 589 | platformCapabilities: 590 | WindowsStoreApps: 591 | AllJoyn: False 592 | BlockedChatMessages: False 593 | Bluetooth: False 594 | Chat: False 595 | CodeGeneration: False 596 | EnterpriseAuthentication: False 597 | HumanInterfaceDevice: False 598 | InputInjectionBrokered: False 599 | InternetClient: True 600 | InternetClientServer: False 601 | Location: False 602 | Microphone: False 603 | MusicLibrary: False 604 | Objects3D: False 605 | PhoneCall: False 606 | PicturesLibrary: False 607 | PrivateNetworkClientServer: False 608 | Proximity: False 609 | RemovableStorage: False 610 | SharedUserCertificates: False 611 | SpatialPerception: False 612 | UserAccountInformation: False 613 | VideosLibrary: False 614 | VoipCall: False 615 | WebCam: False 616 | metroFTAName: 617 | metroFTAFileTypes: [] 618 | metroProtocolName: 619 | metroCompilationOverrides: 1 620 | tizenProductDescription: 621 | tizenProductURL: 622 | tizenSigningProfileName: 623 | tizenGPSPermissions: 0 624 | tizenMicrophonePermissions: 0 625 | tizenDeploymentTarget: 626 | tizenDeploymentTargetType: -1 627 | tizenMinOSVersion: 1 628 | n3dsUseExtSaveData: 0 629 | n3dsCompressStaticMem: 1 630 | n3dsExtSaveDataNumber: 0x12345 631 | n3dsStackSize: 131072 632 | n3dsTargetPlatform: 2 633 | n3dsRegion: 7 634 | n3dsMediaSize: 0 635 | n3dsLogoStyle: 3 636 | n3dsTitle: GameName 637 | n3dsProductCode: 638 | n3dsApplicationId: 0xFF3FF 639 | XboxOneProductId: 640 | XboxOneUpdateKey: 641 | XboxOneSandboxId: 642 | XboxOneContentId: 643 | XboxOneTitleId: 644 | XboxOneSCId: 645 | XboxOneGameOsOverridePath: 646 | XboxOnePackagingOverridePath: 647 | XboxOneAppManifestOverridePath: 648 | XboxOnePackageEncryption: 0 649 | XboxOnePackageUpdateGranularity: 2 650 | XboxOneDescription: 651 | XboxOneLanguage: 652 | - enus 653 | XboxOneCapability: [] 654 | XboxOneGameRating: {} 655 | XboxOneIsContentPackage: 0 656 | XboxOneEnableGPUVariability: 0 657 | XboxOneSockets: {} 658 | XboxOneSplashScreen: {fileID: 0} 659 | XboxOneAllowedProductIds: [] 660 | XboxOnePersistentLocalStorageSize: 0 661 | xboxOneScriptCompiler: 0 662 | vrEditorSettings: 663 | daydream: 664 | daydreamIconForeground: {fileID: 0} 665 | daydreamIconBackground: {fileID: 0} 666 | cloudServicesEnabled: 667 | Collab: 1 668 | UNet: 1 669 | facebookSdkVersion: 7.9.4 670 | apiCompatibilityLevel: 2 671 | cloudProjectId: 57771e73-eddb-4ce5-8786-5987e36099ed 672 | projectName: UnityXAML 673 | organizationId: davidshoe 674 | cloudEnabled: 0 675 | enableNativePlatformBackendsForNewInputSystem: 0 676 | disableOldInputManagerSupport: 0 677 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2017.3.0f3 2 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 5 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Very Low 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 0 21 | blendWeights: 1 22 | textureQuality: 1 23 | anisotropicTextures: 0 24 | antiAliasing: 0 25 | softParticles: 0 26 | softVegetation: 0 27 | realtimeReflectionProbes: 0 28 | billboardsFaceCameraPosition: 0 29 | vSyncCount: 0 30 | lodBias: 0.3 31 | maximumLODLevel: 0 32 | particleRaycastBudget: 4 33 | asyncUploadTimeSlice: 2 34 | asyncUploadBufferSize: 4 35 | resolutionScalingFixedDPIFactor: 1 36 | excludedTargetPlatforms: [] 37 | - serializedVersion: 2 38 | name: Low 39 | pixelLightCount: 0 40 | shadows: 0 41 | shadowResolution: 0 42 | shadowProjection: 1 43 | shadowCascades: 1 44 | shadowDistance: 20 45 | shadowNearPlaneOffset: 3 46 | shadowCascade2Split: 0.33333334 47 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 48 | shadowmaskMode: 0 49 | blendWeights: 2 50 | textureQuality: 0 51 | anisotropicTextures: 0 52 | antiAliasing: 0 53 | softParticles: 0 54 | softVegetation: 0 55 | realtimeReflectionProbes: 0 56 | billboardsFaceCameraPosition: 0 57 | vSyncCount: 0 58 | lodBias: 0.4 59 | maximumLODLevel: 0 60 | particleRaycastBudget: 16 61 | asyncUploadTimeSlice: 2 62 | asyncUploadBufferSize: 4 63 | resolutionScalingFixedDPIFactor: 1 64 | excludedTargetPlatforms: [] 65 | - serializedVersion: 2 66 | name: Medium 67 | pixelLightCount: 1 68 | shadows: 1 69 | shadowResolution: 0 70 | shadowProjection: 1 71 | shadowCascades: 1 72 | shadowDistance: 20 73 | shadowNearPlaneOffset: 3 74 | shadowCascade2Split: 0.33333334 75 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 76 | shadowmaskMode: 0 77 | blendWeights: 2 78 | textureQuality: 0 79 | anisotropicTextures: 1 80 | antiAliasing: 0 81 | softParticles: 0 82 | softVegetation: 0 83 | realtimeReflectionProbes: 0 84 | billboardsFaceCameraPosition: 0 85 | vSyncCount: 1 86 | lodBias: 0.7 87 | maximumLODLevel: 0 88 | particleRaycastBudget: 64 89 | asyncUploadTimeSlice: 2 90 | asyncUploadBufferSize: 4 91 | resolutionScalingFixedDPIFactor: 1 92 | excludedTargetPlatforms: [] 93 | - serializedVersion: 2 94 | name: High 95 | pixelLightCount: 2 96 | shadows: 2 97 | shadowResolution: 1 98 | shadowProjection: 1 99 | shadowCascades: 2 100 | shadowDistance: 40 101 | shadowNearPlaneOffset: 3 102 | shadowCascade2Split: 0.33333334 103 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 104 | shadowmaskMode: 1 105 | blendWeights: 2 106 | textureQuality: 0 107 | anisotropicTextures: 1 108 | antiAliasing: 0 109 | softParticles: 0 110 | softVegetation: 1 111 | realtimeReflectionProbes: 1 112 | billboardsFaceCameraPosition: 1 113 | vSyncCount: 1 114 | lodBias: 1 115 | maximumLODLevel: 0 116 | particleRaycastBudget: 256 117 | asyncUploadTimeSlice: 2 118 | asyncUploadBufferSize: 4 119 | resolutionScalingFixedDPIFactor: 1 120 | excludedTargetPlatforms: [] 121 | - serializedVersion: 2 122 | name: Very High 123 | pixelLightCount: 3 124 | shadows: 2 125 | shadowResolution: 2 126 | shadowProjection: 1 127 | shadowCascades: 2 128 | shadowDistance: 70 129 | shadowNearPlaneOffset: 3 130 | shadowCascade2Split: 0.33333334 131 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 132 | shadowmaskMode: 1 133 | blendWeights: 4 134 | textureQuality: 0 135 | anisotropicTextures: 2 136 | antiAliasing: 2 137 | softParticles: 1 138 | softVegetation: 1 139 | realtimeReflectionProbes: 1 140 | billboardsFaceCameraPosition: 1 141 | vSyncCount: 1 142 | lodBias: 1.5 143 | maximumLODLevel: 0 144 | particleRaycastBudget: 1024 145 | asyncUploadTimeSlice: 2 146 | asyncUploadBufferSize: 4 147 | resolutionScalingFixedDPIFactor: 1 148 | excludedTargetPlatforms: [] 149 | - serializedVersion: 2 150 | name: Ultra 151 | pixelLightCount: 4 152 | shadows: 2 153 | shadowResolution: 2 154 | shadowProjection: 1 155 | shadowCascades: 4 156 | shadowDistance: 150 157 | shadowNearPlaneOffset: 3 158 | shadowCascade2Split: 0.33333334 159 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 160 | shadowmaskMode: 1 161 | blendWeights: 4 162 | textureQuality: 0 163 | anisotropicTextures: 2 164 | antiAliasing: 2 165 | softParticles: 1 166 | softVegetation: 1 167 | realtimeReflectionProbes: 1 168 | billboardsFaceCameraPosition: 1 169 | vSyncCount: 1 170 | lodBias: 2 171 | maximumLODLevel: 0 172 | particleRaycastBudget: 4096 173 | asyncUploadTimeSlice: 2 174 | asyncUploadBufferSize: 4 175 | resolutionScalingFixedDPIFactor: 1 176 | excludedTargetPlatforms: [] 177 | m_PerPlatformDefaultQuality: 178 | Android: 2 179 | Nintendo 3DS: 5 180 | Nintendo Switch: 5 181 | PS4: 5 182 | PSM: 5 183 | PSP2: 2 184 | Samsung TV: 2 185 | Standalone: 5 186 | Tizen: 2 187 | WebGL: 3 188 | WiiU: 5 189 | Windows Store Apps: 5 190 | XboxOne: 5 191 | iPhone: 2 192 | tvOS: 2 193 | -------------------------------------------------------------------------------- /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 | m_Enabled: 0 7 | m_TestMode: 0 8 | m_TestEventUrl: 9 | m_TestConfigUrl: 10 | m_TestInitMode: 0 11 | CrashReportingSettings: 12 | m_EventUrl: https://perf-events.cloud.unity3d.com/api/events/crashes 13 | m_NativeEventUrl: https://perf-events.cloud.unity3d.com/symbolicate 14 | m_Enabled: 0 15 | m_CaptureEditorExceptions: 1 16 | UnityPurchasingSettings: 17 | m_Enabled: 0 18 | m_TestMode: 0 19 | UnityAnalyticsSettings: 20 | m_Enabled: 1 21 | m_InitializeOnStartup: 1 22 | m_TestMode: 0 23 | m_TestEventUrl: 24 | m_TestConfigUrl: 25 | UnityAdsSettings: 26 | m_Enabled: 0 27 | m_InitializeOnStartup: 1 28 | m_TestMode: 0 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Note: This repo is now archived. It is still available READ ONLY for forking or historical interest. 2 | 3 | # UnityXAML 4 | Unity sample project showing a XAML webview and interaction with a Unity application 5 | 6 | # Contributing 7 | 8 | This project welcomes contributions and suggestions. Most contributions require you to agree to a 9 | Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us 10 | the rights to use your contribution. For details, visit https://cla.microsoft.com. 11 | 12 | When you submit a pull request, a CLA-bot will automatically determine whether you need to provide 13 | a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions 14 | provided by the bot. You will only need to do this once across all repos using our CLA. 15 | 16 | This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). 17 | For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or 18 | contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. 19 | 20 | *Following documentation only tells you how to build the project* 21 | 22 | ## Requirements 23 | Minimum MSVS 2017 24 | Minimum Unity 2017.3.x 25 | 26 | The Unity sample project can be found in the UWPXaml directory. Open Unity 2017 and open the project "On Disk" 27 | 28 | ## UnityXAML 29 | 30 | The unity sample project. 31 | 32 | ## UnityXAML\Build 33 | This directory contains some files which will be overlayed with a Unity generated XAML project. 34 | 35 | 36 | # Build Instructions 37 | Open the project in Unity by selecting the root folder of this cloned repo locally from the file->open project menu dialogs. 38 | 39 | NOTE: You might get a dialog saying there is a Missing Project ID so you can't use Unity Services. Select "Yes" and continue. 40 | 41 | Under the Assets folder in project pane, open the 'MainScene' in _Scenes folder. 42 | From Unity, choose File->Build Settings to bring up the Build Settings window. 43 | Click Add open scenes to in build section, it should be checked. 44 | 45 | ### Choose Universal Windows Platform as the Platform. 46 | Then under the options 47 | 48 | + Choose "any device" as the Target device. 49 | 50 | + XAML as the UWP Build Type 51 | 52 | + Latest Installed as the SDK 53 | 54 | + Check "Unity C# Projects" 55 | 56 | + Then click Build. 57 | 58 | + Select the folder called 'UWP' and choose this folder. 59 | 60 | + Wait for successful build. 61 | 62 | ### Open the UnityXAML\UWP\UnityXAML.sln in MSVC 2017 or higher. 63 | Select Debug|Release and x64|x32|Any CPU (depending on your VS configuration) 64 | * Visual Studio 2017 is required to build this project 65 | 66 | Once you have opened the solution you can Build->Solution and then run the sample. 67 | 68 | NOTE: If you get an option "Attach to unity" you have opened the incorrect SLN file. Ensure you open the UnityXAML\UWP\UnityXAML.sln and not UnityXaml\UnityXAML.sln 69 | 70 | The sample is composed of two parts, the XAML portion and the unity portion with a communication class used to pass information between them. 71 | 72 | When you start the application you should get a split screen view. 73 | 74 | #### The upper portion is controlled by the mainpage.xaml and contain: 75 | * Two buttons 76 | * A text block 77 | * And a web view 78 | #### The lower is the unity scene, which contains: 79 | * One button 80 | * And a view used to show results. 81 | 82 | Pressing "Web Navigate XAML" cause the XAML web view to navigate to a web page. 83 | Pressing "Send To Unity (XAML)" will cause the feedback view to show a new message. 84 | Pressing "SendDataToXAML (UB)" will cause a message to be sent to the xaml portion showing a count of events from Unity. 85 | 86 | Starting 87 | ![Sample Image](SampleScreenShot.png) 88 | 89 | After use 90 | ![Sample Image](SampleScreenShot2.png) 91 | 92 | 93 | 94 | 95 | -------------------------------------------------------------------------------- /SampleScreenShot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/Unity-Xaml-Sample/a1570f2900f4f5c4491c45f8c47d3e685f4c93d2/SampleScreenShot.png -------------------------------------------------------------------------------- /SampleScreenShot2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/Unity-Xaml-Sample/a1570f2900f4f5c4491c45f8c47d3e685f4c93d2/SampleScreenShot2.png -------------------------------------------------------------------------------- /UWP/UnityXaml/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Runtime.InteropServices.WindowsRuntime; 6 | using Windows.ApplicationModel; 7 | using Windows.ApplicationModel.Activation; 8 | using Windows.Foundation; 9 | using Windows.Foundation.Collections; 10 | using Windows.UI.Core; 11 | using Windows.UI.ViewManagement; 12 | using Windows.UI.Xaml; 13 | using Windows.UI.Xaml.Controls; 14 | using Windows.UI.Xaml.Controls.Primitives; 15 | using Windows.UI.Xaml.Data; 16 | using Windows.UI.Xaml.Input; 17 | using Windows.UI.Xaml.Media; 18 | using Windows.UI.Xaml.Navigation; 19 | using UnityPlayer; 20 | // The Blank Application template is documented at http://go.microsoft.com/fwlink/?LinkId=234227 21 | 22 | namespace UnityXAML 23 | { 24 | /// 25 | /// Provides application-specific behavior to supplement the default Application class. 26 | /// 27 | sealed partial class App : Application 28 | { 29 | private AppCallbacks appCallbacks; 30 | public SplashScreen splashScreen; 31 | 32 | /// 33 | /// Initializes the singleton application object. This is the first line of authored code 34 | /// executed, and as such is the logical equivalent of main() or WinMain(). 35 | /// 36 | public App() 37 | { 38 | this.InitializeComponent(); 39 | SetupOrientation(); 40 | appCallbacks = new AppCallbacks(); 41 | } 42 | 43 | /// 44 | /// Invoked when application is launched through protocol. 45 | /// Read more - http://msdn.microsoft.com/library/windows/apps/br224742 46 | /// 47 | /// 48 | protected override void OnActivated(IActivatedEventArgs args) 49 | { 50 | string appArgs = ""; 51 | 52 | switch (args.Kind) 53 | { 54 | case ActivationKind.Protocol: 55 | ProtocolActivatedEventArgs eventArgs = args as ProtocolActivatedEventArgs; 56 | splashScreen = eventArgs.SplashScreen; 57 | appArgs += string.Format("Uri={0}", eventArgs.Uri.AbsoluteUri); 58 | break; 59 | } 60 | InitializeUnity(appArgs); 61 | } 62 | 63 | /// 64 | /// Invoked when application is launched via file 65 | /// Read more - http://msdn.microsoft.com/library/windows/apps/br224742 66 | /// 67 | /// 68 | protected override void OnFileActivated(FileActivatedEventArgs args) 69 | { 70 | string appArgs = ""; 71 | 72 | splashScreen = args.SplashScreen; 73 | appArgs += "File="; 74 | bool firstFileAdded = false; 75 | foreach (var file in args.Files) 76 | { 77 | if (firstFileAdded) appArgs += ";"; 78 | appArgs += file.Path; 79 | firstFileAdded = true; 80 | } 81 | 82 | InitializeUnity(appArgs); 83 | } 84 | 85 | /// 86 | /// Invoked when the application is launched normally by the end user. Other entry points 87 | /// will be used when the application is launched to open a specific file, to display 88 | /// search results, and so forth. 89 | /// 90 | /// Details about the launch request and process. 91 | protected override void OnLaunched(LaunchActivatedEventArgs args) 92 | { 93 | splashScreen = args.SplashScreen; 94 | InitializeUnity(args.Arguments); 95 | } 96 | 97 | private void InitializeUnity(string args) 98 | { 99 | ApplicationView.GetForCurrentView().SuppressSystemOverlays = true; 100 | 101 | appCallbacks.SetAppArguments(args); 102 | Frame rootFrame = Window.Current.Content as Frame; 103 | 104 | // Do not repeat app initialization when the Window already has content, 105 | // just ensure that the window is active 106 | if (rootFrame == null && !appCallbacks.IsInitialized()) 107 | { 108 | rootFrame = new Frame(); 109 | Window.Current.Content = rootFrame; 110 | #if !UNITY_HOLOGRAPHIC 111 | Window.Current.Activate(); 112 | #endif 113 | rootFrame.Navigate(typeof(MainPage)); 114 | } 115 | 116 | Window.Current.Activate(); 117 | } 118 | 119 | void SetupOrientation() 120 | { 121 | Unity.UnityGenerated.SetupDisplay(); 122 | } 123 | } 124 | } 125 | -------------------------------------------------------------------------------- /UWP/UnityXaml/MainPage.xaml: -------------------------------------------------------------------------------- 1 |  14 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 |