├── .editorconfig ├── .gitattributes ├── .gitignore ├── CodeAnalysis.ruleset ├── LICENSE ├── NOTE.md ├── README.md ├── build.cmd ├── build.fsx ├── docs ├── InputBox.png ├── MessageBox.png └── Modal.png ├── src └── UnityPackage │ ├── .gitignore │ ├── Assets │ ├── Editor.meta │ ├── Editor │ │ ├── CodeAnalysisVsHook.cs │ │ └── CodeAnalysisVsHook.cs.meta │ ├── UiManager.meta │ ├── UiManager │ │ ├── UiDialog.cs │ │ ├── UiDialog.cs.meta │ │ ├── UiDialogHandle.cs │ │ ├── UiDialogHandle.cs.meta │ │ ├── UiHelper.cs │ │ ├── UiHelper.cs.meta │ │ ├── UiInputBox.cs │ │ ├── UiInputBox.cs.meta │ │ ├── UiManager.cs │ │ ├── UiManager.cs.meta │ │ ├── UiMessageBox.cs │ │ └── UiMessageBox.cs.meta │ ├── UiManagerSample.meta │ ├── UiManagerSample │ │ ├── TestDialogBox.cs │ │ ├── TestDialogBox.cs.meta │ │ ├── UiManagerSample.cs │ │ ├── UiManagerSample.cs.meta │ │ ├── UiManagerSample.unity │ │ └── UiManagerSample.unity.meta │ ├── UnityPackages.meta │ └── UnityPackages │ │ ├── CommonLogging.meta │ │ ├── CommonLogging.unitypackage.json │ │ ├── CommonLogging.unitypackage.json.meta │ │ ├── CommonLogging │ │ ├── Common.Logging.Core.dll │ │ ├── Common.Logging.Core.dll.mdb │ │ ├── Common.Logging.Core.dll.mdb.meta │ │ ├── Common.Logging.Core.dll.meta │ │ ├── Common.Logging.Extensions.dll │ │ ├── Common.Logging.Extensions.dll.mdb │ │ ├── Common.Logging.Extensions.dll.mdb.meta │ │ ├── Common.Logging.Extensions.dll.meta │ │ ├── Common.Logging.dll │ │ ├── Common.Logging.dll.mdb │ │ ├── Common.Logging.dll.mdb.meta │ │ └── Common.Logging.dll.meta │ │ ├── DOTween.meta │ │ └── DOTween │ │ ├── DOTween.XML │ │ ├── DOTween.XML.meta │ │ ├── DOTween.dll │ │ ├── DOTween.dll.mdb │ │ ├── DOTween.dll.mdb.meta │ │ ├── DOTween.dll.meta │ │ ├── DOTween43.dll │ │ ├── DOTween43.dll.mdb │ │ ├── DOTween43.dll.mdb.meta │ │ ├── DOTween43.dll.meta │ │ ├── DOTween43.xml │ │ ├── DOTween43.xml.meta │ │ ├── DOTween46.dll │ │ ├── DOTween46.dll.mdb │ │ ├── DOTween46.dll.mdb.meta │ │ ├── DOTween46.dll.meta │ │ ├── DOTween46.xml │ │ ├── DOTween46.xml.meta │ │ ├── DOTween50.dll │ │ ├── DOTween50.dll.mdb │ │ ├── DOTween50.dll.mdb.meta │ │ ├── DOTween50.dll.meta │ │ ├── DOTween50.xml │ │ ├── DOTween50.xml.meta │ │ ├── Editor.meta │ │ └── Editor │ │ ├── DOTweenEditor.XML │ │ ├── DOTweenEditor.XML.meta │ │ ├── DOTweenEditor.dll │ │ ├── DOTweenEditor.dll.mdb │ │ ├── DOTweenEditor.dll.mdb.meta │ │ ├── DOTweenEditor.dll.meta │ │ ├── Imgs.meta │ │ └── Imgs │ │ ├── DOTweenIcon.png │ │ ├── DOTweenIcon.png.meta │ │ ├── Footer.png │ │ ├── Footer.png.meta │ │ ├── Footer_dark.png │ │ ├── Footer_dark.png.meta │ │ ├── Header.jpg │ │ └── Header.jpg.meta │ ├── ProjectSettings │ ├── AudioManager.asset │ ├── ClusterInputManager.asset │ ├── DynamicsManager.asset │ ├── EditorBuildSettings.asset │ ├── EditorSettings.asset │ ├── GraphicsSettings.asset │ ├── InputManager.asset │ ├── NavMeshAreas.asset │ ├── NetworkManager.asset │ ├── Physics2DSettings.asset │ ├── ProjectSettings.asset │ ├── ProjectVersion.txt │ ├── QualitySettings.asset │ ├── TagManager.asset │ ├── TimeManager.asset │ ├── UnityAdsSettings.asset │ └── UnityConnectSettings.asset │ └── UiManager.unitypackage.json └── tools └── nuget ├── NuGet.Config ├── NuGet.targets ├── nuget.exe └── packages.config /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*.{cs, py, fsx}] 4 | indent_style = space 5 | indent_size = 4 6 | trim_trailing_whitespace = true 7 | insert_final_newline = true 8 | 9 | [*.{json, xml}] 10 | indent_style = space 11 | indent_size = 2 12 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # User-specific files 2 | *.suo 3 | *.user 4 | *.userosscache 5 | *.sln.docstates 6 | 7 | # Build results 8 | [Dd]ebug/ 9 | [Dd]ebugPublic/ 10 | [Rr]elease/ 11 | [Rr]eleases/ 12 | x64/ 13 | x86/ 14 | build/ 15 | bld/ 16 | [Bb]in/ 17 | [Oo]bj/ 18 | 19 | # Coverity output 20 | cov-int/ 21 | 22 | # Visual Studio 2015 cache/options directory 23 | .vs/ 24 | 25 | # DNX 26 | project.lock.json 27 | artifacts/ 28 | 29 | # Visual Studio profiler 30 | *.psess 31 | *.vsp 32 | *.vspx 33 | 34 | # Visual Studio Code 35 | .vscode 36 | 37 | # Click-Once directory 38 | [Pp]ublish/ 39 | 40 | # NuGet Packages 41 | *.nupkg 42 | # The packages folder can be ignored because of Package Restore 43 | **/packages/* 44 | # except build/, which is used as an MSBuild target. 45 | !**/packages/build/ 46 | # Uncomment if necessary however generally it will be regenerated when needed 47 | #!**/packages/repositories.config 48 | 49 | # Windows Azure Build Output 50 | csx/ 51 | *.build.csdef 52 | 53 | # Windows Store app package directory 54 | AppPackages/ 55 | 56 | # Visual Studio cache files 57 | # files ending in .cache can be ignored 58 | *.[Cc]ache 59 | # but keep track of directories ending in .cache 60 | !*.[Cc]ache/ 61 | 62 | # Fake 63 | .fake/ 64 | 65 | # No APK 66 | *.apk 67 | -------------------------------------------------------------------------------- /CodeAnalysis.ruleset: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 SaladLab 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 | 23 | -------------------------------------------------------------------------------- /NOTE.md: -------------------------------------------------------------------------------- 1 | # TODO 2 | ## Extensions 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # UiManager for Unity3D 2 | 3 | ## Features 4 | 5 | * Modal dialog management. 6 | * Common dialog boxes such as MessageBox and InputBox. 7 | 8 | ## How to use 9 | 10 | ### Modal Dialog management. 11 | 12 | ![Modal](./docs/Modal.png) 13 | 14 | This library provides basic modal dialog managements on Unity-GUI. 15 | Modal dialog box works like a function which gets input argument, does work, and returns return value. 16 | When a modal dialog box shows, input of other windows under showing dialog box will be blocked. 17 | 18 | ```csharp 19 | // show up TestDialogBox with an arugment 20 | var handle = UiManager.Instance.ShowModalRoot("Input your name?"); 21 | // waits for dialog to finish it's work 22 | yield return StartCoroutine(handle.WaitForHide()); 23 | // gets return value from dialog 24 | Debug.Log(handle.ReturnValue); 25 | ``` 26 | 27 | #### Define modal dialog box 28 | 29 | DialogBox should inherit `UiDialog`. 30 | When dialog box shows up, `OnShow` handler will be invoked with `param` is passed by `ShowModalRoot`. 31 | When work done and there is a return value, `Hide` method can be used. 32 | 33 | ```csharp 34 | // 35 | public class TestDialogBox : UiDialog 36 | { 37 | public override void OnShow(object param) 38 | { 39 | // gets an argument from caller 40 | Message.text = (string)param; 41 | Input.text = ""; 42 | } 43 | 44 | public void OnOkButtonClick() 45 | { 46 | // returns values to caller 47 | Hide(Input.text); 48 | } 49 | } 50 | ``` 51 | 52 | #### Show modal dialog 53 | 54 | It's quite simple to show modal dialog boxes but there are several ways for showing dialog box. 55 | 56 | * `ShowModalPrefab`: Use the prefab dialog box. Whenever show up new dialog, dialog box will be instantiated. 57 | * `ShowModalTemplate`: Use the template dialog box in the scene. Whenever show up new dialog, dialog box will be cloned. 58 | * `ShowModal`: Use a passed dialog box whose type is T. 59 | * `ShowModalRoot`: Use a named dialog box under `Canvas/DialogBox` in the scene. 60 | 61 | For getting return value of it, there are two ways. 62 | 63 | First one is using `Hidden` callback. 64 | 65 | ```csharp 66 | var handle = UiManager.Instance.ShowModalRoot("Input your name?"); 67 | handle.Hidden += (dlg, val) => { Debug,Log(val); }; 68 | ``` 69 | 70 | Second one is using coroutine. It's quite useful under modal chaining. 71 | 72 | ```csharp 73 | var handle = UiManager.Instance.ShowModalRoot("Input your name?"); 74 | yield return StartCoroutine(handle.WaitForHide()); 75 | Debug.Log(handle.ReturnValue); 76 | ``` 77 | 78 | ### Common dialog boxes. 79 | 80 | #### Common message box 81 | 82 | ![MessageBox](./docs/MessageBox.png) 83 | 84 | ```csharp 85 | UiMessageBox.Show("This is a message question box", 86 | UiMessageBox.QuestionType.OkCancel, 87 | r => { /* Callback */ }); 88 | ``` 89 | 90 | #### Common input box 91 | 92 | ![InputBox](./docs/InputBox.png) 93 | 94 | ```csharp 95 | UiInputBox.Show("Please input your name:", 96 | "Input", 97 | r => { /* Callback */ }); 98 | ``` 99 | -------------------------------------------------------------------------------- /build.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | pushd %~dp0 4 | 5 | SET PACKAGEPATH=.\packages\ 6 | SET NUGET=.\tools\nuget\NuGet.exe 7 | SET NUGETOPTIONS=-ConfigFile .\tools\nuget\NuGet.Config -OutputDirectory %PACKAGEPATH% -ExcludeVersion 8 | 9 | IF NOT EXIST %PACKAGEPATH%FAKE\Ver_4.28.0 ( 10 | RD /S/Q %PACKAGEPATH%FAKE 11 | %NUGET% install FAKE -Version 4.28.0 %NUGETOPTIONS% 12 | COPY NUL %PACKAGEPATH%FAKE\Ver_4.28.0 13 | ) 14 | 15 | IF NOT EXIST %PACKAGEPATH%FAKE.BuildLib\Ver_0.3.6 ( 16 | RD /S/Q %PACKAGEPATH%FAKE.BuildLib 17 | %NUGET% install FAKE.BuildLib -Version 0.3.6 %NUGETOPTIONS% 18 | COPY NUL %PACKAGEPATH%FAKE.BuildLib\Ver_0.3.6 19 | ) 20 | 21 | set encoding=utf-8 22 | "%PACKAGEPATH%FAKE\tools\FAKE.exe" build.fsx %* 23 | 24 | popd 25 | -------------------------------------------------------------------------------- /build.fsx: -------------------------------------------------------------------------------- 1 | #I @"packages/FAKE/tools" 2 | #I @"packages/FAKE.BuildLib/lib/net451" 3 | #r "FakeLib.dll" 4 | #r "BuildLib.dll" 5 | 6 | open Fake 7 | open BuildLib 8 | 9 | let solution = initSolution "" "" [] 10 | 11 | Target "Clean" <| fun _ -> cleanBin 12 | 13 | Target "PackUnity" <| fun _ -> 14 | packUnityPackage "./src/UnityPackage/UiManager.unitypackage.json" 15 | 16 | Target "Pack" <| fun _ -> () 17 | 18 | Target "Help" <| fun _ -> 19 | showUsage solution (fun _ -> None) 20 | 21 | "Clean" 22 | ==> "PackUnity" 23 | ==> "Pack" 24 | 25 | RunTargetOrDefault "Help" 26 | -------------------------------------------------------------------------------- /docs/InputBox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaladLab/Unity3D.UiManager/2c2837f537697de9eedbcf7fa73c7a70dce440e9/docs/InputBox.png -------------------------------------------------------------------------------- /docs/MessageBox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaladLab/Unity3D.UiManager/2c2837f537697de9eedbcf7fa73c7a70dce440e9/docs/MessageBox.png -------------------------------------------------------------------------------- /docs/Modal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaladLab/Unity3D.UiManager/2c2837f537697de9eedbcf7fa73c7a70dce440e9/docs/Modal.png -------------------------------------------------------------------------------- /src/UnityPackage/.gitignore: -------------------------------------------------------------------------------- 1 | /[Ll]ibrary/ 2 | /[Tt]emp/ 3 | /[Oo]bj/ 4 | /[Bb]uild/ 5 | 6 | # Autogenerated VS/MD solution and project files 7 | *.csproj 8 | *.unityproj 9 | *.sln 10 | *.suo 11 | *.tmp 12 | *.user 13 | *.userprefs 14 | *.pidb 15 | *.booproj 16 | 17 | # Unity3D generated meta files 18 | *.pidb.meta 19 | 20 | # Unity3D Generated File On Crash Reports 21 | sysinfo.txt 22 | 23 | # UnityPackage 24 | *.unitypackage -------------------------------------------------------------------------------- /src/UnityPackage/Assets/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 36bf8da78c78dbc4c9b1e196ae8fb4d3 3 | folderAsset: yes 4 | timeCreated: 1447574544 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/Editor/CodeAnalysisVsHook.cs: -------------------------------------------------------------------------------- 1 | #if UNITY_EDITOR_WIN 2 | 3 | using System; 4 | using System.IO; 5 | using System.Linq; 6 | using System.Text; 7 | using System.Xml.Linq; 8 | using SyntaxTree.VisualStudio.Unity.Bridge; 9 | using UnityEditor; 10 | 11 | [InitializeOnLoad] 12 | public class CodeAnalysisVsHook 13 | { 14 | private class Utf8StringWriter : StringWriter 15 | { 16 | public override Encoding Encoding 17 | { 18 | get { return Encoding.UTF8; } 19 | } 20 | } 21 | 22 | // NOTE: Good to have 23 | // - automatic nuget package download 24 | // - stylecop file or directory exclude list 25 | 26 | static CodeAnalysisVsHook() 27 | { 28 | ProjectFilesGenerator.ProjectFileGeneration += (name, content) => 29 | { 30 | var rulesetPath = GetRulesetFile(); 31 | if (string.IsNullOrEmpty(rulesetPath)) 32 | return content; 33 | 34 | var getStyleCopAnalyzersPath = GetStyleCopAnalyzersPath(); 35 | if (string.IsNullOrEmpty(getStyleCopAnalyzersPath)) 36 | return content; 37 | 38 | // Insert a ruleset file and StyleCop.Analyzers into a project file 39 | 40 | var document = XDocument.Parse(content); 41 | 42 | var ns = document.Root.Name.Namespace; 43 | 44 | var propertyGroup = document.Root.Descendants(ns + "PropertyGroup").FirstOrDefault(); 45 | if (propertyGroup != null) 46 | { 47 | propertyGroup.Add(new XElement(ns + "CodeAnalysisRuleSet", rulesetPath)); 48 | } 49 | 50 | var itemGroup = document.Root.Descendants(ns + "ItemGroup").LastOrDefault(); 51 | if (itemGroup != null) 52 | { 53 | var newItemGroup = new XElement(ns + "ItemGroup"); 54 | foreach (var file in Directory.GetFiles(getStyleCopAnalyzersPath + @"\analyzers\dotnet\cs", "*.dll")) 55 | { 56 | newItemGroup.Add(new XElement(ns + "Analyzer", new XAttribute("Include", file))); 57 | } 58 | itemGroup.AddAfterSelf(newItemGroup); 59 | } 60 | 61 | var str = new Utf8StringWriter(); 62 | document.Save(str); 63 | return str.ToString(); 64 | }; 65 | } 66 | 67 | private static string GetRulesetFile() 68 | { 69 | // Find *.ruleset in traversing parent directories. 70 | 71 | var dir = Directory.GetCurrentDirectory(); 72 | try 73 | { 74 | while (true) 75 | { 76 | var files = Directory.GetFiles(dir, "*.ruleset"); 77 | if (files.Length > 0) 78 | return files[0]; 79 | 80 | dir = Path.GetDirectoryName(dir); 81 | } 82 | } 83 | catch (Exception) 84 | { 85 | return null; 86 | } 87 | } 88 | 89 | private static string GetStyleCopAnalyzersPath() 90 | { 91 | // Find /packages/StyleCop.Analyzers* in traversing parent directories. 92 | 93 | var dir = Directory.GetCurrentDirectory(); 94 | try 95 | { 96 | while (true) 97 | { 98 | var packagesPath = Path.Combine(dir, "packages"); 99 | if (Directory.Exists(packagesPath)) 100 | { 101 | var dirs = Directory.GetDirectories(packagesPath, "StyleCop.Analyzers*"); 102 | if (dirs.Length > 0) 103 | return dirs[0]; 104 | } 105 | 106 | dir = Path.GetDirectoryName(dir); 107 | } 108 | } 109 | catch (Exception) 110 | { 111 | return null; 112 | } 113 | } 114 | } 115 | 116 | #endif 117 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/Editor/CodeAnalysisVsHook.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 306392ace64e24f439e3b04e76770427 3 | timeCreated: 1459906747 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UiManager.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 29cffa8549b47fc47b26f1e2de004418 3 | folderAsset: yes 4 | timeCreated: 1445996067 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UiManager/UiDialog.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | public class UiDialog : MonoBehaviour 5 | { 6 | public virtual void OnShow(object param) 7 | { 8 | } 9 | 10 | public virtual void OnHide() 11 | { 12 | } 13 | 14 | public void Hide(object returnValue = null) 15 | { 16 | UiManager.Instance.HideModal(this, returnValue); 17 | } 18 | 19 | public void OnDialogCloseButtonClick() 20 | { 21 | Hide(); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UiManager/UiDialog.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4c96b2ddaea6e4045893551933a29291 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UiManager/UiDialogHandle.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using UnityEngine; 4 | 5 | public class UiDialogHandle 6 | { 7 | public UiDialog Dialog; 8 | public Action Hidden; 9 | public bool Visible; 10 | public object ReturnValue; 11 | 12 | public IEnumerator WaitForHide() 13 | { 14 | while (Visible) 15 | { 16 | yield return null; 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UiManager/UiDialogHandle.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b636a271260ae3f4f8aef6421616d78a 3 | timeCreated: 1445999278 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UiManager/UiHelper.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | public static class UiHelper 5 | { 6 | static public GameObject AddChild(GameObject parent, string name) 7 | { 8 | if (parent == null) 9 | throw new ArgumentNullException("parent"); 10 | 11 | var go = new GameObject(name); 12 | go.layer = parent.layer; 13 | 14 | var tc = go.GetComponent(); 15 | var tp = parent.GetComponent(); 16 | tc.SetParent(tp, false); 17 | 18 | return go; 19 | } 20 | 21 | public static GameObject AddChild(GameObject parent, GameObject prefab) 22 | { 23 | if (parent == null) 24 | throw new ArgumentNullException("parent"); 25 | if (prefab == null) 26 | throw new ArgumentNullException("prefab"); 27 | 28 | var go = GameObject.Instantiate(prefab); 29 | go.layer = parent.layer; 30 | 31 | var tc = go.GetComponent(); 32 | var tp = parent.GetComponent(); 33 | tc.SetParent(tp, false); 34 | 35 | return go; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UiManager/UiHelper.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 27242495700aa2e47af0d1b82e4b2349 3 | timeCreated: 1442287227 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UiManager/UiInputBox.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | using UnityEngine.UI; 4 | 5 | public class UiInputBox : UiDialog 6 | { 7 | public delegate void InputResultDelegate(string input); 8 | 9 | public enum ButtonType 10 | { 11 | Ok, 12 | OkCancel, 13 | } 14 | 15 | public Text MessageText; 16 | public InputField ValueInput; 17 | public Button[] Buttons; 18 | 19 | public static UiDialogHandle Show( 20 | string msg, string value = null, ButtonType buttonType = ButtonType.Ok, 21 | InputResultDelegate callback = null, string customOkName = null) 22 | { 23 | UiDialogHandle handle; 24 | { 25 | var builtin = UiManager.Instance.FindFromDialogRoot("InputBox"); 26 | if (builtin != null) 27 | { 28 | handle = UiManager.Instance.ShowModalTemplate(builtin.gameObject); 29 | } 30 | else 31 | { 32 | var msgBoxPrefab = Resources.Load("InputBox") as GameObject; 33 | handle = UiManager.Instance.ShowModalPrefab(msgBoxPrefab); 34 | } 35 | } 36 | 37 | if (callback != null) 38 | handle.Hidden += (dlg, returnValue) => callback((string)returnValue); 39 | 40 | var msgBox = (UiInputBox)handle.Dialog; 41 | msgBox.MessageText.text = msg; 42 | msgBox.ValueInput.text = value ?? ""; 43 | 44 | var b0 = msgBox.Buttons[0]; 45 | var b0Text = b0.transform.Find("Text").GetComponent(); 46 | var b1 = msgBox.Buttons[1]; 47 | var b1Text = b1.transform.Find("Text").GetComponent(); 48 | 49 | b1.gameObject.SetActive(buttonType != ButtonType.Ok); 50 | 51 | switch (buttonType) 52 | { 53 | case ButtonType.Ok: 54 | b0Text.text = customOkName ?? "Ok"; 55 | b0.onClick.AddListener(() => msgBox.OnButtonClick(true)); 56 | break; 57 | 58 | case ButtonType.OkCancel: 59 | b0Text.text = customOkName ?? "Ok"; 60 | b0.onClick.AddListener(() => msgBox.OnButtonClick(true)); 61 | b1Text.text = "Cancel"; 62 | b1.onClick.AddListener(() => msgBox.OnButtonClick(false)); 63 | break; 64 | } 65 | 66 | return handle; 67 | } 68 | 69 | private void OnButtonClick(bool ok) 70 | { 71 | Hide(ok ? ValueInput.text : null); 72 | } 73 | 74 | public void OnInputSubmit() 75 | { 76 | OnButtonClick(true); 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UiManager/UiInputBox.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb3a373a3db82d441a22ee5edca52dd7 3 | timeCreated: 1468367085 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UiManager/UiManager.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Linq; 3 | using System.Collections.Generic; 4 | using Common.Logging; 5 | using UnityEngine; 6 | using UnityEngine.UI; 7 | using DG.Tweening; 8 | 9 | public class UiManager 10 | { 11 | private static readonly ILog _logger = LogManager.GetLogger("UiManager"); 12 | 13 | private RectTransform _canvasRoot; 14 | private RectTransform _contentRoot; 15 | private RectTransform _dialogRoot; 16 | 17 | private RectTransform _inputBlocker; 18 | private int _inputBlockCount; 19 | 20 | private class ModalEntity 21 | { 22 | public UiDialogHandle Handle; 23 | public bool IsTemporary; 24 | public RectTransform Curtain; 25 | public ShowModalOption Option; 26 | } 27 | 28 | private List _modals = new List(); 29 | private int _blackCurtainCount; 30 | private RectTransform _fadingOutBlackCurtain; 31 | 32 | public static UiManager Instance { get; private set; } 33 | 34 | public static void Initialize() 35 | { 36 | Instance = new UiManager(); 37 | } 38 | 39 | public UiManager() 40 | { 41 | _canvasRoot = GameObject.Find("Canvas").GetComponent(); 42 | _contentRoot = GameObject.Find("Canvas/Content").GetComponent(); 43 | _dialogRoot = GameObject.Find("Canvas/DialogBox").GetComponent(); 44 | } 45 | 46 | public RectTransform CanvasRoot 47 | { 48 | get { return _canvasRoot; } 49 | } 50 | 51 | public RectTransform ContentRoot 52 | { 53 | get { return _contentRoot; } 54 | } 55 | 56 | public RectTransform DialogRoot 57 | { 58 | get { return _dialogRoot; } 59 | } 60 | 61 | public RectTransform FindFromDialogRoot(string name) 62 | { 63 | var transform = _dialogRoot.Find(name); 64 | return transform != null ? transform.GetComponent() : null; 65 | } 66 | 67 | public bool InputBlocked 68 | { 69 | get { return _inputBlockCount > 0; } 70 | } 71 | 72 | private RectTransform CreateCurtain(Color color, RectTransform parent) 73 | { 74 | var go = new GameObject("Curtain"); 75 | var rt = go.AddComponent(); 76 | var image = go.AddComponent(); 77 | image.color = color; 78 | rt.SetParent(parent, false); 79 | rt.anchorMin = Vector2.zero; 80 | rt.anchorMax = Vector2.one; 81 | return rt; 82 | } 83 | 84 | public void ShowInputBlocker() 85 | { 86 | if (_inputBlockCount == 0) 87 | { 88 | if (_inputBlocker != null) 89 | { 90 | _logger.WarnFormat("Blocker already exists on ShowInputBlocker count={0}", _inputBlockCount); 91 | return; 92 | } 93 | 94 | _inputBlocker = CreateCurtain(new Color(0, 0, 0, 0.5f), _canvasRoot); 95 | } 96 | 97 | _inputBlockCount++; 98 | } 99 | 100 | public void HideInputBlocker() 101 | { 102 | if (_inputBlockCount <= 0) 103 | { 104 | _logger.WarnFormat("Invalid count on HideInputBlocker count={0}", _inputBlockCount); 105 | return; 106 | } 107 | 108 | _inputBlockCount--; 109 | 110 | if (_inputBlockCount == 0) 111 | { 112 | UnityEngine.Object.Destroy(_inputBlocker.gameObject); 113 | _inputBlocker = null; 114 | } 115 | } 116 | 117 | public bool BlackCurtainVisible 118 | { 119 | get { return _blackCurtainCount > 0; } 120 | } 121 | 122 | [Flags] 123 | public enum ShowModalOption 124 | { 125 | None, 126 | BlackCurtain = 1, 127 | } 128 | 129 | public UiDialogHandle ShowModalPrefab(GameObject prefab, object param = null, 130 | ShowModalOption option = ShowModalOption.BlackCurtain) 131 | { 132 | _logger.InfoFormat("ShowModalPrefab({0})", prefab.name); 133 | 134 | var dialogGo = UiHelper.AddChild(_dialogRoot.gameObject, prefab); 135 | 136 | var dialog = dialogGo.GetComponent(); 137 | return ShowModalInternal(dialog, true, param, option); 138 | } 139 | 140 | public UiDialogHandle ShowModalTemplate(GameObject gameObject, object param = null, 141 | ShowModalOption option = ShowModalOption.BlackCurtain) 142 | { 143 | _logger.InfoFormat("ShowModalTemplate({0})", gameObject.transform.name); 144 | 145 | var dialogGo = UiHelper.AddChild(_dialogRoot.gameObject, gameObject); 146 | dialogGo.SetActive(true); 147 | 148 | var dialog = dialogGo.GetComponent(); 149 | return ShowModalInternal(dialog, true, param, option); 150 | } 151 | 152 | public UiDialogHandle ShowModal(T dialog, object param = null, 153 | ShowModalOption option = ShowModalOption.BlackCurtain) 154 | where T : UiDialog 155 | { 156 | _logger.InfoFormat("ShowModal({0})", dialog.GetType().Name); 157 | 158 | if (dialog.gameObject.activeSelf) 159 | { 160 | _logger.InfoFormat("Failed to show modal because already shown"); 161 | return null; 162 | } 163 | 164 | dialog.gameObject.SetActive(true); 165 | return ShowModalInternal(dialog, false, param, option); 166 | } 167 | 168 | public UiDialogHandle ShowModalRoot(object param = null, 169 | ShowModalOption option = ShowModalOption.BlackCurtain) 170 | where T : UiDialog 171 | { 172 | var dialogGo = FindFromDialogRoot(typeof(T).Name); 173 | if (dialogGo == null) 174 | throw new Exception("ShowModalRoot not found: " + typeof(T).Name); 175 | 176 | var dialog = dialogGo.GetComponent(); 177 | if (dialog == null) 178 | throw new Exception("ShowModalRoot type mismatched: " + typeof(T).Name); 179 | 180 | return ShowModal(dialog, param, option); 181 | } 182 | 183 | private UiDialogHandle ShowModalInternal(UiDialog dialog, bool isTemporary, object param, ShowModalOption option) 184 | { 185 | // create curtain for blocking input 186 | 187 | RectTransform curtain = null; 188 | if ((option & ShowModalOption.BlackCurtain) != 0 && _fadingOutBlackCurtain != null) 189 | { 190 | // When there is a curtain fading out, reuse it to reduce flickering 191 | 192 | curtain = _fadingOutBlackCurtain; 193 | 194 | DOTween.Kill(curtain.GetComponentInChildren()); 195 | _fadingOutBlackCurtain = null; 196 | } 197 | else 198 | { 199 | curtain = CreateCurtain(new Color(0, 0, 0, 0), _dialogRoot); 200 | } 201 | 202 | curtain.SetSiblingIndex(dialog.GetComponent().GetSiblingIndex()); 203 | 204 | // unnecessary but it works as workaround for setting sibling index 205 | dialog.GetComponent().SetSiblingIndex(curtain.GetSiblingIndex() + 1); 206 | 207 | if ((option & ShowModalOption.BlackCurtain) != 0) 208 | { 209 | _blackCurtainCount += 1; 210 | var image = curtain.GetComponentInChildren(); 211 | image.DOColor(new Color(0, 0, 0, 0.7f), 0.15f).SetUpdate(true); 212 | } 213 | 214 | // fade in dialog 215 | 216 | var dialogRt = dialog.GetComponent(); 217 | dialogRt.localScale = Vector3.one * 1.1f; 218 | dialogRt.DOScale(Vector3.one, 0.2f).SetEase(Ease.OutCubic).SetUpdate(true); 219 | 220 | var dialogCg = dialog.GetComponent(); 221 | dialogCg.alpha = 0.2f; 222 | dialogCg.DOFade(1f, 0.2f).SetEase(Ease.OutCubic).SetUpdate(true); 223 | 224 | // create handle and register to modals 225 | 226 | var handle = new UiDialogHandle 227 | { 228 | Dialog = dialog, 229 | Visible = true 230 | }; 231 | 232 | _modals.Add(new ModalEntity 233 | { 234 | Handle = handle, 235 | IsTemporary = isTemporary, 236 | Curtain = curtain, 237 | Option = option 238 | }); 239 | 240 | dialog.OnShow(param); 241 | 242 | return handle; 243 | } 244 | 245 | internal bool HideModal(UiDialog dialog, object returnValue) 246 | { 247 | _logger.InfoFormat("HideModal({0})", dialog.name); 248 | 249 | var i = _modals.FindIndex(m => m.Handle.Dialog == dialog); 250 | if (i == -1) 251 | { 252 | _logger.Info("Failed to hide modal because not shown"); 253 | return false; 254 | } 255 | 256 | var entity = _modals[i]; 257 | _modals.RemoveAt(i); 258 | 259 | // trigger UiDialog.OnHide 260 | 261 | var uiDialog = entity.Handle.Dialog.GetComponent(); 262 | if (uiDialog != null) 263 | uiDialog.OnHide(); 264 | 265 | // remove dialog 266 | 267 | var dialogCg = dialog.GetComponent(); 268 | dialogCg.DOFade(0f, 0.2f).SetEase(Ease.OutCubic).SetUpdate(true).OnComplete(() => 269 | { 270 | if (entity.IsTemporary) 271 | { 272 | UnityEngine.Object.Destroy(entity.Handle.Dialog.gameObject); 273 | } 274 | else 275 | { 276 | entity.Handle.Dialog.gameObject.SetActive(false); 277 | } 278 | }); 279 | 280 | // remove curtain 281 | 282 | if (entity.Curtain != null) 283 | { 284 | if ((entity.Option & ShowModalOption.BlackCurtain) != 0) 285 | { 286 | _blackCurtainCount -= 1; 287 | _fadingOutBlackCurtain = entity.Curtain; 288 | 289 | var image = entity.Curtain.GetComponentInChildren(); 290 | image.DOColor(new Color(0, 0, 0, 0), 0.1f).SetEase(Ease.InQuad).SetUpdate(true) 291 | .OnComplete(() => 292 | { 293 | if (_fadingOutBlackCurtain == entity.Curtain) 294 | _fadingOutBlackCurtain = null; 295 | UnityEngine.Object.Destroy(entity.Curtain.gameObject); 296 | }); 297 | } 298 | else 299 | { 300 | UnityEngine.Object.Destroy(entity.Curtain.gameObject); 301 | } 302 | } 303 | 304 | // trigger Hidden event 305 | 306 | entity.Handle.Visible = false; 307 | entity.Handle.ReturnValue = returnValue; 308 | if (entity.Handle.Hidden != null) 309 | entity.Handle.Hidden(entity.Handle.Dialog, returnValue); 310 | 311 | return true; 312 | } 313 | 314 | public int GetModalCount() 315 | { 316 | return _modals.Count; 317 | } 318 | 319 | public UiDialogHandle GetModalHandle() 320 | where T : UiDialog 321 | { 322 | var dialogGo = FindFromDialogRoot(typeof(T).Name); 323 | if (dialogGo == null) 324 | throw new Exception("ModalRoot not found: " + typeof(T).Name); 325 | 326 | var dialog = dialogGo.GetComponent(); 327 | if (dialog == null) 328 | throw new Exception("ModalRoot type mismatched: " + typeof(T).Name); 329 | 330 | var entity = _modals.Find(m => m.Handle.Dialog == dialog); 331 | return (entity != null) ? entity.Handle : null; 332 | } 333 | 334 | public UiDialogHandle GetLastModalHandle() 335 | { 336 | return _modals.Any() ? _modals.Last().Handle : null; 337 | } 338 | 339 | public UiDialogHandle GetOwnerModalHandle(GameObject go) 340 | { 341 | var cur = go.transform; 342 | while (cur != null) 343 | { 344 | var dialog = cur.GetComponent(); 345 | if (dialog != null) 346 | { 347 | var modal = _modals.Find(m => m.Handle.Dialog); 348 | if (modal != null) 349 | return modal.Handle; 350 | } 351 | cur = cur.transform.parent; 352 | } 353 | return null; 354 | } 355 | } 356 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UiManager/UiManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 779638fe2a14b9240900b38f23f4d799 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UiManager/UiMessageBox.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | 4 | public class UiMessageBox : UiDialog 5 | { 6 | public enum QuestionType 7 | { 8 | Ok, 9 | OkCancel, 10 | RetryCancel, 11 | YesNo, 12 | ContinueStop 13 | } 14 | 15 | public enum QuestionResult 16 | { 17 | Close, 18 | Ok, 19 | Cancel, 20 | Retry, 21 | Yes, 22 | No, 23 | Continue, 24 | Stop 25 | } 26 | 27 | public delegate void QuestionResultDelegate(QuestionResult result); 28 | 29 | public Text MessageText; 30 | public Button[] Buttons; 31 | 32 | public static UiDialogHandle Show(string msg, QuestionResultDelegate callback = null) 33 | { 34 | UiDialogHandle handle; 35 | { 36 | var builtin = UiManager.Instance.FindFromDialogRoot("MessageBox"); 37 | if (builtin != null) 38 | { 39 | handle = UiManager.Instance.ShowModalTemplate(builtin.gameObject); 40 | } 41 | else 42 | { 43 | var msgBoxPrefab = Resources.Load("MessageBox") as GameObject; 44 | handle = UiManager.Instance.ShowModalPrefab(msgBoxPrefab); 45 | } 46 | } 47 | 48 | if (callback != null) 49 | handle.Hidden += (dlg, returnValue) => callback((QuestionResult)returnValue); 50 | 51 | var msgBox = (UiMessageBox)handle.Dialog; 52 | msgBox.MessageText.text = msg; 53 | msgBox.Buttons[0].onClick.AddListener(msgBox.OnMessageBoxOkButtonClick); 54 | 55 | return handle; 56 | } 57 | 58 | private void OnMessageBoxOkButtonClick() 59 | { 60 | Hide(QuestionResult.Ok); 61 | } 62 | 63 | public static UiDialogHandle Show( 64 | string msg, QuestionType questionType, 65 | QuestionResultDelegate callback = null, string customOkName = null) 66 | { 67 | UiDialogHandle handle; 68 | { 69 | var builtin = UiManager.Instance.FindFromDialogRoot("MessageQuestionBox"); 70 | if (builtin != null) 71 | { 72 | handle = UiManager.Instance.ShowModalTemplate(builtin.gameObject); 73 | } 74 | else 75 | { 76 | var msgBoxPrefab = Resources.Load("MessageQuestionBox") as GameObject; 77 | handle = UiManager.Instance.ShowModalPrefab(msgBoxPrefab); 78 | } 79 | } 80 | 81 | if (callback != null) 82 | handle.Hidden += (dlg, returnValue) => callback((QuestionResult)returnValue); 83 | 84 | var msgBox = (UiMessageBox)handle.Dialog; 85 | msgBox.MessageText.text = msg; 86 | 87 | var b0 = msgBox.Buttons[0]; 88 | var b0Text = b0.transform.Find("Text").GetComponent(); 89 | var b1 = msgBox.Buttons[1]; 90 | var b1Text = b1.transform.Find("Text").GetComponent(); 91 | 92 | b1.gameObject.SetActive(questionType != QuestionType.Ok); 93 | 94 | switch (questionType) 95 | { 96 | case QuestionType.Ok: 97 | b0Text.text = customOkName ?? "Ok"; 98 | b0.onClick.AddListener(() => msgBox.OnQuestionBoxButtonClick(QuestionResult.Ok)); 99 | b1.gameObject.SetActive(false); 100 | break; 101 | 102 | case QuestionType.OkCancel: 103 | b0Text.text = customOkName ?? "Ok"; 104 | b0.onClick.AddListener(() => msgBox.OnQuestionBoxButtonClick(QuestionResult.Ok)); 105 | b1Text.text = "Cancel"; 106 | b1.onClick.AddListener(() => msgBox.OnQuestionBoxButtonClick(QuestionResult.Cancel)); 107 | break; 108 | 109 | case QuestionType.RetryCancel: 110 | b0Text.text = "Retry"; 111 | b0.onClick.AddListener(() => msgBox.OnQuestionBoxButtonClick(QuestionResult.Retry)); 112 | b1Text.text = "Cancel"; 113 | b1.onClick.AddListener(() => msgBox.OnQuestionBoxButtonClick(QuestionResult.Cancel)); 114 | break; 115 | 116 | case QuestionType.YesNo: 117 | b0Text.text = "Yes"; 118 | b0.onClick.AddListener(() => msgBox.OnQuestionBoxButtonClick(QuestionResult.Yes)); 119 | b1Text.text = "No"; 120 | b1.onClick.AddListener(() => msgBox.OnQuestionBoxButtonClick(QuestionResult.No)); 121 | break; 122 | 123 | case QuestionType.ContinueStop: 124 | b0Text.text = "Continue"; 125 | b0.onClick.AddListener(() => msgBox.OnQuestionBoxButtonClick(QuestionResult.Continue)); 126 | b1Text.text = "Stop"; 127 | b1.onClick.AddListener(() => msgBox.OnQuestionBoxButtonClick(QuestionResult.Stop)); 128 | break; 129 | } 130 | 131 | return handle; 132 | } 133 | 134 | private void OnQuestionBoxButtonClick(QuestionResult result) 135 | { 136 | Hide(result); 137 | } 138 | } 139 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UiManager/UiMessageBox.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f0a85c8628e14e04480a60a7eba33e4d 3 | timeCreated: 1445999170 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UiManagerSample.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 320ff3778b7f1664c92a9991e348d8e6 3 | folderAsset: yes 4 | timeCreated: 1447577780 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UiManagerSample/TestDialogBox.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | 4 | public class TestDialogBox : UiDialog 5 | { 6 | public Text Message; 7 | public InputField Input; 8 | 9 | public override void OnShow(object param) 10 | { 11 | Message.text = (string)param; 12 | Input.text = ""; 13 | } 14 | 15 | public void OnOkButtonClick() 16 | { 17 | Hide(Input.text); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UiManagerSample/TestDialogBox.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1dc33367770a3f044b05a713d841901d 3 | timeCreated: 1447579178 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UiManagerSample/UiManagerSample.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using Common.Logging; 3 | using UnityEngine; 4 | 5 | public class UiManagerSample : MonoBehaviour 6 | { 7 | protected ILog _logger = LogManager.GetLogger("UiManagerSample"); 8 | 9 | protected void Awake() 10 | { 11 | UiManager.Initialize(); 12 | } 13 | 14 | public void OnMessageBoxClick() 15 | { 16 | UiMessageBox.Show("This is a message box", _ => 17 | { 18 | _logger.Info("MessageBox done"); 19 | }); 20 | } 21 | 22 | public void OnMessageQuestionBoxClick() 23 | { 24 | UiMessageBox.Show("This is a message question box", UiMessageBox.QuestionType.OkCancel, r => 25 | { 26 | _logger.InfoFormat("MessageQuestionBox done with {0}", r); 27 | }); 28 | } 29 | 30 | public void OnMessageQuestionBoxCoroutineClick() 31 | { 32 | StartCoroutine(ShowMessageQuestionBoxCoroutine()); 33 | } 34 | 35 | private IEnumerator ShowMessageQuestionBoxCoroutine() 36 | { 37 | while (true) 38 | { 39 | var handle = UiMessageBox.Show("Do you want to continue?", UiMessageBox.QuestionType.ContinueStop); 40 | yield return StartCoroutine(handle.WaitForHide()); 41 | _logger.Info(handle.ReturnValue); 42 | if ((UiMessageBox.QuestionResult)handle.ReturnValue == UiMessageBox.QuestionResult.Continue) 43 | { 44 | var handle2 = UiMessageBox.Show("Let's do it again"); 45 | yield return StartCoroutine(handle2.WaitForHide()); 46 | } 47 | else 48 | { 49 | UiMessageBox.Show("Done"); 50 | yield break; 51 | } 52 | } 53 | } 54 | 55 | public void OnInputBoxClick() 56 | { 57 | UiInputBox.Show("Please input your name:", "Bill", callback: value => 58 | { 59 | UiMessageBox.Show("Your name: " + (value ?? "Canceled")); 60 | }); 61 | } 62 | 63 | public void OnTestDialogBoxClick() 64 | { 65 | var handle = UiManager.Instance.ShowModalRoot("Input your name?"); 66 | handle.Hidden += (dlg, val) => 67 | { 68 | if (val != null) 69 | UiMessageBox.Show("Name: " + val); 70 | else 71 | UiMessageBox.Show("Canceled"); 72 | }; 73 | } 74 | } 75 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UiManagerSample/UiManagerSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d71025cebc7f6454189ca56d697458b4 3 | timeCreated: 1447578607 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UiManagerSample/UiManagerSample.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ba149d182b4f39b4f8b2d99e45af2b3d 3 | timeCreated: 1447578456 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c6f56356a2b35684b5f54f789b789d3e 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/CommonLogging.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 71a73a78add353a9b949e1cabb6a2cb9 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/CommonLogging.unitypackage.json: -------------------------------------------------------------------------------- 1 | { 2 | "Id": "CommonLogging", 3 | "Version": "3.3.1", 4 | "Authors": [ 5 | "Aleksandar Seovic", 6 | "Mark Pollack", 7 | "Erich Eichinger", 8 | "Stephen Bohlen" 9 | ], 10 | "Owners": [ 11 | "Esun Kim" 12 | ], 13 | "Description": "Unity3D port of Common.Logging library which introduces a simple abstraction to allow you to select a specific logging implementation at runtime.", 14 | "Files": [ 15 | "Assets/UnityPackages/CommonLogging/Common.Logging.Core.dll", 16 | "Assets/UnityPackages/CommonLogging/Common.Logging.Core.dll.mdb", 17 | "Assets/UnityPackages/CommonLogging/Common.Logging.dll", 18 | "Assets/UnityPackages/CommonLogging/Common.Logging.dll.mdb", 19 | "Assets/UnityPackages/CommonLogging/Common.Logging.Extensions.dll", 20 | "Assets/UnityPackages/CommonLogging/Common.Logging.Extensions.dll.mdb", 21 | { 22 | "Target": "Assets/UnityPackages/CommonLoggingSample/CommonLoggingSample.cs", 23 | "Extra": true 24 | }, 25 | { 26 | "Target": "Assets/UnityPackages/CommonLoggingSample/CommonLoggingSample.unity", 27 | "Extra": true 28 | } 29 | ] 30 | } -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/CommonLogging.unitypackage.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a4209abf60305b139cfbe093122b023e 3 | TextScriptImporter: 4 | userData: -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/CommonLogging/Common.Logging.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaladLab/Unity3D.UiManager/2c2837f537697de9eedbcf7fa73c7a70dce440e9/src/UnityPackage/Assets/UnityPackages/CommonLogging/Common.Logging.Core.dll -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/CommonLogging/Common.Logging.Core.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaladLab/Unity3D.UiManager/2c2837f537697de9eedbcf7fa73c7a70dce440e9/src/UnityPackage/Assets/UnityPackages/CommonLogging/Common.Logging.Core.dll.mdb -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/CommonLogging/Common.Logging.Core.dll.mdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8ae2a3047cc15314aac0bd33e08b9fe0 3 | DefaultImporter: 4 | serializedVersion: 1 5 | iconMap: {} 6 | executionOrder: {} 7 | userData: -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/CommonLogging/Common.Logging.Core.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 18e83e85e8af585f964dbbb5a44cfb76 3 | MonoAssemblyImporter: 4 | serializedVersion: 1 5 | iconMap: {} 6 | executionOrder: {} 7 | userData: -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/CommonLogging/Common.Logging.Extensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaladLab/Unity3D.UiManager/2c2837f537697de9eedbcf7fa73c7a70dce440e9/src/UnityPackage/Assets/UnityPackages/CommonLogging/Common.Logging.Extensions.dll -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/CommonLogging/Common.Logging.Extensions.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaladLab/Unity3D.UiManager/2c2837f537697de9eedbcf7fa73c7a70dce440e9/src/UnityPackage/Assets/UnityPackages/CommonLogging/Common.Logging.Extensions.dll.mdb -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/CommonLogging/Common.Logging.Extensions.dll.mdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 260e0cc54d315e85a6642e7285c2cead 3 | DefaultImporter: 4 | serializedVersion: 1 5 | iconMap: {} 6 | executionOrder: {} 7 | userData: -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/CommonLogging/Common.Logging.Extensions.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5b83dcf65b4e572dadec17c4fba310ab 3 | MonoAssemblyImporter: 4 | serializedVersion: 1 5 | iconMap: {} 6 | executionOrder: {} 7 | userData: -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/CommonLogging/Common.Logging.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaladLab/Unity3D.UiManager/2c2837f537697de9eedbcf7fa73c7a70dce440e9/src/UnityPackage/Assets/UnityPackages/CommonLogging/Common.Logging.dll -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/CommonLogging/Common.Logging.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaladLab/Unity3D.UiManager/2c2837f537697de9eedbcf7fa73c7a70dce440e9/src/UnityPackage/Assets/UnityPackages/CommonLogging/Common.Logging.dll.mdb -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/CommonLogging/Common.Logging.dll.mdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a7ce60b26b775e719112295f34d853ce 3 | DefaultImporter: 4 | serializedVersion: 1 5 | iconMap: {} 6 | executionOrder: {} 7 | userData: -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/CommonLogging/Common.Logging.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 802633c9400b5afabc999a7cce79b1f6 3 | MonoAssemblyImporter: 4 | serializedVersion: 1 5 | iconMap: {} 6 | executionOrder: {} 7 | userData: -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b8e523184a9a01946bd787930068b09d 3 | folderAsset: yes 4 | timeCreated: 1461571758 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/DOTween.XML.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5ec570c4aad08e54aa562697147a6947 3 | timeCreated: 1468300906 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/DOTween.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaladLab/Unity3D.UiManager/2c2837f537697de9eedbcf7fa73c7a70dce440e9/src/UnityPackage/Assets/UnityPackages/DOTween/DOTween.dll -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/DOTween.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaladLab/Unity3D.UiManager/2c2837f537697de9eedbcf7fa73c7a70dce440e9/src/UnityPackage/Assets/UnityPackages/DOTween/DOTween.dll.mdb -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/DOTween.dll.mdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5c2dfc56de474cf43acb60e5b0ba64c9 3 | timeCreated: 1468300896 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/DOTween.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6e38ac6b1c3556b4c888ca8552375e1e 3 | timeCreated: 1468300902 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | Editor: 15 | enabled: 0 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/DOTween43.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaladLab/Unity3D.UiManager/2c2837f537697de9eedbcf7fa73c7a70dce440e9/src/UnityPackage/Assets/UnityPackages/DOTween/DOTween43.dll -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/DOTween43.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaladLab/Unity3D.UiManager/2c2837f537697de9eedbcf7fa73c7a70dce440e9/src/UnityPackage/Assets/UnityPackages/DOTween/DOTween43.dll.mdb -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/DOTween43.dll.mdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8d6e6108f6d152742bbfe26bcf181ae7 3 | timeCreated: 1468300923 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/DOTween43.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8bfe8067e80e150428b94d4b0bdd6a1a 3 | timeCreated: 1468300927 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | Editor: 15 | enabled: 0 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/DOTween43.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | DOTween43 5 | 6 | 7 | 8 | 9 | Methods that extend known Unity objects and allow to directly create and control tweens from their instances. 10 | These, as all DOTween43 methods, require Unity 4.3 or later. 11 | 12 | 13 | 14 | Tweens a Material's color using the given gradient 15 | (NOTE 1: only uses the colors of the gradient, not the alphas - NOTE 2: creates a Sequence, not a Tweener). 16 | Also stores the image as the tween's target so it can be used for filtered operations 17 | The gradient to useThe duration of the tween 18 | 19 | 20 | Tweens a Material's named color property using the given gradient 21 | (NOTE 1: only uses the colors of the gradient, not the alphas - NOTE 2: creates a Sequence, not a Tweener). 22 | Also stores the image as the tween's target so it can be used for filtered operations 23 | The gradient to use 24 | The name of the material property to tween (like _Tint or _SpecColor) 25 | The duration of the tween 26 | 27 | 28 | Tweens a SpriteRenderer's color to the given value. 29 | Also stores the spriteRenderer as the tween's target so it can be used for filtered operations 30 | The end value to reachThe duration of the tween 31 | 32 | 33 | Tweens a Material's alpha color to the given value. 34 | Also stores the spriteRenderer as the tween's target so it can be used for filtered operations 35 | The end value to reachThe duration of the tween 36 | 37 | 38 | Tweens a SpriteRenderer's color using the given gradient 39 | (NOTE 1: only uses the colors of the gradient, not the alphas - NOTE 2: creates a Sequence, not a Tweener). 40 | Also stores the image as the tween's target so it can be used for filtered operations 41 | The gradient to useThe duration of the tween 42 | 43 | 44 | Tweens a Rigidbody2D's position to the given value. 45 | Also stores the Rigidbody2D as the tween's target so it can be used for filtered operations 46 | The end value to reachThe duration of the tween 47 | If TRUE the tween will smoothly snap all values to integers 48 | 49 | 50 | Tweens a Rigidbody2D's X position to the given value. 51 | Also stores the Rigidbody2D as the tween's target so it can be used for filtered operations 52 | The end value to reachThe duration of the tween 53 | If TRUE the tween will smoothly snap all values to integers 54 | 55 | 56 | Tweens a Rigidbody2D's Y position to the given value. 57 | Also stores the Rigidbody2D as the tween's target so it can be used for filtered operations 58 | The end value to reachThe duration of the tween 59 | If TRUE the tween will smoothly snap all values to integers 60 | 61 | 62 | Tweens a Rigidbody2D's rotation to the given value. 63 | Also stores the Rigidbody2D as the tween's target so it can be used for filtered operations 64 | The end value to reachThe duration of the tween 65 | 66 | 67 | Tweens a Rigidbody2D's position to the given value, while also applying a jump effect along the Y axis. 68 | Returns a Sequence instead of a Tweener. 69 | Also stores the Rigidbody2D as the tween's target so it can be used for filtered operations. 70 | IMPORTANT: a rigidbody2D can't be animated in a jump arc using MovePosition, so the tween will directly set the position 71 | The end value to reach 72 | Power of the jump (the max height of the jump is represented by this plus the final Y offset) 73 | Total number of jumps 74 | The duration of the tween 75 | If TRUE the tween will smoothly snap all values to integers 76 | 77 | 78 | Tweens a SpriteRenderer's color to the given value, 79 | in a way that allows other DOBlendableColor tweens to work together on the same target, 80 | instead than fight each other as multiple DOColor would do. 81 | Also stores the SpriteRenderer as the tween's target so it can be used for filtered operations 82 | The value to tween toThe duration of the tween 83 | 84 | 85 | 86 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/DOTween43.xml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2289fa5195f45c144b0692b525aba2f2 3 | timeCreated: 1468300927 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/DOTween46.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaladLab/Unity3D.UiManager/2c2837f537697de9eedbcf7fa73c7a70dce440e9/src/UnityPackage/Assets/UnityPackages/DOTween/DOTween46.dll -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/DOTween46.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaladLab/Unity3D.UiManager/2c2837f537697de9eedbcf7fa73c7a70dce440e9/src/UnityPackage/Assets/UnityPackages/DOTween/DOTween46.dll.mdb -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/DOTween46.dll.mdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6d7898fcc5798124ebb3d40df75751ac 3 | timeCreated: 1468300923 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/DOTween46.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4d80efefbf640da428f1661832cb8757 3 | timeCreated: 1468300926 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | Editor: 15 | enabled: 0 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/DOTween46.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | DOTween46 5 | 6 | 7 | 8 | 9 | Various utils that require Unity 4.6 or later 10 | 11 | 12 | 13 | 14 | Converts the anchoredPosition of the first RectTransform to the second RectTransform, 15 | taking into consideration offset, anchors and pivot, and returns the new anchoredPosition 16 | 17 | 18 | 19 | 20 | Methods that extend known Unity objects and allow to directly create and control tweens from their instances. 21 | These, as all DOTween46 methods, require Unity 4.6 or later. 22 | 23 | 24 | 25 | Tweens a CanvasGroup's alpha color to the given value. 26 | Also stores the canvasGroup as the tween's target so it can be used for filtered operations 27 | The end value to reachThe duration of the tween 28 | 29 | 30 | Tweens an Graphic's color to the given value. 31 | Also stores the image as the tween's target so it can be used for filtered operations 32 | The end value to reachThe duration of the tween 33 | 34 | 35 | Tweens an Graphic's alpha color to the given value. 36 | Also stores the image as the tween's target so it can be used for filtered operations 37 | The end value to reachThe duration of the tween 38 | 39 | 40 | Tweens an Image's color to the given value. 41 | Also stores the image as the tween's target so it can be used for filtered operations 42 | The end value to reachThe duration of the tween 43 | 44 | 45 | Tweens an Image's alpha color to the given value. 46 | Also stores the image as the tween's target so it can be used for filtered operations 47 | The end value to reachThe duration of the tween 48 | 49 | 50 | Tweens an Image's fillAmount to the given value. 51 | Also stores the image as the tween's target so it can be used for filtered operations 52 | The end value to reach (0 to 1)The duration of the tween 53 | 54 | 55 | Tweens an Image's colors using the given gradient 56 | (NOTE 1: only uses the colors of the gradient, not the alphas - NOTE 2: creates a Sequence, not a Tweener). 57 | Also stores the image as the tween's target so it can be used for filtered operations 58 | The gradient to useThe duration of the tween 59 | 60 | 61 | Tweens an LayoutElement's flexibleWidth/Height to the given value. 62 | Also stores the LayoutElement as the tween's target so it can be used for filtered operations 63 | The end value to reachThe duration of the tween 64 | If TRUE the tween will smoothly snap all values to integers 65 | 66 | 67 | Tweens an LayoutElement's minWidth/Height to the given value. 68 | Also stores the LayoutElement as the tween's target so it can be used for filtered operations 69 | The end value to reachThe duration of the tween 70 | If TRUE the tween will smoothly snap all values to integers 71 | 72 | 73 | Tweens an LayoutElement's preferredWidth/Height to the given value. 74 | Also stores the LayoutElement as the tween's target so it can be used for filtered operations 75 | The end value to reachThe duration of the tween 76 | If TRUE the tween will smoothly snap all values to integers 77 | 78 | 79 | Tweens a Outline's effectColor to the given value. 80 | Also stores the Outline as the tween's target so it can be used for filtered operations 81 | The end value to reachThe duration of the tween 82 | 83 | 84 | Tweens a Outline's effectColor alpha to the given value. 85 | Also stores the Outline as the tween's target so it can be used for filtered operations 86 | The end value to reachThe duration of the tween 87 | 88 | 89 | Tweens a Outline's effectDistance to the given value. 90 | Also stores the Outline as the tween's target so it can be used for filtered operations 91 | The end value to reachThe duration of the tween 92 | 93 | 94 | Tweens a RectTransform's anchoredPosition to the given value. 95 | Also stores the RectTransform as the tween's target so it can be used for filtered operations 96 | The end value to reachThe duration of the tween 97 | If TRUE the tween will smoothly snap all values to integers 98 | 99 | 100 | Tweens a RectTransform's anchoredPosition X to the given value. 101 | Also stores the RectTransform as the tween's target so it can be used for filtered operations 102 | The end value to reachThe duration of the tween 103 | If TRUE the tween will smoothly snap all values to integers 104 | 105 | 106 | Tweens a RectTransform's anchoredPosition Y to the given value. 107 | Also stores the RectTransform as the tween's target so it can be used for filtered operations 108 | The end value to reachThe duration of the tween 109 | If TRUE the tween will smoothly snap all values to integers 110 | 111 | 112 | Tweens a RectTransform's anchoredPosition3D to the given value. 113 | Also stores the RectTransform as the tween's target so it can be used for filtered operations 114 | The end value to reachThe duration of the tween 115 | If TRUE the tween will smoothly snap all values to integers 116 | 117 | 118 | Tweens a RectTransform's anchorMax to the given value. 119 | Also stores the RectTransform as the tween's target so it can be used for filtered operations 120 | The end value to reachThe duration of the tween 121 | If TRUE the tween will smoothly snap all values to integers 122 | 123 | 124 | Tweens a RectTransform's anchorMin to the given value. 125 | Also stores the RectTransform as the tween's target so it can be used for filtered operations 126 | The end value to reachThe duration of the tween 127 | If TRUE the tween will smoothly snap all values to integers 128 | 129 | 130 | Tweens a RectTransform's pivot to the given value. 131 | Also stores the RectTransform as the tween's target so it can be used for filtered operations 132 | The end value to reachThe duration of the tween 133 | 134 | 135 | Tweens a RectTransform's pivot X to the given value. 136 | Also stores the RectTransform as the tween's target so it can be used for filtered operations 137 | The end value to reachThe duration of the tween 138 | 139 | 140 | Tweens a RectTransform's pivot Y to the given value. 141 | Also stores the RectTransform as the tween's target so it can be used for filtered operations 142 | The end value to reachThe duration of the tween 143 | 144 | 145 | Tweens a RectTransform's sizeDelta to the given value. 146 | Also stores the RectTransform as the tween's target so it can be used for filtered operations 147 | The end value to reachThe duration of the tween 148 | If TRUE the tween will smoothly snap all values to integers 149 | 150 | 151 | Punches a RectTransform's anchoredPosition towards the given direction and then back to the starting one 152 | as if it was connected to the starting position via an elastic. 153 | Also stores the RectTransform as the tween's target so it can be used for filtered operations 154 | The direction and strength of the punch (added to the RectTransform's current position) 155 | The duration of the tween 156 | Indicates how much will the punch vibrate 157 | Represents how much (0 to 1) the vector will go beyond the starting position when bouncing backwards. 158 | 1 creates a full oscillation between the punch direction and the opposite direction, 159 | while 0 oscillates only between the punch and the start position 160 | If TRUE the tween will smoothly snap all values to integers 161 | 162 | 163 | Shakes a RectTransform's anchoredPosition with the given values. 164 | Also stores the RectTransform as the tween's target so it can be used for filtered operations 165 | The duration of the tween 166 | The shake strength 167 | Indicates how much will the shake vibrate 168 | Indicates how much the shake will be random (0 to 180 - values higher than 90 kind of suck, so beware). 169 | Setting it to 0 will shake along a single direction. 170 | If TRUE the tween will smoothly snap all values to integers 171 | If TRUE the shake will automatically fadeOut smoothly within the tween's duration, otherwise it will not 172 | 173 | 174 | Shakes a RectTransform's anchoredPosition with the given values. 175 | Also stores the RectTransform as the tween's target so it can be used for filtered operations 176 | The duration of the tween 177 | The shake strength on each axis 178 | Indicates how much will the shake vibrate 179 | Indicates how much the shake will be random (0 to 180 - values higher than 90 kind of suck, so beware). 180 | Setting it to 0 will shake along a single direction. 181 | If TRUE the tween will smoothly snap all values to integers 182 | If TRUE the shake will automatically fadeOut smoothly within the tween's duration, otherwise it will not 183 | 184 | 185 | Tweens a RectTransform's anchoredPosition to the given value, while also applying a jump effect along the Y axis. 186 | Returns a Sequence instead of a Tweener. 187 | Also stores the RectTransform as the tween's target so it can be used for filtered operations 188 | The end value to reach 189 | Power of the jump (the max height of the jump is represented by this plus the final Y offset) 190 | Total number of jumps 191 | The duration of the tween 192 | If TRUE the tween will smoothly snap all values to integers 193 | 194 | 195 | Tweens a ScrollRect's horizontal/verticalNormalizedPosition to the given value. 196 | Also stores the ScrollRect as the tween's target so it can be used for filtered operations 197 | The end value to reachThe duration of the tween 198 | If TRUE the tween will smoothly snap all values to integers 199 | 200 | 201 | Tweens a ScrollRect's horizontalNormalizedPosition to the given value. 202 | Also stores the ScrollRect as the tween's target so it can be used for filtered operations 203 | The end value to reachThe duration of the tween 204 | If TRUE the tween will smoothly snap all values to integers 205 | 206 | 207 | Tweens a ScrollRect's verticalNormalizedPosition to the given value. 208 | Also stores the ScrollRect as the tween's target so it can be used for filtered operations 209 | The end value to reachThe duration of the tween 210 | If TRUE the tween will smoothly snap all values to integers 211 | 212 | 213 | Tweens a Slider's value to the given value. 214 | Also stores the Slider as the tween's target so it can be used for filtered operations 215 | The end value to reachThe duration of the tween 216 | If TRUE the tween will smoothly snap all values to integers 217 | 218 | 219 | Tweens a Text's color to the given value. 220 | Also stores the Text as the tween's target so it can be used for filtered operations 221 | The end value to reachThe duration of the tween 222 | 223 | 224 | Tweens a Text's alpha color to the given value. 225 | Also stores the Text as the tween's target so it can be used for filtered operations 226 | The end value to reachThe duration of the tween 227 | 228 | 229 | Tweens a Text's text to the given value. 230 | Also stores the Text as the tween's target so it can be used for filtered operations 231 | The end string to tween toThe duration of the tween 232 | If TRUE (default), rich text will be interpreted correctly while animated, 233 | otherwise all tags will be considered as normal text 234 | The type of scramble mode to use, if any 235 | A string containing the characters to use for scrambling. 236 | Use as many characters as possible (minimum 10) because DOTween uses a fast scramble mode which gives better results with more characters. 237 | Leave it to NULL (default) to use default ones 238 | 239 | 240 | Tweens a Graphic's color to the given value, 241 | in a way that allows other DOBlendableColor tweens to work together on the same target, 242 | instead than fight each other as multiple DOColor would do. 243 | Also stores the Graphic as the tween's target so it can be used for filtered operations 244 | The value to tween toThe duration of the tween 245 | 246 | 247 | Tweens a Image's color to the given value, 248 | in a way that allows other DOBlendableColor tweens to work together on the same target, 249 | instead than fight each other as multiple DOColor would do. 250 | Also stores the Image as the tween's target so it can be used for filtered operations 251 | The value to tween toThe duration of the tween 252 | 253 | 254 | Tweens a Text's color BY the given value, 255 | in a way that allows other DOBlendableColor tweens to work together on the same target, 256 | instead than fight each other as multiple DOColor would do. 257 | Also stores the Text as the tween's target so it can be used for filtered operations 258 | The value to tween toThe duration of the tween 259 | 260 | 261 | 262 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/DOTween46.xml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b496988b1a113f64496b0660f9da9221 3 | timeCreated: 1468300927 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/DOTween50.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaladLab/Unity3D.UiManager/2c2837f537697de9eedbcf7fa73c7a70dce440e9/src/UnityPackage/Assets/UnityPackages/DOTween/DOTween50.dll -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/DOTween50.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaladLab/Unity3D.UiManager/2c2837f537697de9eedbcf7fa73c7a70dce440e9/src/UnityPackage/Assets/UnityPackages/DOTween/DOTween50.dll.mdb -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/DOTween50.dll.mdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 21f67ed711cd0fb4193e71c0cda77607 3 | timeCreated: 1468300923 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/DOTween50.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 17cb07a3a2ac5f64186dd6ad10060ca0 3 | timeCreated: 1468300924 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | Editor: 15 | enabled: 0 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/DOTween50.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | DOTween50 5 | 6 | 7 | 8 | 9 | Methods that extend known Unity objects and allow to directly create and control tweens from their instances. 10 | These, as all DOTween50 methods, require Unity 5.0 or later. 11 | 12 | 13 | 14 | Tweens an AudioMixer's exposed float to the given value. 15 | Also stores the AudioMixer as the tween's target so it can be used for filtered operations. 16 | Note that you need to manually expose a float in an AudioMixerGroup in order to be able to tween it from an AudioMixer. 17 | Name given to the exposed float to set 18 | The end value to reachThe duration of the tween 19 | 20 | 21 | 22 | Completes all tweens that have this target as a reference 23 | (meaning tweens that were started from this target, or that had this target added as an Id) 24 | and returns the total number of tweens completed 25 | (meaning the tweens that don't have infinite loops and were not already complete) 26 | 27 | For Sequences only: if TRUE also internal Sequence callbacks will be fired, 28 | otherwise they will be ignored 29 | 30 | 31 | 32 | Kills all tweens that have this target as a reference 33 | (meaning tweens that were started from this target, or that had this target added as an Id) 34 | and returns the total number of tweens killed. 35 | 36 | If TRUE completes the tween before killing it 37 | 38 | 39 | 40 | Flips the direction (backwards if it was going forward or viceversa) of all tweens that have this target as a reference 41 | (meaning tweens that were started from this target, or that had this target added as an Id) 42 | and returns the total number of tweens flipped. 43 | 44 | 45 | 46 | 47 | Sends to the given position all tweens that have this target as a reference 48 | (meaning tweens that were started from this target, or that had this target added as an Id) 49 | and returns the total number of tweens involved. 50 | 51 | Time position to reach 52 | (if higher than the whole tween duration the tween will simply reach its end) 53 | If TRUE will play the tween after reaching the given position, otherwise it will pause it 54 | 55 | 56 | 57 | Pauses all tweens that have this target as a reference 58 | (meaning tweens that were started from this target, or that had this target added as an Id) 59 | and returns the total number of tweens paused. 60 | 61 | 62 | 63 | 64 | Plays all tweens that have this target as a reference 65 | (meaning tweens that were started from this target, or that had this target added as an Id) 66 | and returns the total number of tweens played. 67 | 68 | 69 | 70 | 71 | Plays backwards all tweens that have this target as a reference 72 | (meaning tweens that were started from this target, or that had this target added as an Id) 73 | and returns the total number of tweens played. 74 | 75 | 76 | 77 | 78 | Plays forward all tweens that have this target as a reference 79 | (meaning tweens that were started from this target, or that had this target added as an Id) 80 | and returns the total number of tweens played. 81 | 82 | 83 | 84 | 85 | Restarts all tweens that have this target as a reference 86 | (meaning tweens that were started from this target, or that had this target added as an Id) 87 | and returns the total number of tweens restarted. 88 | 89 | 90 | 91 | 92 | Rewinds all tweens that have this target as a reference 93 | (meaning tweens that were started from this target, or that had this target added as an Id) 94 | and returns the total number of tweens rewinded. 95 | 96 | 97 | 98 | 99 | Smoothly rewinds all tweens that have this target as a reference 100 | (meaning tweens that were started from this target, or that had this target added as an Id) 101 | and returns the total number of tweens rewinded. 102 | 103 | 104 | 105 | 106 | Toggles the paused state (plays if it was paused, pauses if it was playing) of all tweens that have this target as a reference 107 | (meaning tweens that were started from this target, or that had this target added as an Id) 108 | and returns the total number of tweens involved. 109 | 110 | 111 | 112 | 113 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/DOTween50.xml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: efc6a57c189c39f4a8fe55fe400e1abd 3 | timeCreated: 1468300927 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dc07aa68bedd51f4e86b9299952a104b 3 | folderAsset: yes 4 | timeCreated: 1461571758 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/Editor/DOTweenEditor.XML: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | DOTweenEditor 5 | 6 | 7 | 8 | 9 | Checks that the given editor texture use the correct import settings, 10 | and applies them if they're incorrect. 11 | 12 | 13 | 14 | 15 | Returns TRUE if addons setup is required. 16 | 17 | 18 | 19 | 20 | Returns TRUE if the file/directory at the given path exists. 21 | 22 | Path, relative to Unity's project folder 23 | 24 | 25 | 26 | 27 | Converts the given project-relative path to a full path, 28 | with backward (\) slashes). 29 | 30 | 31 | 32 | 33 | Converts the given full path to a path usable with AssetDatabase methods 34 | (relative to Unity's project folder, and with the correct Unity forward (/) slashes). 35 | 36 | 37 | 38 | 39 | Connects to a asset. 40 | If the asset already exists at the given path, loads it and returns it. 41 | Otherwise, either returns NULL or automatically creates it before loading and returning it 42 | (depending on the given parameters). 43 | 44 | Asset type 45 | File path (relative to Unity's project folder) 46 | If TRUE and the requested asset doesn't exist, forces its creation 47 | 48 | 49 | 50 | Full path for the given loaded assembly, assembly file included 51 | 52 | 53 | 54 | 55 | Not used as menu item anymore, but as a utiity function 56 | 57 | 58 | 59 | 60 | Setups DOTween 61 | 62 | If TRUE, no warning window appears in case there is no need for setup 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/Editor/DOTweenEditor.XML.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5405503ee5afddc42bf1b95cabc6ad89 3 | timeCreated: 1468300906 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/Editor/DOTweenEditor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaladLab/Unity3D.UiManager/2c2837f537697de9eedbcf7fa73c7a70dce440e9/src/UnityPackage/Assets/UnityPackages/DOTween/Editor/DOTweenEditor.dll -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/Editor/DOTweenEditor.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaladLab/Unity3D.UiManager/2c2837f537697de9eedbcf7fa73c7a70dce440e9/src/UnityPackage/Assets/UnityPackages/DOTween/Editor/DOTweenEditor.dll.mdb -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/Editor/DOTweenEditor.dll.mdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3402d640d15ce8e4bb99cb4cbb26ea7d 3 | timeCreated: 1468300896 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/Editor/DOTweenEditor.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0d6555af380a7264a9cd5a9083b1c4ad 3 | timeCreated: 1468300899 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 0 13 | settings: {} 14 | Editor: 15 | enabled: 1 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/Editor/Imgs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d9948f671acbc134caee47550ab6231c 3 | folderAsset: yes 4 | timeCreated: 1461571758 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/Editor/Imgs/DOTweenIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaladLab/Unity3D.UiManager/2c2837f537697de9eedbcf7fa73c7a70dce440e9/src/UnityPackage/Assets/UnityPackages/DOTween/Editor/Imgs/DOTweenIcon.png -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/Editor/Imgs/DOTweenIcon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0d7e06117784ff44bacb9c9e551592b3 3 | timeCreated: 1468300906 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 1024 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/Editor/Imgs/Footer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaladLab/Unity3D.UiManager/2c2837f537697de9eedbcf7fa73c7a70dce440e9/src/UnityPackage/Assets/UnityPackages/DOTween/Editor/Imgs/Footer.png -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/Editor/Imgs/Footer.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0ce7b533e9764c141a068fadd859f9a6 3 | timeCreated: 1468300906 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 1 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 256 31 | textureSettings: 32 | filterMode: 1 33 | aniso: 1 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | textureType: 2 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/Editor/Imgs/Footer_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaladLab/Unity3D.UiManager/2c2837f537697de9eedbcf7fa73c7a70dce440e9/src/UnityPackage/Assets/UnityPackages/DOTween/Editor/Imgs/Footer_dark.png -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/Editor/Imgs/Footer_dark.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 073261fcf37d98645bac61b0e19ec84f 3 | timeCreated: 1468300906 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 1024 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/Editor/Imgs/Header.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaladLab/Unity3D.UiManager/2c2837f537697de9eedbcf7fa73c7a70dce440e9/src/UnityPackage/Assets/UnityPackages/DOTween/Editor/Imgs/Header.jpg -------------------------------------------------------------------------------- /src/UnityPackage/Assets/UnityPackages/DOTween/Editor/Imgs/Header.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7741b4957200f0747a3c79d148de2402 3 | timeCreated: 1468300906 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 1 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 512 31 | textureSettings: 32 | filterMode: 1 33 | aniso: 1 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | textureType: 2 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /src/UnityPackage/ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 0 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_DisableAudio: 0 16 | -------------------------------------------------------------------------------- /src/UnityPackage/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 | -------------------------------------------------------------------------------- /src/UnityPackage/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: 2 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_SolverIterationCount: 6 13 | m_QueriesHitTriggers: 1 14 | m_EnableAdaptiveForce: 0 15 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 16 | -------------------------------------------------------------------------------- /src/UnityPackage/ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: 8 | - enabled: 1 9 | path: Assets/UiManagerSample/UiManagerSample.unity 10 | -------------------------------------------------------------------------------- /src/UnityPackage/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: 3 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_WebSecurityEmulationEnabled: 0 10 | m_WebSecurityEmulationHostUrl: http://www.mydomain.com/mygame.unity3d 11 | m_DefaultBehaviorMode: 1 12 | m_SpritePackerMode: 2 13 | m_SpritePackerPaddingPower: 1 14 | m_ProjectGenerationIncludedExtensions: 15 | m_ProjectGenerationRootNamespace: 16 | -------------------------------------------------------------------------------- /src/UnityPackage/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: 5 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_LegacyDeferred: 14 | m_Mode: 1 15 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 16 | m_AlwaysIncludedShaders: 17 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 18 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 19 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 20 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 21 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 22 | - {fileID: 10782, guid: 0000000000000000f000000000000000, type: 0} 23 | m_PreloadedShaders: [] 24 | m_ShaderSettings: 25 | useScreenSpaceShadows: 1 26 | m_BuildTargetShaderSettings: [] 27 | m_LightmapStripping: 0 28 | m_FogStripping: 0 29 | m_LightmapKeepPlain: 1 30 | m_LightmapKeepDirCombined: 1 31 | m_LightmapKeepDirSeparate: 1 32 | m_LightmapKeepDynamicPlain: 1 33 | m_LightmapKeepDynamicDirCombined: 1 34 | m_LightmapKeepDynamicDirSeparate: 1 35 | m_FogKeepLinear: 1 36 | m_FogKeepExp: 1 37 | m_FogKeepExp2: 1 38 | -------------------------------------------------------------------------------- /src/UnityPackage/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 | -------------------------------------------------------------------------------- /src/UnityPackage/ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshAreas: 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 | -------------------------------------------------------------------------------- /src/UnityPackage/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 | -------------------------------------------------------------------------------- /src/UnityPackage/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: 2 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_MinPenetrationForPenalty: 0.01 17 | m_BaumgarteScale: 0.2 18 | m_BaumgarteTimeOfImpactScale: 0.75 19 | m_TimeToSleep: 0.5 20 | m_LinearSleepTolerance: 0.01 21 | m_AngularSleepTolerance: 2 22 | m_QueriesHitTriggers: 1 23 | m_QueriesStartInColliders: 1 24 | m_ChangeStopsCallbacks: 0 25 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 26 | -------------------------------------------------------------------------------- /src/UnityPackage/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: 8 7 | AndroidProfiler: 0 8 | defaultScreenOrientation: 4 9 | targetDevice: 2 10 | useOnDemandResources: 0 11 | accelerometerFrequency: 60 12 | companyName: SaladLab 13 | productName: UiManager 14 | defaultCursor: {fileID: 0} 15 | cursorHotspot: {x: 0, y: 0} 16 | m_ShowUnitySplashScreen: 1 17 | m_VirtualRealitySplashScreen: {fileID: 0} 18 | defaultScreenWidth: 1024 19 | defaultScreenHeight: 768 20 | defaultScreenWidthWeb: 960 21 | defaultScreenHeightWeb: 600 22 | m_RenderingPath: 1 23 | m_MobileRenderingPath: 1 24 | m_ActiveColorSpace: 0 25 | m_MTRendering: 1 26 | m_MobileMTRendering: 0 27 | m_Stereoscopic3D: 0 28 | iosShowActivityIndicatorOnLoading: -1 29 | androidShowActivityIndicatorOnLoading: -1 30 | iosAppInBackgroundBehavior: 0 31 | displayResolutionDialog: 1 32 | iosAllowHTTPDownload: 1 33 | allowedAutorotateToPortrait: 1 34 | allowedAutorotateToPortraitUpsideDown: 1 35 | allowedAutorotateToLandscapeRight: 1 36 | allowedAutorotateToLandscapeLeft: 1 37 | useOSAutorotation: 1 38 | use32BitDisplayBuffer: 1 39 | disableDepthAndStencilBuffers: 0 40 | defaultIsFullScreen: 1 41 | defaultIsNativeResolution: 1 42 | runInBackground: 0 43 | captureSingleScreen: 0 44 | Override IPod Music: 0 45 | Prepare IOS For Recording: 0 46 | submitAnalytics: 1 47 | usePlayerLog: 1 48 | bakeCollisionMeshes: 0 49 | forceSingleInstance: 0 50 | resizableWindow: 0 51 | useMacAppStoreValidation: 0 52 | gpuSkinning: 0 53 | xboxPIXTextureCapture: 0 54 | xboxEnableAvatar: 0 55 | xboxEnableKinect: 0 56 | xboxEnableKinectAutoTracking: 0 57 | xboxEnableFitness: 0 58 | visibleInBackground: 0 59 | allowFullscreenSwitch: 1 60 | macFullscreenMode: 2 61 | d3d9FullscreenMode: 1 62 | d3d11FullscreenMode: 1 63 | xboxSpeechDB: 0 64 | xboxEnableHeadOrientation: 0 65 | xboxEnableGuest: 0 66 | xboxEnablePIXSampling: 0 67 | n3dsDisableStereoscopicView: 0 68 | n3dsEnableSharedListOpt: 1 69 | n3dsEnableVSync: 0 70 | uiUse16BitDepthBuffer: 0 71 | ignoreAlphaClear: 0 72 | xboxOneResolution: 0 73 | ps3SplashScreen: {fileID: 0} 74 | videoMemoryForVertexBuffers: 0 75 | psp2PowerMode: 0 76 | psp2AcquireBGM: 1 77 | wiiUTVResolution: 0 78 | wiiUGamePadMSAA: 1 79 | wiiUSupportsNunchuk: 0 80 | wiiUSupportsClassicController: 0 81 | wiiUSupportsBalanceBoard: 0 82 | wiiUSupportsMotionPlus: 0 83 | wiiUSupportsProController: 0 84 | wiiUAllowScreenCapture: 1 85 | wiiUControllerCount: 0 86 | m_SupportedAspectRatios: 87 | 4:3: 1 88 | 5:4: 1 89 | 16:10: 1 90 | 16:9: 1 91 | Others: 1 92 | bundleIdentifier: com.Company.ProductName 93 | bundleVersion: 1.0 94 | preloadedAssets: [] 95 | metroEnableIndependentInputSource: 0 96 | metroEnableLowLatencyPresentationAPI: 0 97 | xboxOneDisableKinectGpuReservation: 0 98 | virtualRealitySupported: 0 99 | productGUID: fc6d16d3d5615f54ca204fbab768d9cf 100 | AndroidBundleVersionCode: 1 101 | AndroidMinSdkVersion: 9 102 | AndroidPreferredInstallLocation: 1 103 | aotOptions: 104 | apiCompatibilityLevel: 2 105 | stripEngineCode: 1 106 | iPhoneStrippingLevel: 0 107 | iPhoneScriptCallOptimization: 0 108 | iPhoneBuildNumber: 0 109 | ForceInternetPermission: 0 110 | ForceSDCardPermission: 0 111 | CreateWallpaper: 0 112 | APKExpansionFiles: 0 113 | preloadShaders: 0 114 | StripUnusedMeshComponents: 0 115 | VertexChannelCompressionMask: 116 | serializedVersion: 2 117 | m_Bits: 238 118 | iPhoneSdkVersion: 988 119 | iPhoneTargetOSVersion: 22 120 | tvOSSdkVersion: 0 121 | tvOSTargetOSVersion: 900 122 | uIPrerenderedIcon: 0 123 | uIRequiresPersistentWiFi: 0 124 | uIRequiresFullScreen: 1 125 | uIStatusBarHidden: 1 126 | uIExitOnSuspend: 0 127 | uIStatusBarStyle: 0 128 | iPhoneSplashScreen: {fileID: 0} 129 | iPhoneHighResSplashScreen: {fileID: 0} 130 | iPhoneTallHighResSplashScreen: {fileID: 0} 131 | iPhone47inSplashScreen: {fileID: 0} 132 | iPhone55inPortraitSplashScreen: {fileID: 0} 133 | iPhone55inLandscapeSplashScreen: {fileID: 0} 134 | iPadPortraitSplashScreen: {fileID: 0} 135 | iPadHighResPortraitSplashScreen: {fileID: 0} 136 | iPadLandscapeSplashScreen: {fileID: 0} 137 | iPadHighResLandscapeSplashScreen: {fileID: 0} 138 | appleTVSplashScreen: {fileID: 0} 139 | tvOSSmallIconLayers: [] 140 | tvOSLargeIconLayers: [] 141 | tvOSTopShelfImageLayers: [] 142 | iOSLaunchScreenType: 0 143 | iOSLaunchScreenPortrait: {fileID: 0} 144 | iOSLaunchScreenLandscape: {fileID: 0} 145 | iOSLaunchScreenBackgroundColor: 146 | serializedVersion: 2 147 | rgba: 0 148 | iOSLaunchScreenFillPct: 100 149 | iOSLaunchScreenSize: 100 150 | iOSLaunchScreenCustomXibPath: 151 | iOSLaunchScreeniPadType: 0 152 | iOSLaunchScreeniPadImage: {fileID: 0} 153 | iOSLaunchScreeniPadBackgroundColor: 154 | serializedVersion: 2 155 | rgba: 0 156 | iOSLaunchScreeniPadFillPct: 100 157 | iOSLaunchScreeniPadSize: 100 158 | iOSLaunchScreeniPadCustomXibPath: 159 | iOSDeviceRequirements: [] 160 | AndroidTargetDevice: 0 161 | AndroidSplashScreenScale: 0 162 | androidSplashScreen: {fileID: 0} 163 | AndroidKeystoreName: 164 | AndroidKeyaliasName: 165 | AndroidTVCompatibility: 1 166 | AndroidIsGame: 1 167 | androidEnableBanner: 1 168 | m_AndroidBanners: 169 | - width: 320 170 | height: 180 171 | banner: {fileID: 0} 172 | androidGamepadSupportLevel: 0 173 | resolutionDialogBanner: {fileID: 0} 174 | m_BuildTargetIcons: 175 | - m_BuildTarget: 176 | m_Icons: 177 | - serializedVersion: 2 178 | m_Icon: {fileID: 0} 179 | m_Width: 128 180 | m_Height: 128 181 | m_BuildTargetBatching: [] 182 | m_BuildTargetGraphicsAPIs: [] 183 | webPlayerTemplate: APPLICATION:Default 184 | m_TemplateCustomTags: {} 185 | wiiUTitleID: 0005000011000000 186 | wiiUGroupID: 00010000 187 | wiiUCommonSaveSize: 4096 188 | wiiUAccountSaveSize: 2048 189 | wiiUOlvAccessKey: 0 190 | wiiUTinCode: 0 191 | wiiUJoinGameId: 0 192 | wiiUJoinGameModeMask: 0000000000000000 193 | wiiUCommonBossSize: 0 194 | wiiUAccountBossSize: 0 195 | wiiUAddOnUniqueIDs: [] 196 | wiiUMainThreadStackSize: 3072 197 | wiiULoaderThreadStackSize: 1024 198 | wiiUSystemHeapSize: 128 199 | wiiUTVStartupScreen: {fileID: 0} 200 | wiiUGamePadStartupScreen: {fileID: 0} 201 | wiiUDrcBufferDisabled: 0 202 | wiiUProfilerLibPath: 203 | actionOnDotNetUnhandledException: 1 204 | enableInternalProfiler: 0 205 | logObjCUncaughtExceptions: 1 206 | enableCrashReportAPI: 0 207 | locationUsageDescription: 208 | XboxTitleId: 209 | XboxImageXexPath: 210 | XboxSpaPath: 211 | XboxGenerateSpa: 0 212 | XboxDeployKinectResources: 0 213 | XboxSplashScreen: {fileID: 0} 214 | xboxEnableSpeech: 0 215 | xboxAdditionalTitleMemorySize: 0 216 | xboxDeployKinectHeadOrientation: 0 217 | xboxDeployKinectHeadPosition: 0 218 | ps3TitleConfigPath: 219 | ps3DLCConfigPath: 220 | ps3ThumbnailPath: 221 | ps3BackgroundPath: 222 | ps3SoundPath: 223 | ps3NPAgeRating: 12 224 | ps3TrophyCommId: 225 | ps3NpCommunicationPassphrase: 226 | ps3TrophyPackagePath: 227 | ps3BootCheckMaxSaveGameSizeKB: 128 228 | ps3TrophyCommSig: 229 | ps3SaveGameSlots: 1 230 | ps3TrialMode: 0 231 | ps3VideoMemoryForAudio: 0 232 | ps3EnableVerboseMemoryStats: 0 233 | ps3UseSPUForUmbra: 0 234 | ps3EnableMoveSupport: 1 235 | ps3DisableDolbyEncoding: 0 236 | ps4NPAgeRating: 12 237 | ps4NPTitleSecret: 238 | ps4NPTrophyPackPath: 239 | ps4ParentalLevel: 1 240 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 241 | ps4Category: 0 242 | ps4MasterVersion: 01.00 243 | ps4AppVersion: 01.00 244 | ps4AppType: 0 245 | ps4ParamSfxPath: 246 | ps4VideoOutPixelFormat: 0 247 | ps4VideoOutResolution: 4 248 | ps4PronunciationXMLPath: 249 | ps4PronunciationSIGPath: 250 | ps4BackgroundImagePath: 251 | ps4StartupImagePath: 252 | ps4SaveDataImagePath: 253 | ps4SdkOverride: 254 | ps4BGMPath: 255 | ps4ShareFilePath: 256 | ps4ShareOverlayImagePath: 257 | ps4PrivacyGuardImagePath: 258 | ps4NPtitleDatPath: 259 | ps4RemotePlayKeyAssignment: -1 260 | ps4RemotePlayKeyMappingDir: 261 | ps4EnterButtonAssignment: 1 262 | ps4ApplicationParam1: 0 263 | ps4ApplicationParam2: 0 264 | ps4ApplicationParam3: 0 265 | ps4ApplicationParam4: 0 266 | ps4DownloadDataSize: 0 267 | ps4GarlicHeapSize: 2048 268 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 269 | ps4UseDebugIl2cppLibs: 0 270 | ps4pnSessions: 1 271 | ps4pnPresence: 1 272 | ps4pnFriends: 1 273 | ps4pnGameCustomData: 1 274 | playerPrefsSupport: 0 275 | ps4ReprojectionSupport: 0 276 | ps4UseAudio3dBackend: 0 277 | ps4SocialScreenEnabled: 0 278 | ps4Audio3dVirtualSpeakerCount: 14 279 | ps4attribCpuUsage: 0 280 | ps4PatchPkgPath: 281 | ps4PatchLatestPkgPath: 282 | ps4PatchChangeinfoPath: 283 | ps4attribUserManagement: 0 284 | ps4attribMoveSupport: 0 285 | ps4attrib3DSupport: 0 286 | ps4attribShareSupport: 0 287 | ps4IncludedModules: [] 288 | monoEnv: 289 | psp2Splashimage: {fileID: 0} 290 | psp2NPTrophyPackPath: 291 | psp2NPSupportGBMorGJP: 0 292 | psp2NPAgeRating: 12 293 | psp2NPTitleDatPath: 294 | psp2NPCommsID: 295 | psp2NPCommunicationsID: 296 | psp2NPCommsPassphrase: 297 | psp2NPCommsSig: 298 | psp2ParamSfxPath: 299 | psp2ManualPath: 300 | psp2LiveAreaGatePath: 301 | psp2LiveAreaBackroundPath: 302 | psp2LiveAreaPath: 303 | psp2LiveAreaTrialPath: 304 | psp2PatchChangeInfoPath: 305 | psp2PatchOriginalPackage: 306 | psp2PackagePassword: F69AzBlax3CF3EDNhm3soLBPh71Yexui 307 | psp2KeystoneFile: 308 | psp2MemoryExpansionMode: 0 309 | psp2DRMType: 0 310 | psp2StorageType: 0 311 | psp2MediaCapacity: 0 312 | psp2DLCConfigPath: 313 | psp2ThumbnailPath: 314 | psp2BackgroundPath: 315 | psp2SoundPath: 316 | psp2TrophyCommId: 317 | psp2TrophyPackagePath: 318 | psp2PackagedResourcesPath: 319 | psp2SaveDataQuota: 10240 320 | psp2ParentalLevel: 1 321 | psp2ShortTitle: Not Set 322 | psp2ContentID: IV0000-ABCD12345_00-0123456789ABCDEF 323 | psp2Category: 0 324 | psp2MasterVersion: 01.00 325 | psp2AppVersion: 01.00 326 | psp2TVBootMode: 0 327 | psp2EnterButtonAssignment: 2 328 | psp2TVDisableEmu: 0 329 | psp2AllowTwitterDialog: 1 330 | psp2Upgradable: 0 331 | psp2HealthWarning: 0 332 | psp2UseLibLocation: 0 333 | psp2InfoBarOnStartup: 0 334 | psp2InfoBarColor: 0 335 | psp2UseDebugIl2cppLibs: 0 336 | psmSplashimage: {fileID: 0} 337 | spritePackerPolicy: 338 | scriptingDefineSymbols: {} 339 | metroPackageName: UnityPackage 340 | metroPackageVersion: 341 | metroCertificatePath: 342 | metroCertificatePassword: 343 | metroCertificateSubject: 344 | metroCertificateIssuer: 345 | metroCertificateNotAfter: 0000000000000000 346 | metroApplicationDescription: UnityPackage 347 | wsaImages: {} 348 | metroTileShortName: 349 | metroCommandLineArgsFile: 350 | metroTileShowName: 0 351 | metroMediumTileShowName: 0 352 | metroLargeTileShowName: 0 353 | metroWideTileShowName: 0 354 | metroDefaultTileSize: 1 355 | metroTileForegroundText: 1 356 | metroTileBackgroundColor: {r: 0, g: 0, b: 0, a: 1} 357 | metroSplashScreenBackgroundColor: {r: 0, g: 0, b: 0, a: 1} 358 | metroSplashScreenUseBackgroundColor: 0 359 | platformCapabilities: {} 360 | metroFTAName: 361 | metroFTAFileTypes: [] 362 | metroProtocolName: 363 | metroCompilationOverrides: 1 364 | blackberryDeviceAddress: 365 | blackberryDevicePassword: 366 | blackberryTokenPath: 367 | blackberryTokenExires: 368 | blackberryTokenAuthor: 369 | blackberryTokenAuthorId: 370 | blackberryCskPassword: 371 | blackberrySaveLogPath: 372 | blackberrySharedPermissions: 0 373 | blackberryCameraPermissions: 0 374 | blackberryGPSPermissions: 0 375 | blackberryDeviceIDPermissions: 0 376 | blackberryMicrophonePermissions: 0 377 | blackberryGamepadSupport: 0 378 | blackberryBuildId: 0 379 | blackberryLandscapeSplashScreen: {fileID: 0} 380 | blackberryPortraitSplashScreen: {fileID: 0} 381 | blackberrySquareSplashScreen: {fileID: 0} 382 | tizenProductDescription: 383 | tizenProductURL: 384 | tizenSigningProfileName: 385 | tizenGPSPermissions: 0 386 | tizenMicrophonePermissions: 0 387 | n3dsUseExtSaveData: 0 388 | n3dsCompressStaticMem: 1 389 | n3dsExtSaveDataNumber: 0x12345 390 | n3dsStackSize: 131072 391 | n3dsTargetPlatform: 2 392 | n3dsRegion: 7 393 | n3dsMediaSize: 0 394 | n3dsLogoStyle: 3 395 | n3dsTitle: GameName 396 | n3dsProductCode: 397 | n3dsApplicationId: 0xFF3FF 398 | stvDeviceAddress: 399 | stvProductDescription: 400 | stvProductAuthor: 401 | stvProductAuthorEmail: 402 | stvProductLink: 403 | stvProductCategory: 0 404 | XboxOneProductId: 405 | XboxOneUpdateKey: 406 | XboxOneSandboxId: 407 | XboxOneContentId: 408 | XboxOneTitleId: 409 | XboxOneSCId: 410 | XboxOneGameOsOverridePath: 411 | XboxOnePackagingOverridePath: 412 | XboxOneAppManifestOverridePath: 413 | XboxOnePackageEncryption: 0 414 | XboxOnePackageUpdateGranularity: 2 415 | XboxOneDescription: 416 | XboxOneIsContentPackage: 0 417 | XboxOneEnableGPUVariability: 0 418 | XboxOneSockets: {} 419 | XboxOneSplashScreen: {fileID: 0} 420 | XboxOneAllowedProductIds: [] 421 | XboxOnePersistentLocalStorageSize: 0 422 | intPropertyNames: 423 | - Android::ScriptingBackend 424 | - Metro::ScriptingBackend 425 | - Standalone::ScriptingBackend 426 | - WP8::ScriptingBackend 427 | - WebGL::ScriptingBackend 428 | - WebGL::audioCompressionFormat 429 | - WebGL::exceptionSupport 430 | - WebGL::memorySize 431 | - WebPlayer::ScriptingBackend 432 | - iOS::Architecture 433 | - iOS::EnableIncrementalBuildSupportForIl2cpp 434 | - iOS::ScriptingBackend 435 | Android::ScriptingBackend: 0 436 | Metro::ScriptingBackend: 2 437 | Standalone::ScriptingBackend: 0 438 | WP8::ScriptingBackend: 2 439 | WebGL::ScriptingBackend: 1 440 | WebGL::audioCompressionFormat: 4 441 | WebGL::exceptionSupport: 1 442 | WebGL::memorySize: 256 443 | WebPlayer::ScriptingBackend: 0 444 | iOS::Architecture: 2 445 | iOS::EnableIncrementalBuildSupportForIl2cpp: 0 446 | iOS::ScriptingBackend: 1 447 | boolPropertyNames: 448 | - WebGL::analyzeBuildSize 449 | - WebGL::dataCaching 450 | - WebGL::useEmbeddedResources 451 | - XboxOne::enus 452 | WebGL::analyzeBuildSize: 0 453 | WebGL::dataCaching: 0 454 | WebGL::useEmbeddedResources: 0 455 | XboxOne::enus: 1 456 | stringPropertyNames: 457 | - WebGL::emscriptenArgs 458 | - WebGL::template 459 | - additionalIl2CppArgs::additionalIl2CppArgs 460 | WebGL::emscriptenArgs: 461 | WebGL::template: APPLICATION:Default 462 | additionalIl2CppArgs::additionalIl2CppArgs: 463 | cloudProjectId: 464 | projectName: 465 | organizationId: 466 | cloudEnabled: 0 467 | -------------------------------------------------------------------------------- /src/UnityPackage/ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 5.3.5f1 2 | m_StandardAssetsVersion: 0 3 | -------------------------------------------------------------------------------- /src/UnityPackage/ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 5 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Fastest 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowNearPlaneOffset: 2 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | blendWeights: 1 21 | textureQuality: 1 22 | anisotropicTextures: 0 23 | antiAliasing: 0 24 | softParticles: 0 25 | softVegetation: 0 26 | realtimeReflectionProbes: 0 27 | billboardsFaceCameraPosition: 0 28 | vSyncCount: 0 29 | lodBias: 0.3 30 | maximumLODLevel: 0 31 | particleRaycastBudget: 4 32 | asyncUploadTimeSlice: 2 33 | asyncUploadBufferSize: 4 34 | excludedTargetPlatforms: [] 35 | - serializedVersion: 2 36 | name: Fast 37 | pixelLightCount: 0 38 | shadows: 0 39 | shadowResolution: 0 40 | shadowProjection: 1 41 | shadowCascades: 1 42 | shadowDistance: 20 43 | shadowNearPlaneOffset: 2 44 | shadowCascade2Split: 0.33333334 45 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 46 | blendWeights: 2 47 | textureQuality: 0 48 | anisotropicTextures: 0 49 | antiAliasing: 0 50 | softParticles: 0 51 | softVegetation: 0 52 | realtimeReflectionProbes: 0 53 | billboardsFaceCameraPosition: 0 54 | vSyncCount: 0 55 | lodBias: 0.4 56 | maximumLODLevel: 0 57 | particleRaycastBudget: 16 58 | asyncUploadTimeSlice: 2 59 | asyncUploadBufferSize: 4 60 | excludedTargetPlatforms: [] 61 | - serializedVersion: 2 62 | name: Simple 63 | pixelLightCount: 1 64 | shadows: 1 65 | shadowResolution: 0 66 | shadowProjection: 1 67 | shadowCascades: 1 68 | shadowDistance: 20 69 | shadowNearPlaneOffset: 2 70 | shadowCascade2Split: 0.33333334 71 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 72 | blendWeights: 2 73 | textureQuality: 0 74 | anisotropicTextures: 1 75 | antiAliasing: 0 76 | softParticles: 0 77 | softVegetation: 0 78 | realtimeReflectionProbes: 0 79 | billboardsFaceCameraPosition: 0 80 | vSyncCount: 0 81 | lodBias: 0.7 82 | maximumLODLevel: 0 83 | particleRaycastBudget: 64 84 | asyncUploadTimeSlice: 2 85 | asyncUploadBufferSize: 4 86 | excludedTargetPlatforms: [] 87 | - serializedVersion: 2 88 | name: Good 89 | pixelLightCount: 2 90 | shadows: 2 91 | shadowResolution: 1 92 | shadowProjection: 1 93 | shadowCascades: 2 94 | shadowDistance: 40 95 | shadowNearPlaneOffset: 2 96 | shadowCascade2Split: 0.33333334 97 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 98 | blendWeights: 2 99 | textureQuality: 0 100 | anisotropicTextures: 1 101 | antiAliasing: 0 102 | softParticles: 0 103 | softVegetation: 1 104 | realtimeReflectionProbes: 1 105 | billboardsFaceCameraPosition: 1 106 | vSyncCount: 1 107 | lodBias: 1 108 | maximumLODLevel: 0 109 | particleRaycastBudget: 256 110 | asyncUploadTimeSlice: 2 111 | asyncUploadBufferSize: 4 112 | excludedTargetPlatforms: [] 113 | - serializedVersion: 2 114 | name: Beautiful 115 | pixelLightCount: 3 116 | shadows: 2 117 | shadowResolution: 2 118 | shadowProjection: 1 119 | shadowCascades: 2 120 | shadowDistance: 70 121 | shadowNearPlaneOffset: 2 122 | shadowCascade2Split: 0.33333334 123 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 124 | blendWeights: 4 125 | textureQuality: 0 126 | anisotropicTextures: 2 127 | antiAliasing: 2 128 | softParticles: 1 129 | softVegetation: 1 130 | realtimeReflectionProbes: 1 131 | billboardsFaceCameraPosition: 1 132 | vSyncCount: 1 133 | lodBias: 1.5 134 | maximumLODLevel: 0 135 | particleRaycastBudget: 1024 136 | asyncUploadTimeSlice: 2 137 | asyncUploadBufferSize: 4 138 | excludedTargetPlatforms: [] 139 | - serializedVersion: 2 140 | name: Fantastic 141 | pixelLightCount: 4 142 | shadows: 2 143 | shadowResolution: 2 144 | shadowProjection: 1 145 | shadowCascades: 4 146 | shadowDistance: 150 147 | shadowNearPlaneOffset: 2 148 | shadowCascade2Split: 0.33333334 149 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 150 | blendWeights: 4 151 | textureQuality: 0 152 | anisotropicTextures: 2 153 | antiAliasing: 2 154 | softParticles: 1 155 | softVegetation: 1 156 | realtimeReflectionProbes: 1 157 | billboardsFaceCameraPosition: 1 158 | vSyncCount: 1 159 | lodBias: 2 160 | maximumLODLevel: 0 161 | particleRaycastBudget: 4096 162 | asyncUploadTimeSlice: 2 163 | asyncUploadBufferSize: 4 164 | excludedTargetPlatforms: [] 165 | m_PerPlatformDefaultQuality: 166 | Android: 2 167 | BlackBerry: 2 168 | GLES Emulation: 5 169 | Nintendo 3DS: 5 170 | PS3: 5 171 | PS4: 5 172 | PSM: 5 173 | PSP2: 2 174 | Samsung TV: 2 175 | Standalone: 5 176 | Tizen: 2 177 | WP8: 5 178 | Web: 5 179 | WebGL: 3 180 | Wii U: 5 181 | WiiU: 5 182 | Windows Store Apps: 5 183 | XBOX360: 5 184 | XboxOne: 5 185 | iPhone: 2 186 | -------------------------------------------------------------------------------- /src/UnityPackage/ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /src/UnityPackage/ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | -------------------------------------------------------------------------------- /src/UnityPackage/ProjectSettings/UnityAdsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!292 &1 4 | UnityAdsSettings: 5 | m_ObjectHideFlags: 0 6 | m_Enabled: 0 7 | m_InitializeOnStartup: 1 8 | m_TestMode: 0 9 | m_EnabledPlatforms: 4294967295 10 | m_IosGameId: 11 | m_AndroidGameId: 12 | -------------------------------------------------------------------------------- /src/UnityPackage/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 | UnityPurchasingSettings: 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | UnityAnalyticsSettings: 10 | m_Enabled: 0 11 | m_InitializeOnStartup: 1 12 | m_TestMode: 0 13 | m_TestEventUrl: 14 | m_TestConfigUrl: 15 | -------------------------------------------------------------------------------- /src/UnityPackage/UiManager.unitypackage.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "UiManager", 3 | "version": "1.1.0", 4 | "authors": [ "Esun Kim" ], 5 | "owners": [ "Esun Kim" ], 6 | "description": "Common UI Manager for Unity3D", 7 | "dependencies": { 8 | "CommonLogging": { 9 | "version": "3.*", 10 | "source": "github:SaladLab/Common.Logging.Unity3D" 11 | } 12 | }, 13 | "files": [ 14 | "Assets/UiManager/*", 15 | { "source": "Assets/UiManagerSample/*", "target": "$homebase$/UiManagerSample/", "extra": true }, 16 | "$dependencies$" 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /tools/nuget/NuGet.Config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /tools/nuget/NuGet.targets: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $(MSBuildProjectDirectory)\..\ 5 | 6 | 7 | false 8 | 9 | 10 | false 11 | 12 | 13 | true 14 | 15 | 16 | false 17 | 18 | 19 | 20 | 21 | 22 | 26 | 27 | 28 | 29 | 30 | $([System.IO.Path]::Combine($(SolutionDir), ".nuget")) 31 | 32 | 33 | 34 | 35 | $(SolutionDir).nuget 36 | 37 | 38 | 39 | $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName.Replace(' ', '_')).config 40 | $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config 41 | 42 | 43 | 44 | $(MSBuildProjectDirectory)\packages.config 45 | $(PackagesProjectConfig) 46 | 47 | 48 | 49 | 50 | $(NuGetToolsPath)\NuGet.exe 51 | @(PackageSource) 52 | 53 | "$(NuGetExePath)" 54 | mono --runtime=v4.0.30319 "$(NuGetExePath)" 55 | 56 | $(TargetDir.Trim('\\')) 57 | 58 | -RequireConsent 59 | -NonInteractive 60 | 61 | "$(SolutionDir) " 62 | "$(SolutionDir)" 63 | 64 | 65 | $(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(NonInteractiveSwitch) $(RequireConsentSwitch) -solutionDir $(PaddedSolutionDir) 66 | $(NuGetCommand) pack "$(ProjectPath)" -Properties "Configuration=$(Configuration);Platform=$(Platform)" $(NonInteractiveSwitch) -OutputDirectory "$(PackageOutputDir)" -symbols 67 | 68 | 69 | 70 | RestorePackages; 71 | $(BuildDependsOn); 72 | 73 | 74 | 75 | 76 | $(BuildDependsOn); 77 | BuildPackage; 78 | 79 | 80 | 81 | 82 | 83 | 84 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 99 | 100 | 103 | 104 | 105 | 106 | 108 | 109 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 141 | 142 | 143 | 144 | 145 | -------------------------------------------------------------------------------- /tools/nuget/nuget.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SaladLab/Unity3D.UiManager/2c2837f537697de9eedbcf7fa73c7a70dce440e9/tools/nuget/nuget.exe -------------------------------------------------------------------------------- /tools/nuget/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | --------------------------------------------------------------------------------