├── .gitignore ├── Assets ├── EasyDeviceDiscoveryProtocol.meta ├── EasyDeviceDiscoveryProtocol │ ├── LICENSE │ ├── LICENSE.meta │ ├── RequestJson.cs │ ├── RequestJson.cs.meta │ ├── Requester.cs │ ├── Requester.cs.meta │ ├── Responder.cs │ └── Responder.cs.meta ├── Scenes.meta └── Scenes │ ├── SampleScene.unity │ └── SampleScene.unity.meta ├── LICENSE ├── Packages └── manifest.json ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset ├── UnityConnectSettings.asset └── VFXManager.asset ├── README.md ├── doc ├── doc.md ├── insp.png ├── req_Inspector.png └── resp_Inspector.png └── img ├── image.png └── image.pptx /.gitignore: -------------------------------------------------------------------------------- 1 | # This .gitignore file should be placed at the root of your Unity project directory 2 | # 3 | # Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore 4 | # 5 | /[Ll]ibrary/ 6 | /[Tt]emp/ 7 | /[Oo]bj/ 8 | /[Bb]uild/ 9 | /[Bb]uilds/ 10 | /[Ll]ogs/ 11 | /[Mm]emoryCaptures/ 12 | 13 | # Asset meta data should only be ignored when the corresponding asset is also ignored 14 | !/[Aa]ssets/**/*.meta 15 | 16 | # Uncomment this line if you wish to ignore the asset store tools plugin 17 | # /[Aa]ssets/AssetStoreTools* 18 | 19 | # Autogenerated Jetbrains Rider plugin 20 | [Aa]ssets/Plugins/Editor/JetBrains* 21 | 22 | # Visual Studio cache directory 23 | .vs/ 24 | 25 | # Gradle cache directory 26 | .gradle/ 27 | 28 | # Autogenerated VS/MD/Consulo solution and project files 29 | ExportedObj/ 30 | .consulo/ 31 | *.csproj 32 | *.unityproj 33 | *.sln 34 | *.suo 35 | *.tmp 36 | *.user 37 | *.userprefs 38 | *.pidb 39 | *.booproj 40 | *.svd 41 | *.pdb 42 | *.mdb 43 | *.opendb 44 | *.VC.db 45 | 46 | # Unity3D generated meta files 47 | *.pidb.meta 48 | *.pdb.meta 49 | *.mdb.meta 50 | 51 | # Unity3D generated file on crash reports 52 | sysinfo.txt 53 | 54 | # Builds 55 | *.apk 56 | *.unitypackage 57 | 58 | # Crashlytics generated file 59 | crashlytics-build.properties 60 | 61 | -------------------------------------------------------------------------------- /Assets/EasyDeviceDiscoveryProtocol.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ce71cae6d74f0c419712163f2210fc9 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/EasyDeviceDiscoveryProtocol/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 gpsnmeajp 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Assets/EasyDeviceDiscoveryProtocol/LICENSE.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b8b3e2aed24def348aaadd73fa546994 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/EasyDeviceDiscoveryProtocol/RequestJson.cs: -------------------------------------------------------------------------------- 1 | /* 2 | MIT License 3 | 4 | Copyright (c) 2020 gpsnmeajp 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in all 14 | copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 22 | SOFTWARE. 23 | */ 24 | using System.Collections; 25 | using System.Collections.Generic; 26 | using UnityEngine; 27 | 28 | namespace EasyDeviceDiscoveryProtocolClient 29 | { 30 | [SerializeField] 31 | public class RequestJson { 32 | public const int protocolVersion = 1; 33 | //--------------------------------------------- 34 | public int servicePort = 0; 35 | public string deviceName = ""; 36 | public int version = 0; //初期値は無印版 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Assets/EasyDeviceDiscoveryProtocol/RequestJson.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 01d96cbabd46184458f5c46a2fe204c7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/EasyDeviceDiscoveryProtocol/Requester.cs: -------------------------------------------------------------------------------- 1 | /* 2 | MIT License 3 | 4 | Copyright (c) 2020 gpsnmeajp 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in all 14 | copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 22 | SOFTWARE. 23 | */ 24 | using System; 25 | using System.Text; 26 | using System.Net; 27 | using System.Net.Sockets; 28 | using System.Net.NetworkInformation; 29 | using System.Collections; 30 | using System.Collections.Generic; 31 | using UnityEngine; 32 | using UnityEngine.UI; 33 | 34 | namespace EasyDeviceDiscoveryProtocolClient 35 | { 36 | public class Requester : MonoBehaviour 37 | { 38 | [Header("Settings")] 39 | public int discoverPort = 39500; //待受ポート 40 | 41 | [Header("Properties")] 42 | public string deivceName = "mydevice_client";//自分のデバイス名 43 | public int servicePort = 11111;//自分が使ってほしいと思っているポート 44 | public string ignoreDeivceName = ""; //無視するデバイス名 45 | public bool desktopMode = false; //デスクトップモード(false: 非アクティブ時にポートを閉じる, true: 閉じない) 46 | 47 | [Header("Response Info(Read only)")] 48 | public string responseIpAddress = ""; //応答帰ってきたアドレス 49 | private int responsePort = 0; //応答帰ってきたポート 50 | public int responseProtocolVersion = 0; //要求のプロトコルバージョン 51 | public int foundDevices = 0; //見つかった台数 52 | 53 | [Header("Response Data(Read only)")] 54 | public string responseDeviceName = "";//データとして含まれるデバイス名 55 | public int responseServicePort = 0;//データとして含まれるポート 56 | 57 | [Header("Test")] 58 | public bool exec = false;//テスト実行 59 | 60 | public Action OnDeviceFound = null; 61 | 62 | UdpClient udpClient = null; 63 | UTF8Encoding utf8 = new UTF8Encoding(false); //BOMなし 64 | 65 | //探索開始(ボタン用) 66 | public void StartDiscover() 67 | { 68 | StartDiscover(() => { Debug.Log("[EDDP Requester]Found"); }); 69 | } 70 | 71 | //探索開始(外部からコールされる) 72 | public void StartDiscover(Action OnDeviceFound) 73 | { 74 | this.OnDeviceFound = OnDeviceFound; 75 | 76 | //受信結果を初期化 77 | responseIpAddress = ""; 78 | responsePort = 0; 79 | responseDeviceName = ""; 80 | responseProtocolVersion = 0; 81 | foundDevices = 0; 82 | 83 | //jsonデータ生成 84 | string data = JsonUtility.ToJson(new RequestJson 85 | { 86 | servicePort = servicePort, 87 | deviceName = deivceName, 88 | version = RequestJson.protocolVersion, 89 | }); 90 | byte[] dat = utf8.GetBytes(data); 91 | 92 | //通信を開始準備する 93 | TryOpen(); 94 | 95 | //通信を開始できる状態なら 96 | if (udpClient != null) 97 | { 98 | udpClient.EnableBroadcast = true; //ブロードキャスト有効 99 | udpClient.MulticastLoopback = true; //ループバック許可 100 | udpClient.Send(dat, dat.Length, "255.255.255.255", discoverPort); 101 | } 102 | } 103 | 104 | //UDP通信の準備を行います 105 | void TryOpen() { 106 | //GameObjectが有効なときだけ開始する 107 | if (isActiveAndEnabled) 108 | { 109 | if (udpClient == null) 110 | { 111 | udpClient = new UdpClient(); 112 | Debug.Log("[EDDP Requester]UdpClient Open"); 113 | } 114 | } 115 | } 116 | 117 | //UDP通信の停止を行います。 118 | void Close() 119 | { 120 | if (udpClient != null) 121 | { 122 | try 123 | { 124 | udpClient?.Close(); 125 | Debug.Log("[EDDP Requester]UdpClient Closed"); 126 | } 127 | finally 128 | { 129 | udpClient = null; 130 | } 131 | } 132 | } 133 | 134 | //GameObjectがEnableになったとき開く 135 | private void OnEnable() 136 | { 137 | TryOpen(); 138 | } 139 | 140 | //GameObjectがDisableになったとき閉じる 141 | private void OnDisable() 142 | { 143 | Close(); 144 | } 145 | 146 | //GameObjectが破棄されるとき閉じる 147 | private void OnDestroy() 148 | { 149 | Close(); 150 | } 151 | 152 | //アプリケーションが終了するとき閉じる 153 | private void OnApplicationQuit() 154 | { 155 | Close(); 156 | } 157 | 158 | //アプリケーションが中断・復帰したとき(モバイルでバックグラウンドになった・エディタで別のフォーカスを当てられたとき) 159 | private void OnApplicationPause(bool pause) 160 | { 161 | //モバイルデバイス向けなので、デスクトップモードでは行わない 162 | if (!desktopMode) 163 | { 164 | if (pause) 165 | { 166 | //アプリが閉じられたら止める 167 | Close(); 168 | } 169 | else 170 | { 171 | //アプリが開かれたので開く 172 | TryOpen(); 173 | } 174 | } 175 | } 176 | 177 | //毎フレームループ。UDPパケットの受信処理を行う 178 | void Update() 179 | { 180 | if (exec) { 181 | exec = false; 182 | StartDiscover(() => { Debug.Log("[EDDP Requester]Found"); }); 183 | } 184 | 185 | if (udpClient != null) 186 | { 187 | while (udpClient.Available > 0) 188 | { 189 | IPEndPoint point = new IPEndPoint(IPAddress.Any, discoverPort); 190 | var r = udpClient.Receive(ref point); 191 | var res = JsonUtility.FromJson(utf8.GetString(r)); 192 | 193 | //無視デバイス名と一致しない場合だけ処理する 194 | if (res.deviceName != ignoreDeivceName) { 195 | responseIpAddress = point.Address.ToString(); 196 | responsePort = point.Port; 197 | responseProtocolVersion = res.version; 198 | 199 | responseDeviceName = res.deviceName; 200 | responseServicePort = res.servicePort; 201 | 202 | foundDevices++; 203 | OnDeviceFound?.Invoke(); 204 | } 205 | } 206 | } 207 | } 208 | } 209 | } -------------------------------------------------------------------------------- /Assets/EasyDeviceDiscoveryProtocol/Requester.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e40f235f907169c44a67a3dfb3516301 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/EasyDeviceDiscoveryProtocol/Responder.cs: -------------------------------------------------------------------------------- 1 | /* 2 | MIT License 3 | 4 | Copyright (c) 2020 gpsnmeajp 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in all 14 | copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 22 | SOFTWARE. 23 | */ 24 | using System; 25 | using System.Text; 26 | using System.Net; 27 | using System.Net.Sockets; 28 | using System.Collections; 29 | using System.Collections.Generic; 30 | using UnityEngine; 31 | using UnityEngine.UI; 32 | 33 | namespace EasyDeviceDiscoveryProtocolClient 34 | { 35 | public class Responder : MonoBehaviour 36 | { 37 | [Header("Settings")] 38 | public int discoverPort = 39500; //待受ポート 39 | 40 | [Header("Properties")] 41 | public string deivceName = "mydevice_server"; //自分のデバイス名 42 | public int servicePort = 22222; //自分が使ってほしいと思っているポート 43 | public string ignoreDeivceName = ""; //無視するデバイス名 44 | public bool desktopMode = false; //デスクトップモード(false: 非アクティブ時にポートを閉じる, true: 閉じない) 45 | 46 | [Header("Request Info(Read only)")] 47 | public string requestIpAddress = ""; //要求来たアドレス 48 | private int requestPort = 0; //要求来たポート 49 | public int requestProtocolVersion = 0; //要求のプロトコルバージョン 50 | 51 | [Header("Request Data(Read only)")] 52 | public string requestDeviceName = ""; //要求に含まれるデバイス名 53 | public int requestServicePort = 0; //要求に含まれるポート 54 | 55 | UdpClient udpClient; 56 | UTF8Encoding utf8 = new UTF8Encoding(false); 57 | 58 | public Action OnRequested = () => { Debug.Log("[EDDP Responder]On Request"); }; 59 | 60 | //UDP通信の準備を行います 61 | void TryOpen() 62 | { 63 | //GameObjectが有効なときだけ開始する 64 | if (isActiveAndEnabled) 65 | { 66 | if (udpClient == null) 67 | { 68 | udpClient = new UdpClient(discoverPort); 69 | udpClient.EnableBroadcast = true; //ブロードキャスト有効 70 | udpClient.MulticastLoopback = true; //ループバック許可 71 | Debug.Log("[EDDP Responder]UdpClient Open " + discoverPort); 72 | } 73 | } 74 | } 75 | 76 | //UDP通信の停止を行います。 77 | void Close() 78 | { 79 | if (udpClient != null) 80 | { 81 | try 82 | { 83 | udpClient?.Close(); 84 | Debug.Log("[EDDP Responder]UdpClient Closed"); 85 | } 86 | finally 87 | { 88 | udpClient = null; 89 | } 90 | } 91 | } 92 | 93 | //GameObjectがEnableになったとき開く 94 | private void OnEnable() 95 | { 96 | TryOpen(); 97 | } 98 | 99 | //GameObjectがDisableになったとき閉じる 100 | private void OnDisable() 101 | { 102 | Close(); 103 | } 104 | 105 | //GameObjectが破棄されるとき閉じる 106 | private void OnDestroy() 107 | { 108 | Close(); 109 | } 110 | 111 | //アプリケーションが終了するとき閉じる 112 | private void OnApplicationQuit() 113 | { 114 | Close(); 115 | } 116 | 117 | //アプリケーションが中断・復帰したとき(モバイルでバックグラウンドになった・エディタで別のフォーカスを当てられたとき) 118 | private void OnApplicationPause(bool pause) 119 | { 120 | //モバイルデバイス向けなので、デスクトップモードでは行わない 121 | if(!desktopMode) 122 | { 123 | if (pause) 124 | { 125 | //アプリが閉じられたら止める 126 | Close(); 127 | } 128 | else 129 | { 130 | //アプリが開かれたので開く 131 | TryOpen(); 132 | } 133 | } 134 | } 135 | 136 | void Update() 137 | { 138 | if (udpClient != null) 139 | { 140 | while (udpClient.Available > 0) 141 | { 142 | //応答を受信 143 | IPEndPoint point = new IPEndPoint(IPAddress.Any, discoverPort); //待受ポート兼応答先(変化後) 144 | var r = udpClient.Receive(ref point); 145 | var req = JsonUtility.FromJson(utf8.GetString(r)); 146 | 147 | //無視デバイス名と一致しない場合だけ処理する 148 | if(req.deviceName != ignoreDeivceName) 149 | { 150 | //要求内容を表示 151 | requestIpAddress = point.Address.ToString(); 152 | requestPort = point.Port; 153 | requestProtocolVersion = req.version; 154 | 155 | requestDeviceName = req.deviceName; 156 | requestServicePort = req.servicePort; 157 | 158 | //応答を送信 159 | string data = JsonUtility.ToJson(new RequestJson 160 | { 161 | servicePort = servicePort, 162 | deviceName = deivceName, 163 | version = RequestJson.protocolVersion, 164 | }); 165 | byte[] dat = utf8.GetBytes(data); 166 | udpClient.Send(dat, dat.Length, point); 167 | 168 | //コールバック送付 169 | OnRequested?.Invoke(); 170 | } 171 | } 172 | } 173 | 174 | } 175 | } 176 | } -------------------------------------------------------------------------------- /Assets/EasyDeviceDiscoveryProtocol/Responder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 682dbd80eb655474e985b5c32a929d40 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1a5ec642f62355540b1ee4959b81877b 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/SampleScene.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 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: 170076734} 41 | m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 11 47 | m_GIWorkflowMode: 0 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_EnvironmentLightingMode: 0 54 | m_EnableBakedLightmaps: 1 55 | m_EnableRealtimeLightmaps: 0 56 | m_LightmapEditorSettings: 57 | serializedVersion: 10 58 | m_Resolution: 2 59 | m_BakeResolution: 10 60 | m_AtlasSize: 512 61 | m_AO: 0 62 | m_AOMaxDistance: 1 63 | m_CompAOExponent: 1 64 | m_CompAOExponentDirect: 0 65 | m_Padding: 2 66 | m_LightmapParameters: {fileID: 0} 67 | m_LightmapsBakeMode: 1 68 | m_TextureCompression: 1 69 | m_FinalGather: 0 70 | m_FinalGatherFiltering: 1 71 | m_FinalGatherRayCount: 256 72 | m_ReflectionCompression: 2 73 | m_MixedBakeMode: 2 74 | m_BakeBackend: 1 75 | m_PVRSampling: 1 76 | m_PVRDirectSampleCount: 32 77 | m_PVRSampleCount: 256 78 | m_PVRBounces: 2 79 | m_PVRFilterTypeDirect: 0 80 | m_PVRFilterTypeIndirect: 0 81 | m_PVRFilterTypeAO: 0 82 | m_PVRFilteringMode: 1 83 | m_PVRCulling: 1 84 | m_PVRFilteringGaussRadiusDirect: 1 85 | m_PVRFilteringGaussRadiusIndirect: 5 86 | m_PVRFilteringGaussRadiusAO: 2 87 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 88 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 89 | m_PVRFilteringAtrousPositionSigmaAO: 1 90 | m_ShowResolutionOverlay: 1 91 | m_LightingDataAsset: {fileID: 0} 92 | m_UseShadowmask: 1 93 | --- !u!196 &4 94 | NavMeshSettings: 95 | serializedVersion: 2 96 | m_ObjectHideFlags: 0 97 | m_BuildSettings: 98 | serializedVersion: 2 99 | agentTypeID: 0 100 | agentRadius: 0.5 101 | agentHeight: 2 102 | agentSlope: 45 103 | agentClimb: 0.4 104 | ledgeDropHeight: 0 105 | maxJumpAcrossDistance: 0 106 | minRegionArea: 2 107 | manualCellSize: 0 108 | cellSize: 0.16666667 109 | manualTileSize: 0 110 | tileSize: 256 111 | accuratePlacement: 0 112 | debug: 113 | m_Flags: 0 114 | m_NavMeshData: {fileID: 0} 115 | --- !u!1 &170076733 116 | GameObject: 117 | m_ObjectHideFlags: 0 118 | m_CorrespondingSourceObject: {fileID: 0} 119 | m_PrefabInstance: {fileID: 0} 120 | m_PrefabAsset: {fileID: 0} 121 | serializedVersion: 6 122 | m_Component: 123 | - component: {fileID: 170076735} 124 | - component: {fileID: 170076734} 125 | m_Layer: 0 126 | m_Name: Directional Light 127 | m_TagString: Untagged 128 | m_Icon: {fileID: 0} 129 | m_NavMeshLayer: 0 130 | m_StaticEditorFlags: 0 131 | m_IsActive: 1 132 | --- !u!108 &170076734 133 | Light: 134 | m_ObjectHideFlags: 0 135 | m_CorrespondingSourceObject: {fileID: 0} 136 | m_PrefabInstance: {fileID: 0} 137 | m_PrefabAsset: {fileID: 0} 138 | m_GameObject: {fileID: 170076733} 139 | m_Enabled: 1 140 | serializedVersion: 8 141 | m_Type: 1 142 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 143 | m_Intensity: 1 144 | m_Range: 10 145 | m_SpotAngle: 30 146 | m_CookieSize: 10 147 | m_Shadows: 148 | m_Type: 2 149 | m_Resolution: -1 150 | m_CustomResolution: -1 151 | m_Strength: 1 152 | m_Bias: 0.05 153 | m_NormalBias: 0.4 154 | m_NearPlane: 0.2 155 | m_Cookie: {fileID: 0} 156 | m_DrawHalo: 0 157 | m_Flare: {fileID: 0} 158 | m_RenderMode: 0 159 | m_CullingMask: 160 | serializedVersion: 2 161 | m_Bits: 4294967295 162 | m_Lightmapping: 1 163 | m_LightShadowCasterMode: 0 164 | m_AreaSize: {x: 1, y: 1} 165 | m_BounceIntensity: 1 166 | m_ColorTemperature: 6570 167 | m_UseColorTemperature: 0 168 | m_ShadowRadius: 0 169 | m_ShadowAngle: 0 170 | --- !u!4 &170076735 171 | Transform: 172 | m_ObjectHideFlags: 0 173 | m_CorrespondingSourceObject: {fileID: 0} 174 | m_PrefabInstance: {fileID: 0} 175 | m_PrefabAsset: {fileID: 0} 176 | m_GameObject: {fileID: 170076733} 177 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} 178 | m_LocalPosition: {x: 0, y: 3, z: 0} 179 | m_LocalScale: {x: 1, y: 1, z: 1} 180 | m_Children: [] 181 | m_Father: {fileID: 0} 182 | m_RootOrder: 1 183 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} 184 | --- !u!1 &297345690 185 | GameObject: 186 | m_ObjectHideFlags: 0 187 | m_CorrespondingSourceObject: {fileID: 0} 188 | m_PrefabInstance: {fileID: 0} 189 | m_PrefabAsset: {fileID: 0} 190 | serializedVersion: 6 191 | m_Component: 192 | - component: {fileID: 297345694} 193 | - component: {fileID: 297345693} 194 | - component: {fileID: 297345692} 195 | - component: {fileID: 297345691} 196 | m_Layer: 5 197 | m_Name: Canvas 198 | m_TagString: Untagged 199 | m_Icon: {fileID: 0} 200 | m_NavMeshLayer: 0 201 | m_StaticEditorFlags: 0 202 | m_IsActive: 1 203 | --- !u!114 &297345691 204 | MonoBehaviour: 205 | m_ObjectHideFlags: 0 206 | m_CorrespondingSourceObject: {fileID: 0} 207 | m_PrefabInstance: {fileID: 0} 208 | m_PrefabAsset: {fileID: 0} 209 | m_GameObject: {fileID: 297345690} 210 | m_Enabled: 1 211 | m_EditorHideFlags: 0 212 | m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3} 213 | m_Name: 214 | m_EditorClassIdentifier: 215 | m_IgnoreReversedGraphics: 1 216 | m_BlockingObjects: 0 217 | m_BlockingMask: 218 | serializedVersion: 2 219 | m_Bits: 4294967295 220 | --- !u!114 &297345692 221 | MonoBehaviour: 222 | m_ObjectHideFlags: 0 223 | m_CorrespondingSourceObject: {fileID: 0} 224 | m_PrefabInstance: {fileID: 0} 225 | m_PrefabAsset: {fileID: 0} 226 | m_GameObject: {fileID: 297345690} 227 | m_Enabled: 1 228 | m_EditorHideFlags: 0 229 | m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3} 230 | m_Name: 231 | m_EditorClassIdentifier: 232 | m_UiScaleMode: 0 233 | m_ReferencePixelsPerUnit: 100 234 | m_ScaleFactor: 1 235 | m_ReferenceResolution: {x: 800, y: 600} 236 | m_ScreenMatchMode: 0 237 | m_MatchWidthOrHeight: 0 238 | m_PhysicalUnit: 3 239 | m_FallbackScreenDPI: 96 240 | m_DefaultSpriteDPI: 96 241 | m_DynamicPixelsPerUnit: 1 242 | --- !u!223 &297345693 243 | Canvas: 244 | m_ObjectHideFlags: 0 245 | m_CorrespondingSourceObject: {fileID: 0} 246 | m_PrefabInstance: {fileID: 0} 247 | m_PrefabAsset: {fileID: 0} 248 | m_GameObject: {fileID: 297345690} 249 | m_Enabled: 1 250 | serializedVersion: 3 251 | m_RenderMode: 0 252 | m_Camera: {fileID: 0} 253 | m_PlaneDistance: 100 254 | m_PixelPerfect: 0 255 | m_ReceivesEvents: 1 256 | m_OverrideSorting: 0 257 | m_OverridePixelPerfect: 0 258 | m_SortingBucketNormalizedSize: 0 259 | m_AdditionalShaderChannelsFlag: 0 260 | m_SortingLayerID: 0 261 | m_SortingOrder: 0 262 | m_TargetDisplay: 0 263 | --- !u!224 &297345694 264 | RectTransform: 265 | m_ObjectHideFlags: 0 266 | m_CorrespondingSourceObject: {fileID: 0} 267 | m_PrefabInstance: {fileID: 0} 268 | m_PrefabAsset: {fileID: 0} 269 | m_GameObject: {fileID: 297345690} 270 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 271 | m_LocalPosition: {x: 0, y: 0, z: 0} 272 | m_LocalScale: {x: 0, y: 0, z: 0} 273 | m_Children: 274 | - {fileID: 1393146879} 275 | m_Father: {fileID: 0} 276 | m_RootOrder: 3 277 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 278 | m_AnchorMin: {x: 0, y: 0} 279 | m_AnchorMax: {x: 0, y: 0} 280 | m_AnchoredPosition: {x: 0, y: 0} 281 | m_SizeDelta: {x: 0, y: 0} 282 | m_Pivot: {x: 0, y: 0} 283 | --- !u!1 &514491018 284 | GameObject: 285 | m_ObjectHideFlags: 0 286 | m_CorrespondingSourceObject: {fileID: 0} 287 | m_PrefabInstance: {fileID: 0} 288 | m_PrefabAsset: {fileID: 0} 289 | serializedVersion: 6 290 | m_Component: 291 | - component: {fileID: 514491019} 292 | - component: {fileID: 514491021} 293 | - component: {fileID: 514491020} 294 | m_Layer: 5 295 | m_Name: Text 296 | m_TagString: Untagged 297 | m_Icon: {fileID: 0} 298 | m_NavMeshLayer: 0 299 | m_StaticEditorFlags: 0 300 | m_IsActive: 1 301 | --- !u!224 &514491019 302 | RectTransform: 303 | m_ObjectHideFlags: 0 304 | m_CorrespondingSourceObject: {fileID: 0} 305 | m_PrefabInstance: {fileID: 0} 306 | m_PrefabAsset: {fileID: 0} 307 | m_GameObject: {fileID: 514491018} 308 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 309 | m_LocalPosition: {x: 0, y: 0, z: 0} 310 | m_LocalScale: {x: 1, y: 1, z: 1} 311 | m_Children: [] 312 | m_Father: {fileID: 1774228092} 313 | m_RootOrder: 0 314 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 315 | m_AnchorMin: {x: 0, y: 0} 316 | m_AnchorMax: {x: 1, y: 1} 317 | m_AnchoredPosition: {x: 0, y: 0} 318 | m_SizeDelta: {x: 0, y: 0} 319 | m_Pivot: {x: 0.5, y: 0.5} 320 | --- !u!114 &514491020 321 | MonoBehaviour: 322 | m_ObjectHideFlags: 0 323 | m_CorrespondingSourceObject: {fileID: 0} 324 | m_PrefabInstance: {fileID: 0} 325 | m_PrefabAsset: {fileID: 0} 326 | m_GameObject: {fileID: 514491018} 327 | m_Enabled: 1 328 | m_EditorHideFlags: 0 329 | m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} 330 | m_Name: 331 | m_EditorClassIdentifier: 332 | m_Material: {fileID: 0} 333 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} 334 | m_RaycastTarget: 1 335 | m_OnCullStateChanged: 336 | m_PersistentCalls: 337 | m_Calls: [] 338 | m_FontData: 339 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 340 | m_FontSize: 36 341 | m_FontStyle: 0 342 | m_BestFit: 0 343 | m_MinSize: 3 344 | m_MaxSize: 40 345 | m_Alignment: 4 346 | m_AlignByGeometry: 0 347 | m_RichText: 1 348 | m_HorizontalOverflow: 0 349 | m_VerticalOverflow: 0 350 | m_LineSpacing: 1 351 | m_Text: Ping 352 | --- !u!222 &514491021 353 | CanvasRenderer: 354 | m_ObjectHideFlags: 0 355 | m_CorrespondingSourceObject: {fileID: 0} 356 | m_PrefabInstance: {fileID: 0} 357 | m_PrefabAsset: {fileID: 0} 358 | m_GameObject: {fileID: 514491018} 359 | m_CullTransparentMesh: 0 360 | --- !u!1 &534669902 361 | GameObject: 362 | m_ObjectHideFlags: 0 363 | m_CorrespondingSourceObject: {fileID: 0} 364 | m_PrefabInstance: {fileID: 0} 365 | m_PrefabAsset: {fileID: 0} 366 | serializedVersion: 6 367 | m_Component: 368 | - component: {fileID: 534669905} 369 | - component: {fileID: 534669904} 370 | - component: {fileID: 534669903} 371 | m_Layer: 0 372 | m_Name: Main Camera 373 | m_TagString: MainCamera 374 | m_Icon: {fileID: 0} 375 | m_NavMeshLayer: 0 376 | m_StaticEditorFlags: 0 377 | m_IsActive: 1 378 | --- !u!81 &534669903 379 | AudioListener: 380 | m_ObjectHideFlags: 0 381 | m_CorrespondingSourceObject: {fileID: 0} 382 | m_PrefabInstance: {fileID: 0} 383 | m_PrefabAsset: {fileID: 0} 384 | m_GameObject: {fileID: 534669902} 385 | m_Enabled: 1 386 | --- !u!20 &534669904 387 | Camera: 388 | m_ObjectHideFlags: 0 389 | m_CorrespondingSourceObject: {fileID: 0} 390 | m_PrefabInstance: {fileID: 0} 391 | m_PrefabAsset: {fileID: 0} 392 | m_GameObject: {fileID: 534669902} 393 | m_Enabled: 1 394 | serializedVersion: 2 395 | m_ClearFlags: 2 396 | m_BackGroundColor: {r: 0.3584906, g: 0.3584906, b: 0.3584906, a: 0} 397 | m_projectionMatrixMode: 1 398 | m_SensorSize: {x: 36, y: 24} 399 | m_LensShift: {x: 0, y: 0} 400 | m_GateFitMode: 2 401 | m_FocalLength: 50 402 | m_NormalizedViewPortRect: 403 | serializedVersion: 2 404 | x: 0 405 | y: 0 406 | width: 1 407 | height: 1 408 | near clip plane: 0.3 409 | far clip plane: 1000 410 | field of view: 60 411 | orthographic: 0 412 | orthographic size: 5 413 | m_Depth: -1 414 | m_CullingMask: 415 | serializedVersion: 2 416 | m_Bits: 4294967295 417 | m_RenderingPath: -1 418 | m_TargetTexture: {fileID: 0} 419 | m_TargetDisplay: 0 420 | m_TargetEye: 3 421 | m_HDR: 1 422 | m_AllowMSAA: 1 423 | m_AllowDynamicResolution: 0 424 | m_ForceIntoRT: 0 425 | m_OcclusionCulling: 1 426 | m_StereoConvergence: 10 427 | m_StereoSeparation: 0.022 428 | --- !u!4 &534669905 429 | Transform: 430 | m_ObjectHideFlags: 0 431 | m_CorrespondingSourceObject: {fileID: 0} 432 | m_PrefabInstance: {fileID: 0} 433 | m_PrefabAsset: {fileID: 0} 434 | m_GameObject: {fileID: 534669902} 435 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 436 | m_LocalPosition: {x: 0, y: 1, z: -10} 437 | m_LocalScale: {x: 1, y: 1, z: 1} 438 | m_Children: [] 439 | m_Father: {fileID: 0} 440 | m_RootOrder: 0 441 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 442 | --- !u!1 &612043943 443 | GameObject: 444 | m_ObjectHideFlags: 0 445 | m_CorrespondingSourceObject: {fileID: 0} 446 | m_PrefabInstance: {fileID: 0} 447 | m_PrefabAsset: {fileID: 0} 448 | serializedVersion: 6 449 | m_Component: 450 | - component: {fileID: 612043946} 451 | - component: {fileID: 612043945} 452 | - component: {fileID: 612043944} 453 | m_Layer: 0 454 | m_Name: Test 455 | m_TagString: Untagged 456 | m_Icon: {fileID: 0} 457 | m_NavMeshLayer: 0 458 | m_StaticEditorFlags: 0 459 | m_IsActive: 1 460 | --- !u!114 &612043944 461 | MonoBehaviour: 462 | m_ObjectHideFlags: 0 463 | m_CorrespondingSourceObject: {fileID: 0} 464 | m_PrefabInstance: {fileID: 0} 465 | m_PrefabAsset: {fileID: 0} 466 | m_GameObject: {fileID: 612043943} 467 | m_Enabled: 1 468 | m_EditorHideFlags: 0 469 | m_Script: {fileID: 11500000, guid: e40f235f907169c44a67a3dfb3516301, type: 3} 470 | m_Name: 471 | m_EditorClassIdentifier: 472 | discoverPort: 39500 473 | deivceName: mydevice 474 | servicePort: 11111 475 | ignoreDeivceName: mydevice 476 | desktopMode: 1 477 | responseIpAddress: 478 | responseProtocolVersion: 0 479 | foundDevices: 0 480 | responseDeviceName: 481 | responseServicePort: 0 482 | exec: 0 483 | --- !u!114 &612043945 484 | MonoBehaviour: 485 | m_ObjectHideFlags: 0 486 | m_CorrespondingSourceObject: {fileID: 0} 487 | m_PrefabInstance: {fileID: 0} 488 | m_PrefabAsset: {fileID: 0} 489 | m_GameObject: {fileID: 612043943} 490 | m_Enabled: 1 491 | m_EditorHideFlags: 0 492 | m_Script: {fileID: 11500000, guid: 682dbd80eb655474e985b5c32a929d40, type: 3} 493 | m_Name: 494 | m_EditorClassIdentifier: 495 | discoverPort: 39500 496 | deivceName: mydevice 497 | servicePort: 22222 498 | ignoreDeivceName: mydevice 499 | desktopMode: 1 500 | requestIpAddress: 501 | requestProtocolVersion: 0 502 | requestDeviceName: 503 | requestServicePort: 0 504 | --- !u!4 &612043946 505 | Transform: 506 | m_ObjectHideFlags: 0 507 | m_CorrespondingSourceObject: {fileID: 0} 508 | m_PrefabInstance: {fileID: 0} 509 | m_PrefabAsset: {fileID: 0} 510 | m_GameObject: {fileID: 612043943} 511 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 512 | m_LocalPosition: {x: 457.15894, y: 308.33, z: -6.059817} 513 | m_LocalScale: {x: 1, y: 1, z: 1} 514 | m_Children: [] 515 | m_Father: {fileID: 0} 516 | m_RootOrder: 2 517 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 518 | --- !u!1 &1380479384 519 | GameObject: 520 | m_ObjectHideFlags: 0 521 | m_CorrespondingSourceObject: {fileID: 0} 522 | m_PrefabInstance: {fileID: 0} 523 | m_PrefabAsset: {fileID: 0} 524 | serializedVersion: 6 525 | m_Component: 526 | - component: {fileID: 1380479387} 527 | - component: {fileID: 1380479386} 528 | - component: {fileID: 1380479385} 529 | m_Layer: 0 530 | m_Name: EventSystem 531 | m_TagString: Untagged 532 | m_Icon: {fileID: 0} 533 | m_NavMeshLayer: 0 534 | m_StaticEditorFlags: 0 535 | m_IsActive: 1 536 | --- !u!114 &1380479385 537 | MonoBehaviour: 538 | m_ObjectHideFlags: 0 539 | m_CorrespondingSourceObject: {fileID: 0} 540 | m_PrefabInstance: {fileID: 0} 541 | m_PrefabAsset: {fileID: 0} 542 | m_GameObject: {fileID: 1380479384} 543 | m_Enabled: 1 544 | m_EditorHideFlags: 0 545 | m_Script: {fileID: 1077351063, guid: f70555f144d8491a825f0804e09c671c, type: 3} 546 | m_Name: 547 | m_EditorClassIdentifier: 548 | m_HorizontalAxis: Horizontal 549 | m_VerticalAxis: Vertical 550 | m_SubmitButton: Submit 551 | m_CancelButton: Cancel 552 | m_InputActionsPerSecond: 10 553 | m_RepeatDelay: 0.5 554 | m_ForceModuleActive: 0 555 | --- !u!114 &1380479386 556 | MonoBehaviour: 557 | m_ObjectHideFlags: 0 558 | m_CorrespondingSourceObject: {fileID: 0} 559 | m_PrefabInstance: {fileID: 0} 560 | m_PrefabAsset: {fileID: 0} 561 | m_GameObject: {fileID: 1380479384} 562 | m_Enabled: 1 563 | m_EditorHideFlags: 0 564 | m_Script: {fileID: -619905303, guid: f70555f144d8491a825f0804e09c671c, type: 3} 565 | m_Name: 566 | m_EditorClassIdentifier: 567 | m_FirstSelected: {fileID: 0} 568 | m_sendNavigationEvents: 1 569 | m_DragThreshold: 10 570 | --- !u!4 &1380479387 571 | Transform: 572 | m_ObjectHideFlags: 0 573 | m_CorrespondingSourceObject: {fileID: 0} 574 | m_PrefabInstance: {fileID: 0} 575 | m_PrefabAsset: {fileID: 0} 576 | m_GameObject: {fileID: 1380479384} 577 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 578 | m_LocalPosition: {x: 0, y: 0, z: 0} 579 | m_LocalScale: {x: 1, y: 1, z: 1} 580 | m_Children: [] 581 | m_Father: {fileID: 0} 582 | m_RootOrder: 4 583 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 584 | --- !u!1 &1393146878 585 | GameObject: 586 | m_ObjectHideFlags: 0 587 | m_CorrespondingSourceObject: {fileID: 0} 588 | m_PrefabInstance: {fileID: 0} 589 | m_PrefabAsset: {fileID: 0} 590 | serializedVersion: 6 591 | m_Component: 592 | - component: {fileID: 1393146879} 593 | - component: {fileID: 1393146881} 594 | - component: {fileID: 1393146880} 595 | m_Layer: 5 596 | m_Name: Panel 597 | m_TagString: Untagged 598 | m_Icon: {fileID: 0} 599 | m_NavMeshLayer: 0 600 | m_StaticEditorFlags: 0 601 | m_IsActive: 1 602 | --- !u!224 &1393146879 603 | RectTransform: 604 | m_ObjectHideFlags: 0 605 | m_CorrespondingSourceObject: {fileID: 0} 606 | m_PrefabInstance: {fileID: 0} 607 | m_PrefabAsset: {fileID: 0} 608 | m_GameObject: {fileID: 1393146878} 609 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 610 | m_LocalPosition: {x: 0, y: 0, z: 0} 611 | m_LocalScale: {x: 1, y: 1, z: 1} 612 | m_Children: 613 | - {fileID: 1774228092} 614 | m_Father: {fileID: 297345694} 615 | m_RootOrder: 0 616 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 617 | m_AnchorMin: {x: 0, y: 0} 618 | m_AnchorMax: {x: 1, y: 1} 619 | m_AnchoredPosition: {x: 0, y: 0} 620 | m_SizeDelta: {x: 0, y: 0} 621 | m_Pivot: {x: 0.5, y: 0.5} 622 | --- !u!114 &1393146880 623 | MonoBehaviour: 624 | m_ObjectHideFlags: 0 625 | m_CorrespondingSourceObject: {fileID: 0} 626 | m_PrefabInstance: {fileID: 0} 627 | m_PrefabAsset: {fileID: 0} 628 | m_GameObject: {fileID: 1393146878} 629 | m_Enabled: 1 630 | m_EditorHideFlags: 0 631 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 632 | m_Name: 633 | m_EditorClassIdentifier: 634 | m_Material: {fileID: 0} 635 | m_Color: {r: 1, g: 1, b: 1, a: 0.392} 636 | m_RaycastTarget: 1 637 | m_OnCullStateChanged: 638 | m_PersistentCalls: 639 | m_Calls: [] 640 | m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} 641 | m_Type: 1 642 | m_PreserveAspect: 0 643 | m_FillCenter: 1 644 | m_FillMethod: 4 645 | m_FillAmount: 1 646 | m_FillClockwise: 1 647 | m_FillOrigin: 0 648 | m_UseSpriteMesh: 0 649 | --- !u!222 &1393146881 650 | CanvasRenderer: 651 | m_ObjectHideFlags: 0 652 | m_CorrespondingSourceObject: {fileID: 0} 653 | m_PrefabInstance: {fileID: 0} 654 | m_PrefabAsset: {fileID: 0} 655 | m_GameObject: {fileID: 1393146878} 656 | m_CullTransparentMesh: 0 657 | --- !u!1 &1774228091 658 | GameObject: 659 | m_ObjectHideFlags: 0 660 | m_CorrespondingSourceObject: {fileID: 0} 661 | m_PrefabInstance: {fileID: 0} 662 | m_PrefabAsset: {fileID: 0} 663 | serializedVersion: 6 664 | m_Component: 665 | - component: {fileID: 1774228092} 666 | - component: {fileID: 1774228095} 667 | - component: {fileID: 1774228094} 668 | - component: {fileID: 1774228093} 669 | m_Layer: 5 670 | m_Name: Button 671 | m_TagString: Untagged 672 | m_Icon: {fileID: 0} 673 | m_NavMeshLayer: 0 674 | m_StaticEditorFlags: 0 675 | m_IsActive: 1 676 | --- !u!224 &1774228092 677 | RectTransform: 678 | m_ObjectHideFlags: 0 679 | m_CorrespondingSourceObject: {fileID: 0} 680 | m_PrefabInstance: {fileID: 0} 681 | m_PrefabAsset: {fileID: 0} 682 | m_GameObject: {fileID: 1774228091} 683 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 684 | m_LocalPosition: {x: 0, y: 0, z: 0} 685 | m_LocalScale: {x: 1, y: 1, z: 1} 686 | m_Children: 687 | - {fileID: 514491019} 688 | m_Father: {fileID: 1393146879} 689 | m_RootOrder: 0 690 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 691 | m_AnchorMin: {x: 0, y: 0} 692 | m_AnchorMax: {x: 1, y: 1} 693 | m_AnchoredPosition: {x: 0, y: 0} 694 | m_SizeDelta: {x: 0, y: 0} 695 | m_Pivot: {x: 0.5, y: 0.5} 696 | --- !u!114 &1774228093 697 | MonoBehaviour: 698 | m_ObjectHideFlags: 0 699 | m_CorrespondingSourceObject: {fileID: 0} 700 | m_PrefabInstance: {fileID: 0} 701 | m_PrefabAsset: {fileID: 0} 702 | m_GameObject: {fileID: 1774228091} 703 | m_Enabled: 1 704 | m_EditorHideFlags: 0 705 | m_Script: {fileID: 1392445389, guid: f70555f144d8491a825f0804e09c671c, type: 3} 706 | m_Name: 707 | m_EditorClassIdentifier: 708 | m_Navigation: 709 | m_Mode: 3 710 | m_SelectOnUp: {fileID: 0} 711 | m_SelectOnDown: {fileID: 0} 712 | m_SelectOnLeft: {fileID: 0} 713 | m_SelectOnRight: {fileID: 0} 714 | m_Transition: 1 715 | m_Colors: 716 | m_NormalColor: {r: 1, g: 1, b: 1, a: 1} 717 | m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 718 | m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} 719 | m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} 720 | m_ColorMultiplier: 1 721 | m_FadeDuration: 0.1 722 | m_SpriteState: 723 | m_HighlightedSprite: {fileID: 0} 724 | m_PressedSprite: {fileID: 0} 725 | m_DisabledSprite: {fileID: 0} 726 | m_AnimationTriggers: 727 | m_NormalTrigger: Normal 728 | m_HighlightedTrigger: Highlighted 729 | m_PressedTrigger: Pressed 730 | m_DisabledTrigger: Disabled 731 | m_Interactable: 1 732 | m_TargetGraphic: {fileID: 1774228094} 733 | m_OnClick: 734 | m_PersistentCalls: 735 | m_Calls: 736 | - m_Target: {fileID: 612043944} 737 | m_MethodName: StartDiscover 738 | m_Mode: 1 739 | m_Arguments: 740 | m_ObjectArgument: {fileID: 0} 741 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 742 | m_IntArgument: 0 743 | m_FloatArgument: 0 744 | m_StringArgument: 745 | m_BoolArgument: 0 746 | m_CallState: 2 747 | --- !u!114 &1774228094 748 | MonoBehaviour: 749 | m_ObjectHideFlags: 0 750 | m_CorrespondingSourceObject: {fileID: 0} 751 | m_PrefabInstance: {fileID: 0} 752 | m_PrefabAsset: {fileID: 0} 753 | m_GameObject: {fileID: 1774228091} 754 | m_Enabled: 1 755 | m_EditorHideFlags: 0 756 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 757 | m_Name: 758 | m_EditorClassIdentifier: 759 | m_Material: {fileID: 0} 760 | m_Color: {r: 1, g: 1, b: 1, a: 1} 761 | m_RaycastTarget: 1 762 | m_OnCullStateChanged: 763 | m_PersistentCalls: 764 | m_Calls: [] 765 | m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} 766 | m_Type: 1 767 | m_PreserveAspect: 0 768 | m_FillCenter: 1 769 | m_FillMethod: 4 770 | m_FillAmount: 1 771 | m_FillClockwise: 1 772 | m_FillOrigin: 0 773 | m_UseSpriteMesh: 0 774 | --- !u!222 &1774228095 775 | CanvasRenderer: 776 | m_ObjectHideFlags: 0 777 | m_CorrespondingSourceObject: {fileID: 0} 778 | m_PrefabInstance: {fileID: 0} 779 | m_PrefabAsset: {fileID: 0} 780 | m_GameObject: {fileID: 1774228091} 781 | m_CullTransparentMesh: 0 782 | -------------------------------------------------------------------------------- /Assets/Scenes/SampleScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1ad263d31f4433b4cb3b00fdb372c000 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 gpsnmeajp 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.ads": "2.0.8", 4 | "com.unity.analytics": "3.2.3", 5 | "com.unity.collab-proxy": "1.2.15", 6 | "com.unity.package-manager-ui": "2.0.8", 7 | "com.unity.purchasing": "2.0.3", 8 | "com.unity.textmeshpro": "1.4.1", 9 | "com.unity.modules.ai": "1.0.0", 10 | "com.unity.modules.animation": "1.0.0", 11 | "com.unity.modules.assetbundle": "1.0.0", 12 | "com.unity.modules.audio": "1.0.0", 13 | "com.unity.modules.cloth": "1.0.0", 14 | "com.unity.modules.director": "1.0.0", 15 | "com.unity.modules.imageconversion": "1.0.0", 16 | "com.unity.modules.imgui": "1.0.0", 17 | "com.unity.modules.jsonserialize": "1.0.0", 18 | "com.unity.modules.particlesystem": "1.0.0", 19 | "com.unity.modules.physics": "1.0.0", 20 | "com.unity.modules.physics2d": "1.0.0", 21 | "com.unity.modules.screencapture": "1.0.0", 22 | "com.unity.modules.terrain": "1.0.0", 23 | "com.unity.modules.terrainphysics": "1.0.0", 24 | "com.unity.modules.tilemap": "1.0.0", 25 | "com.unity.modules.ui": "1.0.0", 26 | "com.unity.modules.uielements": "1.0.0", 27 | "com.unity.modules.umbra": "1.0.0", 28 | "com.unity.modules.unityanalytics": "1.0.0", 29 | "com.unity.modules.unitywebrequest": "1.0.0", 30 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 31 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 32 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 33 | "com.unity.modules.unitywebrequestwww": "1.0.0", 34 | "com.unity.modules.vehicles": "1.0.0", 35 | "com.unity.modules.video": "1.0.0", 36 | "com.unity.modules.vr": "1.0.0", 37 | "com.unity.modules.wind": "1.0.0", 38 | "com.unity.modules.xr": "1.0.0" 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 1024 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_AmbisonicDecoderPlugin: 16 | m_DisableAudio: 0 17 | m_VirtualizeEffects: 1 18 | -------------------------------------------------------------------------------- /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: 8 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 0 23 | m_ReuseCollisionCallbacks: 1 24 | m_ClothInterCollisionSettingsToggle: 0 25 | m_ContactPairsMode: 0 26 | m_BroadphaseType: 0 27 | m_WorldBounds: 28 | m_Center: {x: 0, y: 0, z: 0} 29 | m_Extent: {x: 250, y: 250, z: 250} 30 | m_WorldSubdivisions: 8 31 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: [] 8 | m_configObjects: {} 9 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 7 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 2 10 | m_DefaultBehaviorMode: 0 11 | m_SpritePackerMode: 0 12 | m_SpritePackerPaddingPower: 1 13 | m_EtcTextureCompressorBehavior: 1 14 | m_EtcTextureFastCompressor: 1 15 | m_EtcTextureNormalCompressor: 2 16 | m_EtcTextureBestCompressor: 4 17 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd 18 | m_ProjectGenerationRootNamespace: 19 | m_UserGeneratedProjectSuffix: 20 | m_CollabEditorSettings: 21 | inProgressEnabled: 1 22 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 12 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 38 | - {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0} 39 | m_PreloadedShaders: [] 40 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 41 | type: 0} 42 | m_CustomRenderPipeline: {fileID: 0} 43 | m_TransparencySortMode: 0 44 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 45 | m_DefaultRenderingPath: 1 46 | m_DefaultMobileRenderingPath: 1 47 | m_TierSettings: [] 48 | m_LightmapStripping: 0 49 | m_FogStripping: 0 50 | m_InstancingStripping: 0 51 | m_LightmapKeepPlain: 1 52 | m_LightmapKeepDirCombined: 1 53 | m_LightmapKeepDynamicPlain: 1 54 | m_LightmapKeepDynamicDirCombined: 1 55 | m_LightmapKeepShadowMask: 1 56 | m_LightmapKeepSubtractive: 1 57 | m_FogKeepLinear: 1 58 | m_FogKeepExp: 1 59 | m_FogKeepExp2: 1 60 | m_AlbedoSwatchInfos: [] 61 | m_LightsUseLinearIntensity: 0 62 | m_LightsUseColorTemperature: 0 63 | -------------------------------------------------------------------------------- /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: 4 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_AutoSimulation: 1 23 | m_QueriesHitTriggers: 1 24 | m_QueriesStartInColliders: 1 25 | m_ChangeStopsCallbacks: 0 26 | m_CallbacksOnDisable: 1 27 | m_ReuseCollisionCallbacks: 1 28 | m_AutoSyncTransforms: 0 29 | m_AlwaysShowColliders: 0 30 | m_ShowColliderSleep: 1 31 | m_ShowColliderContacts: 0 32 | m_ShowColliderAABB: 0 33 | m_ContactArrowScale: 0.2 34 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 35 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 36 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 37 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 38 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 39 | -------------------------------------------------------------------------------- /ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | m_DefaultList: 7 | - type: 8 | m_NativeTypeID: 108 9 | m_ManagedTypePPtr: {fileID: 0} 10 | m_ManagedTypeFallback: 11 | defaultPresets: 12 | - m_Preset: {fileID: 2655988077585873504, guid: c1cf8506f04ef2c4a88b64b6c4202eea, 13 | type: 2} 14 | - type: 15 | m_NativeTypeID: 1020 16 | m_ManagedTypePPtr: {fileID: 0} 17 | m_ManagedTypeFallback: 18 | defaultPresets: 19 | - m_Preset: {fileID: 2655988077585873504, guid: 0cd792cc87e492d43b4e95b205fc5cc6, 20 | type: 2} 21 | - type: 22 | m_NativeTypeID: 1006 23 | m_ManagedTypePPtr: {fileID: 0} 24 | m_ManagedTypeFallback: 25 | defaultPresets: 26 | - m_Preset: {fileID: 2655988077585873504, guid: 7a99f8aa944efe94cb9bd74562b7d5f9, 27 | type: 2} 28 | -------------------------------------------------------------------------------- /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: 18 7 | productGUID: 76b80e128fc0f6145903ae2d525aee1d 8 | AndroidProfiler: 0 9 | AndroidFilterTouchesWhenObscured: 0 10 | AndroidEnableSustainedPerformanceMode: 0 11 | defaultScreenOrientation: 4 12 | targetDevice: 2 13 | useOnDemandResources: 0 14 | accelerometerFrequency: 60 15 | companyName: DefaultCompany 16 | productName: EasyDeviceDiscoveryProtocolForUnity 17 | defaultCursor: {fileID: 0} 18 | cursorHotspot: {x: 0, y: 0} 19 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} 20 | m_ShowUnitySplashScreen: 1 21 | m_ShowUnitySplashLogo: 1 22 | m_SplashScreenOverlayOpacity: 1 23 | m_SplashScreenAnimation: 1 24 | m_SplashScreenLogoStyle: 1 25 | m_SplashScreenDrawMode: 0 26 | m_SplashScreenBackgroundAnimationZoom: 1 27 | m_SplashScreenLogoAnimationZoom: 1 28 | m_SplashScreenBackgroundLandscapeAspect: 1 29 | m_SplashScreenBackgroundPortraitAspect: 1 30 | m_SplashScreenBackgroundLandscapeUvs: 31 | serializedVersion: 2 32 | x: 0 33 | y: 0 34 | width: 1 35 | height: 1 36 | m_SplashScreenBackgroundPortraitUvs: 37 | serializedVersion: 2 38 | x: 0 39 | y: 0 40 | width: 1 41 | height: 1 42 | m_SplashScreenLogos: [] 43 | m_VirtualRealitySplashScreen: {fileID: 0} 44 | m_HolographicTrackingLossScreen: {fileID: 0} 45 | defaultScreenWidth: 1024 46 | defaultScreenHeight: 768 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 0 51 | m_MTRendering: 1 52 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 53 | iosShowActivityIndicatorOnLoading: -1 54 | androidShowActivityIndicatorOnLoading: -1 55 | displayResolutionDialog: 1 56 | iosUseCustomAppBackgroundBehavior: 0 57 | iosAllowHTTPDownload: 1 58 | allowedAutorotateToPortrait: 1 59 | allowedAutorotateToPortraitUpsideDown: 1 60 | allowedAutorotateToLandscapeRight: 1 61 | allowedAutorotateToLandscapeLeft: 1 62 | useOSAutorotation: 1 63 | use32BitDisplayBuffer: 1 64 | preserveFramebufferAlpha: 0 65 | disableDepthAndStencilBuffers: 0 66 | androidStartInFullscreen: 1 67 | androidRenderOutsideSafeArea: 0 68 | androidBlitType: 0 69 | defaultIsNativeResolution: 1 70 | macRetinaSupport: 1 71 | runInBackground: 1 72 | captureSingleScreen: 0 73 | muteOtherAudioSources: 0 74 | Prepare IOS For Recording: 0 75 | Force IOS Speakers When Recording: 0 76 | deferSystemGesturesMode: 0 77 | hideHomeButton: 0 78 | submitAnalytics: 1 79 | usePlayerLog: 1 80 | bakeCollisionMeshes: 0 81 | forceSingleInstance: 0 82 | resizableWindow: 0 83 | useMacAppStoreValidation: 0 84 | macAppStoreCategory: public.app-category.games 85 | gpuSkinning: 1 86 | graphicsJobs: 0 87 | xboxPIXTextureCapture: 0 88 | xboxEnableAvatar: 0 89 | xboxEnableKinect: 0 90 | xboxEnableKinectAutoTracking: 0 91 | xboxEnableFitness: 0 92 | visibleInBackground: 1 93 | allowFullscreenSwitch: 1 94 | graphicsJobMode: 0 95 | fullscreenMode: 1 96 | xboxSpeechDB: 0 97 | xboxEnableHeadOrientation: 0 98 | xboxEnableGuest: 0 99 | xboxEnablePIXSampling: 0 100 | metalFramebufferOnly: 0 101 | xboxOneResolution: 0 102 | xboxOneSResolution: 0 103 | xboxOneXResolution: 3 104 | xboxOneMonoLoggingLevel: 0 105 | xboxOneLoggingLevel: 1 106 | xboxOneDisableEsram: 0 107 | xboxOneEnableTypeOptimization: 0 108 | xboxOnePresentImmediateThreshold: 0 109 | switchQueueCommandMemory: 0 110 | switchQueueControlMemory: 16384 111 | switchQueueComputeMemory: 262144 112 | switchNVNShaderPoolsGranularity: 33554432 113 | switchNVNDefaultPoolsGranularity: 16777216 114 | switchNVNOtherPoolsGranularity: 16777216 115 | vulkanEnableSetSRGBWrite: 0 116 | m_SupportedAspectRatios: 117 | 4:3: 1 118 | 5:4: 1 119 | 16:10: 1 120 | 16:9: 1 121 | Others: 1 122 | bundleVersion: 0.1 123 | preloadedAssets: [] 124 | metroInputSource: 0 125 | wsaTransparentSwapchain: 0 126 | m_HolographicPauseOnTrackingLoss: 1 127 | xboxOneDisableKinectGpuReservation: 1 128 | xboxOneEnable7thCore: 1 129 | isWsaHolographicRemotingEnabled: 0 130 | vrSettings: 131 | cardboard: 132 | depthFormat: 0 133 | enableTransitionView: 0 134 | daydream: 135 | depthFormat: 0 136 | useSustainedPerformanceMode: 0 137 | enableVideoLayer: 0 138 | useProtectedVideoMemory: 0 139 | minimumSupportedHeadTracking: 0 140 | maximumSupportedHeadTracking: 1 141 | hololens: 142 | depthFormat: 1 143 | depthBufferSharingEnabled: 1 144 | oculus: 145 | sharedDepthBuffer: 1 146 | dashSupport: 1 147 | lowOverheadMode: 0 148 | protectedContext: 0 149 | v2Signing: 0 150 | enable360StereoCapture: 0 151 | protectGraphicsMemory: 0 152 | enableFrameTimingStats: 0 153 | useHDRDisplay: 0 154 | m_ColorGamuts: 00000000 155 | targetPixelDensity: 30 156 | resolutionScalingMode: 0 157 | androidSupportedAspectRatio: 1 158 | androidMaxAspectRatio: 2.1 159 | applicationIdentifier: {} 160 | buildNumber: {} 161 | AndroidBundleVersionCode: 1 162 | AndroidMinSdkVersion: 16 163 | AndroidTargetSdkVersion: 0 164 | AndroidPreferredInstallLocation: 1 165 | aotOptions: 166 | stripEngineCode: 1 167 | iPhoneStrippingLevel: 0 168 | iPhoneScriptCallOptimization: 0 169 | ForceInternetPermission: 0 170 | ForceSDCardPermission: 0 171 | CreateWallpaper: 0 172 | APKExpansionFiles: 0 173 | keepLoadedShadersAlive: 0 174 | StripUnusedMeshComponents: 1 175 | VertexChannelCompressionMask: 4054 176 | iPhoneSdkVersion: 988 177 | iOSTargetOSVersionString: 9.0 178 | tvOSSdkVersion: 0 179 | tvOSRequireExtendedGameController: 0 180 | tvOSTargetOSVersionString: 9.0 181 | uIPrerenderedIcon: 0 182 | uIRequiresPersistentWiFi: 0 183 | uIRequiresFullScreen: 1 184 | uIStatusBarHidden: 1 185 | uIExitOnSuspend: 0 186 | uIStatusBarStyle: 0 187 | iPhoneSplashScreen: {fileID: 0} 188 | iPhoneHighResSplashScreen: {fileID: 0} 189 | iPhoneTallHighResSplashScreen: {fileID: 0} 190 | iPhone47inSplashScreen: {fileID: 0} 191 | iPhone55inPortraitSplashScreen: {fileID: 0} 192 | iPhone55inLandscapeSplashScreen: {fileID: 0} 193 | iPhone58inPortraitSplashScreen: {fileID: 0} 194 | iPhone58inLandscapeSplashScreen: {fileID: 0} 195 | iPadPortraitSplashScreen: {fileID: 0} 196 | iPadHighResPortraitSplashScreen: {fileID: 0} 197 | iPadLandscapeSplashScreen: {fileID: 0} 198 | iPadHighResLandscapeSplashScreen: {fileID: 0} 199 | appleTVSplashScreen: {fileID: 0} 200 | appleTVSplashScreen2x: {fileID: 0} 201 | tvOSSmallIconLayers: [] 202 | tvOSSmallIconLayers2x: [] 203 | tvOSLargeIconLayers: [] 204 | tvOSLargeIconLayers2x: [] 205 | tvOSTopShelfImageLayers: [] 206 | tvOSTopShelfImageLayers2x: [] 207 | tvOSTopShelfImageWideLayers: [] 208 | tvOSTopShelfImageWideLayers2x: [] 209 | iOSLaunchScreenType: 0 210 | iOSLaunchScreenPortrait: {fileID: 0} 211 | iOSLaunchScreenLandscape: {fileID: 0} 212 | iOSLaunchScreenBackgroundColor: 213 | serializedVersion: 2 214 | rgba: 0 215 | iOSLaunchScreenFillPct: 100 216 | iOSLaunchScreenSize: 100 217 | iOSLaunchScreenCustomXibPath: 218 | iOSLaunchScreeniPadType: 0 219 | iOSLaunchScreeniPadImage: {fileID: 0} 220 | iOSLaunchScreeniPadBackgroundColor: 221 | serializedVersion: 2 222 | rgba: 0 223 | iOSLaunchScreeniPadFillPct: 100 224 | iOSLaunchScreeniPadSize: 100 225 | iOSLaunchScreeniPadCustomXibPath: 226 | iOSUseLaunchScreenStoryboard: 0 227 | iOSLaunchScreenCustomStoryboardPath: 228 | iOSDeviceRequirements: [] 229 | iOSURLSchemes: [] 230 | iOSBackgroundModes: 0 231 | iOSMetalForceHardShadows: 0 232 | metalEditorSupport: 1 233 | metalAPIValidation: 1 234 | iOSRenderExtraFrameOnPause: 0 235 | appleDeveloperTeamID: 236 | iOSManualSigningProvisioningProfileID: 237 | tvOSManualSigningProvisioningProfileID: 238 | iOSManualSigningProvisioningProfileType: 0 239 | tvOSManualSigningProvisioningProfileType: 0 240 | appleEnableAutomaticSigning: 0 241 | iOSRequireARKit: 0 242 | iOSAutomaticallyDetectAndAddCapabilities: 1 243 | appleEnableProMotion: 0 244 | clonedFromGUID: c0afd0d1d80e3634a9dac47e8a0426ea 245 | templatePackageId: com.unity.template.3d@1.3.0 246 | templateDefaultScene: Assets/Scenes/SampleScene.unity 247 | AndroidTargetArchitectures: 5 248 | AndroidSplashScreenScale: 0 249 | androidSplashScreen: {fileID: 0} 250 | AndroidKeystoreName: 251 | AndroidKeyaliasName: 252 | AndroidBuildApkPerCpuArchitecture: 0 253 | AndroidTVCompatibility: 1 254 | AndroidIsGame: 1 255 | AndroidEnableTango: 0 256 | androidEnableBanner: 1 257 | androidUseLowAccuracyLocation: 0 258 | m_AndroidBanners: 259 | - width: 320 260 | height: 180 261 | banner: {fileID: 0} 262 | androidGamepadSupportLevel: 0 263 | resolutionDialogBanner: {fileID: 0} 264 | m_BuildTargetIcons: [] 265 | m_BuildTargetPlatformIcons: [] 266 | m_BuildTargetBatching: 267 | - m_BuildTarget: Standalone 268 | m_StaticBatching: 1 269 | m_DynamicBatching: 0 270 | - m_BuildTarget: tvOS 271 | m_StaticBatching: 1 272 | m_DynamicBatching: 0 273 | - m_BuildTarget: Android 274 | m_StaticBatching: 1 275 | m_DynamicBatching: 0 276 | - m_BuildTarget: iPhone 277 | m_StaticBatching: 1 278 | m_DynamicBatching: 0 279 | - m_BuildTarget: WebGL 280 | m_StaticBatching: 0 281 | m_DynamicBatching: 0 282 | m_BuildTargetGraphicsAPIs: 283 | - m_BuildTarget: AndroidPlayer 284 | m_APIs: 0b00000008000000 285 | m_Automatic: 1 286 | - m_BuildTarget: iOSSupport 287 | m_APIs: 10000000 288 | m_Automatic: 1 289 | - m_BuildTarget: AppleTVSupport 290 | m_APIs: 10000000 291 | m_Automatic: 0 292 | - m_BuildTarget: WebGLSupport 293 | m_APIs: 0b000000 294 | m_Automatic: 1 295 | m_BuildTargetVRSettings: 296 | - m_BuildTarget: Standalone 297 | m_Enabled: 0 298 | m_Devices: 299 | - Oculus 300 | - OpenVR 301 | m_BuildTargetEnableVuforiaSettings: [] 302 | openGLRequireES31: 0 303 | openGLRequireES31AEP: 0 304 | m_TemplateCustomTags: {} 305 | mobileMTRendering: 306 | Android: 1 307 | iPhone: 1 308 | tvOS: 1 309 | m_BuildTargetGroupLightmapEncodingQuality: [] 310 | m_BuildTargetGroupLightmapSettings: [] 311 | playModeTestRunnerEnabled: 0 312 | runPlayModeTestAsEditModeTest: 0 313 | actionOnDotNetUnhandledException: 1 314 | enableInternalProfiler: 0 315 | logObjCUncaughtExceptions: 1 316 | enableCrashReportAPI: 0 317 | cameraUsageDescription: 318 | locationUsageDescription: 319 | microphoneUsageDescription: 320 | switchNetLibKey: 321 | switchSocketMemoryPoolSize: 6144 322 | switchSocketAllocatorPoolSize: 128 323 | switchSocketConcurrencyLimit: 14 324 | switchScreenResolutionBehavior: 2 325 | switchUseCPUProfiler: 0 326 | switchApplicationID: 0x01004b9000490000 327 | switchNSODependencies: 328 | switchTitleNames_0: 329 | switchTitleNames_1: 330 | switchTitleNames_2: 331 | switchTitleNames_3: 332 | switchTitleNames_4: 333 | switchTitleNames_5: 334 | switchTitleNames_6: 335 | switchTitleNames_7: 336 | switchTitleNames_8: 337 | switchTitleNames_9: 338 | switchTitleNames_10: 339 | switchTitleNames_11: 340 | switchTitleNames_12: 341 | switchTitleNames_13: 342 | switchTitleNames_14: 343 | switchPublisherNames_0: 344 | switchPublisherNames_1: 345 | switchPublisherNames_2: 346 | switchPublisherNames_3: 347 | switchPublisherNames_4: 348 | switchPublisherNames_5: 349 | switchPublisherNames_6: 350 | switchPublisherNames_7: 351 | switchPublisherNames_8: 352 | switchPublisherNames_9: 353 | switchPublisherNames_10: 354 | switchPublisherNames_11: 355 | switchPublisherNames_12: 356 | switchPublisherNames_13: 357 | switchPublisherNames_14: 358 | switchIcons_0: {fileID: 0} 359 | switchIcons_1: {fileID: 0} 360 | switchIcons_2: {fileID: 0} 361 | switchIcons_3: {fileID: 0} 362 | switchIcons_4: {fileID: 0} 363 | switchIcons_5: {fileID: 0} 364 | switchIcons_6: {fileID: 0} 365 | switchIcons_7: {fileID: 0} 366 | switchIcons_8: {fileID: 0} 367 | switchIcons_9: {fileID: 0} 368 | switchIcons_10: {fileID: 0} 369 | switchIcons_11: {fileID: 0} 370 | switchIcons_12: {fileID: 0} 371 | switchIcons_13: {fileID: 0} 372 | switchIcons_14: {fileID: 0} 373 | switchSmallIcons_0: {fileID: 0} 374 | switchSmallIcons_1: {fileID: 0} 375 | switchSmallIcons_2: {fileID: 0} 376 | switchSmallIcons_3: {fileID: 0} 377 | switchSmallIcons_4: {fileID: 0} 378 | switchSmallIcons_5: {fileID: 0} 379 | switchSmallIcons_6: {fileID: 0} 380 | switchSmallIcons_7: {fileID: 0} 381 | switchSmallIcons_8: {fileID: 0} 382 | switchSmallIcons_9: {fileID: 0} 383 | switchSmallIcons_10: {fileID: 0} 384 | switchSmallIcons_11: {fileID: 0} 385 | switchSmallIcons_12: {fileID: 0} 386 | switchSmallIcons_13: {fileID: 0} 387 | switchSmallIcons_14: {fileID: 0} 388 | switchManualHTML: 389 | switchAccessibleURLs: 390 | switchLegalInformation: 391 | switchMainThreadStackSize: 1048576 392 | switchPresenceGroupId: 393 | switchLogoHandling: 0 394 | switchReleaseVersion: 0 395 | switchDisplayVersion: 1.0.0 396 | switchStartupUserAccount: 0 397 | switchTouchScreenUsage: 0 398 | switchSupportedLanguagesMask: 0 399 | switchLogoType: 0 400 | switchApplicationErrorCodeCategory: 401 | switchUserAccountSaveDataSize: 0 402 | switchUserAccountSaveDataJournalSize: 0 403 | switchApplicationAttribute: 0 404 | switchCardSpecSize: -1 405 | switchCardSpecClock: -1 406 | switchRatingsMask: 0 407 | switchRatingsInt_0: 0 408 | switchRatingsInt_1: 0 409 | switchRatingsInt_2: 0 410 | switchRatingsInt_3: 0 411 | switchRatingsInt_4: 0 412 | switchRatingsInt_5: 0 413 | switchRatingsInt_6: 0 414 | switchRatingsInt_7: 0 415 | switchRatingsInt_8: 0 416 | switchRatingsInt_9: 0 417 | switchRatingsInt_10: 0 418 | switchRatingsInt_11: 0 419 | switchRatingsInt_12: 0 420 | switchLocalCommunicationIds_0: 421 | switchLocalCommunicationIds_1: 422 | switchLocalCommunicationIds_2: 423 | switchLocalCommunicationIds_3: 424 | switchLocalCommunicationIds_4: 425 | switchLocalCommunicationIds_5: 426 | switchLocalCommunicationIds_6: 427 | switchLocalCommunicationIds_7: 428 | switchParentalControl: 0 429 | switchAllowsScreenshot: 1 430 | switchAllowsVideoCapturing: 1 431 | switchAllowsRuntimeAddOnContentInstall: 0 432 | switchDataLossConfirmation: 0 433 | switchUserAccountLockEnabled: 0 434 | switchSystemResourceMemory: 16777216 435 | switchSupportedNpadStyles: 3 436 | switchNativeFsCacheSize: 32 437 | switchIsHoldTypeHorizontal: 0 438 | switchSupportedNpadCount: 8 439 | switchSocketConfigEnabled: 0 440 | switchTcpInitialSendBufferSize: 32 441 | switchTcpInitialReceiveBufferSize: 64 442 | switchTcpAutoSendBufferSizeMax: 256 443 | switchTcpAutoReceiveBufferSizeMax: 256 444 | switchUdpSendBufferSize: 9 445 | switchUdpReceiveBufferSize: 42 446 | switchSocketBufferEfficiency: 4 447 | switchSocketInitializeEnabled: 1 448 | switchNetworkInterfaceManagerInitializeEnabled: 1 449 | switchPlayerConnectionEnabled: 1 450 | ps4NPAgeRating: 12 451 | ps4NPTitleSecret: 452 | ps4NPTrophyPackPath: 453 | ps4ParentalLevel: 11 454 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 455 | ps4Category: 0 456 | ps4MasterVersion: 01.00 457 | ps4AppVersion: 01.00 458 | ps4AppType: 0 459 | ps4ParamSfxPath: 460 | ps4VideoOutPixelFormat: 0 461 | ps4VideoOutInitialWidth: 1920 462 | ps4VideoOutBaseModeInitialWidth: 1920 463 | ps4VideoOutReprojectionRate: 60 464 | ps4PronunciationXMLPath: 465 | ps4PronunciationSIGPath: 466 | ps4BackgroundImagePath: 467 | ps4StartupImagePath: 468 | ps4StartupImagesFolder: 469 | ps4IconImagesFolder: 470 | ps4SaveDataImagePath: 471 | ps4SdkOverride: 472 | ps4BGMPath: 473 | ps4ShareFilePath: 474 | ps4ShareOverlayImagePath: 475 | ps4PrivacyGuardImagePath: 476 | ps4NPtitleDatPath: 477 | ps4RemotePlayKeyAssignment: -1 478 | ps4RemotePlayKeyMappingDir: 479 | ps4PlayTogetherPlayerCount: 0 480 | ps4EnterButtonAssignment: 1 481 | ps4ApplicationParam1: 0 482 | ps4ApplicationParam2: 0 483 | ps4ApplicationParam3: 0 484 | ps4ApplicationParam4: 0 485 | ps4DownloadDataSize: 0 486 | ps4GarlicHeapSize: 2048 487 | ps4ProGarlicHeapSize: 2560 488 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 489 | ps4pnSessions: 1 490 | ps4pnPresence: 1 491 | ps4pnFriends: 1 492 | ps4pnGameCustomData: 1 493 | playerPrefsSupport: 0 494 | enableApplicationExit: 0 495 | resetTempFolder: 1 496 | restrictedAudioUsageRights: 0 497 | ps4UseResolutionFallback: 0 498 | ps4ReprojectionSupport: 0 499 | ps4UseAudio3dBackend: 0 500 | ps4SocialScreenEnabled: 0 501 | ps4ScriptOptimizationLevel: 0 502 | ps4Audio3dVirtualSpeakerCount: 14 503 | ps4attribCpuUsage: 0 504 | ps4PatchPkgPath: 505 | ps4PatchLatestPkgPath: 506 | ps4PatchChangeinfoPath: 507 | ps4PatchDayOne: 0 508 | ps4attribUserManagement: 0 509 | ps4attribMoveSupport: 0 510 | ps4attrib3DSupport: 0 511 | ps4attribShareSupport: 0 512 | ps4attribExclusiveVR: 0 513 | ps4disableAutoHideSplash: 0 514 | ps4videoRecordingFeaturesUsed: 0 515 | ps4contentSearchFeaturesUsed: 0 516 | ps4attribEyeToEyeDistanceSettingVR: 0 517 | ps4IncludedModules: [] 518 | monoEnv: 519 | splashScreenBackgroundSourceLandscape: {fileID: 0} 520 | splashScreenBackgroundSourcePortrait: {fileID: 0} 521 | spritePackerPolicy: 522 | webGLMemorySize: 256 523 | webGLExceptionSupport: 1 524 | webGLNameFilesAsHashes: 0 525 | webGLDataCaching: 1 526 | webGLDebugSymbols: 0 527 | webGLEmscriptenArgs: 528 | webGLModulesDirectory: 529 | webGLTemplate: APPLICATION:Default 530 | webGLAnalyzeBuildSize: 0 531 | webGLUseEmbeddedResources: 0 532 | webGLCompressionFormat: 1 533 | webGLLinkerTarget: 1 534 | webGLThreadsSupport: 0 535 | scriptingDefineSymbols: {} 536 | platformArchitecture: {} 537 | scriptingBackend: {} 538 | il2cppCompilerConfiguration: {} 539 | managedStrippingLevel: {} 540 | incrementalIl2cppBuild: {} 541 | allowUnsafeCode: 0 542 | additionalIl2CppArgs: 543 | scriptingRuntimeVersion: 1 544 | apiCompatibilityLevelPerPlatform: {} 545 | m_RenderingPath: 1 546 | m_MobileRenderingPath: 1 547 | metroPackageName: Template_3D 548 | metroPackageVersion: 549 | metroCertificatePath: 550 | metroCertificatePassword: 551 | metroCertificateSubject: 552 | metroCertificateIssuer: 553 | metroCertificateNotAfter: 0000000000000000 554 | metroApplicationDescription: Template_3D 555 | wsaImages: {} 556 | metroTileShortName: 557 | metroTileShowName: 0 558 | metroMediumTileShowName: 0 559 | metroLargeTileShowName: 0 560 | metroWideTileShowName: 0 561 | metroSupportStreamingInstall: 0 562 | metroLastRequiredScene: 0 563 | metroDefaultTileSize: 1 564 | metroTileForegroundText: 2 565 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 566 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, 567 | a: 1} 568 | metroSplashScreenUseBackgroundColor: 0 569 | platformCapabilities: {} 570 | metroTargetDeviceFamilies: {} 571 | metroFTAName: 572 | metroFTAFileTypes: [] 573 | metroProtocolName: 574 | metroCompilationOverrides: 1 575 | XboxOneProductId: 576 | XboxOneUpdateKey: 577 | XboxOneSandboxId: 578 | XboxOneContentId: 579 | XboxOneTitleId: 580 | XboxOneSCId: 581 | XboxOneGameOsOverridePath: 582 | XboxOnePackagingOverridePath: 583 | XboxOneAppManifestOverridePath: 584 | XboxOneVersion: 1.0.0.0 585 | XboxOnePackageEncryption: 0 586 | XboxOnePackageUpdateGranularity: 2 587 | XboxOneDescription: 588 | XboxOneLanguage: 589 | - enus 590 | XboxOneCapability: [] 591 | XboxOneGameRating: {} 592 | XboxOneIsContentPackage: 0 593 | XboxOneEnableGPUVariability: 1 594 | XboxOneSockets: {} 595 | XboxOneSplashScreen: {fileID: 0} 596 | XboxOneAllowedProductIds: [] 597 | XboxOnePersistentLocalStorageSize: 0 598 | XboxOneXTitleMemory: 8 599 | xboxOneScriptCompiler: 1 600 | XboxOneOverrideIdentityName: 601 | vrEditorSettings: 602 | daydream: 603 | daydreamIconForeground: {fileID: 0} 604 | daydreamIconBackground: {fileID: 0} 605 | cloudServicesEnabled: 606 | UNet: 1 607 | luminIcon: 608 | m_Name: 609 | m_ModelFolderPath: 610 | m_PortalFolderPath: 611 | luminCert: 612 | m_CertPath: 613 | m_PrivateKeyPath: 614 | luminIsChannelApp: 0 615 | luminVersion: 616 | m_VersionCode: 1 617 | m_VersionName: 618 | facebookSdkVersion: 7.9.4 619 | facebookAppId: 620 | facebookCookies: 1 621 | facebookLogging: 1 622 | facebookStatus: 1 623 | facebookXfbml: 0 624 | facebookFrictionlessRequests: 1 625 | apiCompatibilityLevel: 6 626 | cloudProjectId: 627 | framebufferDepthMemorylessMode: 0 628 | projectName: 629 | organizationId: 630 | cloudEnabled: 0 631 | enableNativePlatformBackendsForNewInputSystem: 0 632 | disableOldInputManagerSupport: 0 633 | legacyClampBlendShapeWeights: 0 634 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2018.4.19f1 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: 4 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: 16 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: 16 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: 16 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: 2 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: 16 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: 40 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: 1 136 | antiAliasing: 4 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: 16 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: 1 164 | antiAliasing: 4 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: 16 175 | resolutionScalingFixedDPIFactor: 1 176 | excludedTargetPlatforms: [] 177 | m_PerPlatformDefaultQuality: 178 | Android: 2 179 | Nintendo 3DS: 5 180 | Nintendo Switch: 5 181 | PS4: 5 182 | PSP2: 2 183 | Standalone: 5 184 | Tizen: 2 185 | WebGL: 3 186 | WiiU: 5 187 | Windows Store Apps: 5 188 | XboxOne: 5 189 | iPhone: 2 190 | tvOS: 2 191 | -------------------------------------------------------------------------------- /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 | - PostProcessing 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.1 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 1 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events 10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events 11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com 12 | m_TestInitMode: 0 13 | CrashReportingSettings: 14 | m_EventUrl: https://perf-events.cloud.unity3d.com 15 | m_Enabled: 0 16 | m_LogBufferSize: 10 17 | m_CaptureEditorExceptions: 1 18 | UnityPurchasingSettings: 19 | m_Enabled: 0 20 | m_TestMode: 0 21 | UnityAnalyticsSettings: 22 | m_Enabled: 0 23 | m_TestMode: 0 24 | m_InitializeOnStartup: 1 25 | UnityAdsSettings: 26 | m_Enabled: 0 27 | m_InitializeOnStartup: 1 28 | m_TestMode: 0 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 0} 7 | m_CopyBufferShader: {fileID: 0} 8 | m_SortShader: {fileID: 0} 9 | m_RenderPipeSettingsPath: 10 | m_FixedTimeStep: 0.016666668 11 | m_MaxDeltaTime: 0.05 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # EasyDeviceDiscoveryProtocolForUnity(EDDP for Unity) 2 | UnityでUDPブロードキャストを使い、同一LAN内の対応アプリを探索するサンプルです。 3 | 探索される側も同じ機能を搭載したアプリケーションを動作させている必要があります。 4 | mDNSなどの劣化版と考えてください。 5 | 6 | 違いは、 7 | 8 | + アプリケーション固有の情報を載せられること 9 | + 要求側、応答側でお互いのIPアドレスが同時に取得できること 10 | 11 | です。 12 | UDPパケットにjsonを載せているため、RequestJson.csを拡張することで様々な情報を載せることができます。 13 | 14 | + Windows 15 | + Mac 16 | + iOS 17 | 18 | で動作を確認しています。 19 | 20 | + 多分Linuxでも動くと思われるがまだ動作未確認。 21 | + Androidは手持ちのNexus 5Xでは動作しましたが、[機種によってはMulticast lockの取得処理が必要とのことです。](https://answers.unity.com/questions/250732/android-build-is-not-receiving-udp-broadcasts.html) 22 | 23 | 24 | 25 | # [仕様](doc/doc.md) 26 | 簡単な使い方です 27 | 28 | # [スクリプト本体](Assets/EasyDeviceDiscoveryProtocol/) 29 | スクリプト本体は [Assets/EasyDeviceDiscoveryProtocol/](Assets/EasyDeviceDiscoveryProtocol/) にあります。 30 | -------------------------------------------------------------------------------- /doc/doc.md: -------------------------------------------------------------------------------- 1 | # 仕様 2 | 3 | ## EasyDeviceDiscoveryProtocolClient.Requester 4 | GameObjectとして配置してください。 5 | 探索の要求、応答の受信を行います。 6 | 7 | 8 | 9 | #### 準備 10 | discoverPortには、探索に使用するポートを設定します。既定は39500 11 | deivceNameには、自分を表す名称を設定します。必ずアプリケーション固有の設定をしてください。 12 | servicePortには、通信相手からアクセスしてほしい通信用ポートを設定します。必ずアプリケーション固有の設定をしてください。 13 | ### 探索 14 | execをtrueにするか、 StartDiscover(Action OnDeviceFound)を叩くと探索を開始します。 15 | デバイスが見つかる度にOnDeviceFoundがコールされます。 16 | 17 | ### 結果 18 | responseIpAddressが、応答を返してきたResponderのIPアドレスです。 19 | responseDeviceNameが、Responderの名称です。 20 | responseServicePortが、Responderが使用してほしいと通知してきている通信用ポートです。 21 | 22 | 23 | ## EasyDeviceDiscoveryProtocolClient.Responder 24 | GameObjectとして配置してください。 25 | 探索要求の受信、応答の送信を行います。 26 | 27 | 28 | 29 | ### 準備 30 | discoverPortには、探索に使用するポートを設定します。既定は39500 31 | deivceNameには、自分を表す名称を設定します。必ずアプリケーション固有の設定をしてください。 32 | servicePortには、通信相手からアクセスしてほしい通信用ポートを設定します。必ずアプリケーション固有の設定をしてください。 33 | 34 | ### 待受 35 | gameObjectがEnableな限り待ち受け続けます。 36 | 探索要求を受ける度にOnRequestedがコールされます。 37 | 38 | 39 | ### 結果 40 | requestIpAddressが、探索元のRequesterのIPアドレスです。 41 | requestDeviceNameが、Requesterの名称です。 42 | requestServicePortが、Requesterが使用してほしいと通知してきている通信用ポートです。 43 | 44 | 45 | -------------------------------------------------------------------------------- /doc/insp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpsnmeajp/EasyDeviceDiscoveryProtocolForUnity/a3bfaf60b26b2ccba7478626c11cec2fd331f71e/doc/insp.png -------------------------------------------------------------------------------- /doc/req_Inspector.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpsnmeajp/EasyDeviceDiscoveryProtocolForUnity/a3bfaf60b26b2ccba7478626c11cec2fd331f71e/doc/req_Inspector.png -------------------------------------------------------------------------------- /doc/resp_Inspector.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpsnmeajp/EasyDeviceDiscoveryProtocolForUnity/a3bfaf60b26b2ccba7478626c11cec2fd331f71e/doc/resp_Inspector.png -------------------------------------------------------------------------------- /img/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpsnmeajp/EasyDeviceDiscoveryProtocolForUnity/a3bfaf60b26b2ccba7478626c11cec2fd331f71e/img/image.png -------------------------------------------------------------------------------- /img/image.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpsnmeajp/EasyDeviceDiscoveryProtocolForUnity/a3bfaf60b26b2ccba7478626c11cec2fd331f71e/img/image.pptx --------------------------------------------------------------------------------