├── Assets ├── Plugins │ ├── System.Windows.Forms.dll │ └── System.Windows.Forms.dll.meta ├── Plugins.meta ├── Scene │ ├── windowsTest.unity.meta │ └── windowsTest.unity ├── Scene.meta ├── Scripts.meta └── Scripts │ ├── WindowMod.cs.meta │ ├── WindowOpenfile.cs.meta │ ├── ToolControlTaskBar.cs.meta │ ├── ToolControlTaskBar.cs │ ├── WindowOpenfile.cs │ └── WindowMod.cs ├── .gitignore ├── LICENSE └── README.md /Assets/Plugins/System.Windows.Forms.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/U3DC/Unity-Winform-Solution/HEAD/Assets/Plugins/System.Windows.Forms.dll -------------------------------------------------------------------------------- /Assets/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a61c4c7e8e3d4e55bd1431be8d5483a 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Scene/windowsTest.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 590b80bae7be3664da6a3d647267ca35 3 | timeCreated: 1505703165 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scene.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 26d7ce4041c2112459c72443f72c3403 3 | folderAsset: yes 4 | timeCreated: 1505722104 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5cffa108cb20878459d03fd3fa23b731 3 | folderAsset: yes 4 | timeCreated: 1505722158 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scripts/WindowMod.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 099119b41a4bd4c4087a1db787e23a78 3 | timeCreated: 1505700886 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/WindowOpenfile.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 81a0c7b7264f58944a82d41803514ff5 3 | timeCreated: 1505715414 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/ToolControlTaskBar.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e030b4440c060b94b9a3c052b4d107af 3 | timeCreated: 1505701075 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/System.Windows.Forms.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2eec204112a6e5749ae19d72abba4adc 3 | timeCreated: 1461859567 4 | licenseType: Store 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 | userData: 19 | assetBundleName: 20 | assetBundleVariant: 21 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /[Ll]ibrary/ 2 | /[Tt]emp/ 3 | /[Oo]bj/ 4 | /[Bb]uild/ 5 | /[Bb]uilds/ 6 | /Assets/AssetStoreTools* 7 | 8 | # Visual Studio 2015 cache directory 9 | /.vs/ 10 | 11 | # Autogenerated VS/MD/Consulo solution and project files 12 | ExportedObj/ 13 | .consulo/ 14 | *.csproj 15 | *.unityproj 16 | *.sln 17 | *.suo 18 | *.tmp 19 | *.user 20 | *.userprefs 21 | *.pidb 22 | *.booproj 23 | *.svd 24 | *.pdb 25 | 26 | # Unity3D generated meta files 27 | *.pidb.meta 28 | 29 | # Unity3D Generated File On Crash Reports 30 | sysinfo.txt 31 | 32 | # Builds 33 | *.apk 34 | *.unitypackage 35 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Mark.II 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Assets/Scripts/ToolControlTaskBar.cs: -------------------------------------------------------------------------------- 1 | using System.Runtime.InteropServices; 2 | 3 | /// 4 | /// 控制任务栏的显示和隐藏,直接调用下方的静态方法即可 5 | /// 6 | public class ToolControlTaskBar 7 | { 8 | [DllImport("user32.dll")] //这里是引入 user32.dll 库, 这个库是windows系统自带的。 9 | public static extern int ShowWindow(int hwnd, int nCmdShow); //这是显示任务栏 10 | [DllImport("user32.dll")] 11 | public static extern int FindWindow(string lpClassName, string lpWindowName); 12 | 13 | private const int SW_HIDE = 0; //hied task bar 14 | private const int SW_RESTORE = 9;//show task bar 15 | // Use this for initialization 16 | 17 | 18 | /// 19 | /// show TaskBar 20 | /// 21 | public static void ShowTaskBar() 22 | { 23 | ShowWindow(FindWindow("Shell_TrayWnd", null), SW_RESTORE); 24 | } 25 | /// 26 | /// Hide TaskBar 27 | /// 28 | public static void HideTaskBar() 29 | { 30 | ShowWindow(FindWindow("Shell_TrayWnd", null), SW_HIDE); 31 | } 32 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Unity-Winform-Solution 2 | Unity winform solution 3 | 4 | EN: 5 | 6 | Q:When Open a new window (select file) Unity will be Automatic minimization, is boring. how can we fixed it? 7 | 8 | A:you can use this solution can fixed it! 9 | 10 | Q:Can I fixed it in Unity setting? 11 | 12 | A:yes! 13 | 14 | Q:How? 15 | 16 | A:File - BuildSettings - PlayerSettings - Resolution and Presentation - Visible In Background -- just check it on. 17 | 18 | Q:Why not use this method? 19 | 20 | A:Use "Unity-Winform-Solution" is better way to controll window layer,set foreground,fullscreen and without boarder. 21 | 22 | WindowMod.cs can set the window foreground or backbround, set fullscreen and without boarder. 23 | 24 | ToolControlTaskBar.cs is a static class, you can use this to set the TaskBar to hide or show any where,just use : ToolcontrolTaskBar.ShowTaskBar(); or use ToolControlTaskBar.HideTaskBar(); 25 | 26 | WindowOpenfile.cs is a sample for open file window. 27 | 28 | 29 | CH: 30 | 31 | WindowMod.cs 这个脚本用来控制窗口的置顶、全屏和边框设置。 32 | ToolControlTaskBar.cs 用来控制任务栏的显示和隐藏。 33 | WindowOpenfile.cs 这是一个打开选取窗口的样例。 34 | 35 | 36 | Any question can contact me mark@u3dc.com 37 | 38 | 39 | -------------------------------------------------------------------------------- /Assets/Scripts/WindowOpenfile.cs: -------------------------------------------------------------------------------- 1 | /*=============================================================== 2 | *Copyright(C) 2017 by U3DC All rights reserved. 3 | *FileName: WindowOpenfile 4 | *Author: MARK 5 | *Version: 1.0 6 | *UnityVersion: Unity2017.1 7 | *Date: 2017.9.19 8 | *Description: 9 | *History: 10 | ================================================================*/ 11 | 12 | using System.Collections; 13 | using System.IO; 14 | using System.Runtime.InteropServices; 15 | using System.Windows.Forms; 16 | using UnityEngine; 17 | using UnityEngine.UI; 18 | using System; 19 | 20 | public class WindowOpenfile : MonoBehaviour { 21 | 22 | 23 | private string audioPathName; 24 | private string audioFileName; 25 | 26 | 27 | FileInfo myfile; 28 | public Image img; 29 | 30 | 31 | void Start() 32 | { 33 | ///HideTaskBar 34 | ToolControlTaskBar.HideTaskBar(); 35 | 36 | } 37 | 38 | 39 | void OnApplicationQuit() 40 | { 41 | ToolControlTaskBar.ShowTaskBar(); 42 | 43 | } 44 | 45 | 46 | 47 | 48 | void Update () { 49 | 50 | if (Input.GetKey (KeyCode.Escape)) { 51 | UnityEngine.Application.Quit (); 52 | 53 | } 54 | 55 | 56 | } 57 | 58 | 59 | public void OnClickOpenFileButton() 60 | { 61 | OpenFileDialog myofd = new OpenFileDialog (); 62 | myofd.InitialDirectory = "file://" + UnityEngine.Application.dataPath; 63 | myofd.Multiselect = false; 64 | 65 | myofd.Filter = "AUDIOFILE(*.ogg,*.wav,*.mp3)|*.ogg;*.wav;*.mp3"; 66 | myofd.FilterIndex = 0; 67 | 68 | 69 | if (myofd.ShowDialog () == DialogResult.OK) { 70 | 71 | 72 | Debug.Log (myofd.FileName); 73 | 74 | StartCoroutine (ChangeAudio (myofd.FileName)); 75 | } 76 | 77 | 78 | 79 | } 80 | 81 | 82 | public void OnClickOpenPictureFileButtton() 83 | { 84 | OpenFileDialog mypicofd = new OpenFileDialog (); 85 | mypicofd.Title = "Test"; 86 | mypicofd.InitialDirectory = "file://" + UnityEngine.Application.dataPath; 87 | mypicofd.Multiselect = false; 88 | mypicofd.Filter = "PICFILE(*.png,*.jpg,*.bmp)|*.png;*.jpg;*.bmp"; 89 | mypicofd.FilterIndex = 0; 90 | 91 | if (mypicofd.ShowDialog () == DialogResult.OK) { 92 | Debug.Log (mypicofd.FileName); 93 | StartCoroutine (ChangeTexture (mypicofd.FileName)); 94 | } 95 | 96 | 97 | } 98 | 99 | 100 | IEnumerator ChangeAudio(string name) 101 | { 102 | WWW www = new WWW ("file://" + name); 103 | yield return www; 104 | UnityEngine.Resources.UnloadUnusedAssets (); 105 | this.GetComponent ().clip = www.GetAudioClip (); 106 | this.GetComponent ().Play (); 107 | } 108 | 109 | IEnumerator ChangeTexture(string name) 110 | { 111 | 112 | WWW www = new WWW ("file://" +name); 113 | yield return www; 114 | UnityEngine.Resources.UnloadUnusedAssets (); 115 | 116 | ///convert texture to sprite 117 | Texture2D imgt = www.texture as Texture2D; 118 | Sprite pic = Sprite.Create(imgt, new Rect(0, 0, imgt.width, imgt.height), new Vector2(0.5f, 0.5f));//Vector2 is Pivot value, 0.5 is center 119 | img.sprite = pic; 120 | 121 | 122 | } 123 | 124 | } 125 | -------------------------------------------------------------------------------- /Assets/Scripts/WindowMod.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | using System.Collections; 4 | 5 | using System.Runtime.InteropServices; 6 | 7 | using System.Diagnostics; 8 | 9 | using UnityEngine; 10 | /// 11 | /// GAME窗口的置顶和隐藏,本类需要挂载在monobehavior的任意物件上运行启用 12 | /// 原理:通过winform的api找到当前的unity窗口名字,IntPtr hWnd = FindWindow(null,"U3DC");这里的U3DC时你打包uniy发布后的窗口名字,需要注意,找到这个窗口才能控制它置顶然后设置无边框,编辑器下无作用,打包后才能起效。 13 | /// 14 | public class WindowMod : MonoBehaviour 15 | { 16 | 17 | [DllImport("user32.dll")] 18 | static extern IntPtr GetForegroundWindow(); 19 | 20 | [DllImport("user32.dll", CharSet = CharSet.Auto)] 21 | public static extern bool SetWindowPos(IntPtr hWnd, IntPtr hPos, int x, int y, int cx, int cy, uint nflags); 22 | 23 | [DllImport("User32.dll", EntryPoint = "FindWindow", CharSet = CharSet.Auto)] 24 | private static extern IntPtr FindWindow(string lpClassName, string lpWindowName); 25 | 26 | [DllImport("User32.dll", EntryPoint = "SetWindowLong")] 27 | private static extern int SetWindowLong(IntPtr hWnd, int nIndex, int dwNewLong); 28 | 29 | [DllImport("User32.dll", EntryPoint = "GetWindowLong")] 30 | private static extern int GetWindowLong(IntPtr hWnd, int dwNewLong); 31 | 32 | [DllImport("User32.dll", EntryPoint = "MoveWindow")] 33 | private static extern bool MoveWindow(IntPtr hWnd, int x, int y, int width, int height, bool repaint); 34 | 35 | [DllImport("user32.dll", EntryPoint = "ShowWindow", CharSet = CharSet.Auto)] 36 | public static extern int ShowWindow(IntPtr hwnd, int nCmdShow); 37 | 38 | [DllImport("user32.dll", EntryPoint = "SendMessage", CharSet = CharSet.Auto)] 39 | public static extern int SendMessage(IntPtr hwnd, int msg, IntPtr wP, IntPtr IP); 40 | 41 | [DllImport("user32.dll", EntryPoint = "SetParent", CharSet = CharSet.Auto)] 42 | public static extern IntPtr SetParent(IntPtr hChild, IntPtr hParent); 43 | 44 | [DllImport("user32.dll", EntryPoint = "GetParent", CharSet = CharSet.Auto)] 45 | public static extern IntPtr GetParent(IntPtr hChild); 46 | 47 | [DllImport("User32.dll", EntryPoint = "GetSystemMetrics")] 48 | public static extern IntPtr GetSystemMetrics(int nIndex); 49 | 50 | [System.Runtime.InteropServices.DllImport("user32.dll", EntryPoint = "SetForegroundWindow")] 51 | public static extern bool SetForegroundWindow(IntPtr hWnd);//设置此窗体为活动窗体 52 | 53 | public enum appStyle 54 | { 55 | FullScreen = 0, 56 | WindowedFullScreen = 1, 57 | Windowed = 2, 58 | WindowedWithoutBorder = 3, 59 | } 60 | public appStyle AppWindowStyle = appStyle.WindowedFullScreen; 61 | 62 | public enum zDepth 63 | { 64 | Normal = 0, 65 | Top = 1, 66 | TopMost = 2, 67 | } 68 | public zDepth ScreenDepth = zDepth.Normal; 69 | public int windowLeft = 0; 70 | public int windowTop = 0; 71 | private int windowWidth = Screen.width; 72 | private int windowHeight = Screen.height; 73 | const uint SWP_SHOWWINDOW = 0x0040; 74 | const int GWL_STYLE = -16; 75 | const int WS_BORDER = 1; 76 | private Rect screenPosition; 77 | private const int GWL_EXSTYLE = (-20); 78 | private const int WS_CAPTION = 0xC00000; 79 | private const int WS_POPUP = 0x800000; 80 | IntPtr HWND_TOP = new IntPtr(0); 81 | IntPtr HWND_TOPMOST = new IntPtr(-1); 82 | IntPtr HWND_NORMAL = new IntPtr(-2); 83 | private const int SM_CXSCREEN = 0x00000000; 84 | private const int SM_CYSCREEN = 0x00000001; 85 | int Xscreen; 86 | int Yscreen; 87 | //add 2015.4.21 88 | public bool StartAuto = false; 89 | public enum ScreenDirection 90 | { 91 | defaultDirection, 92 | horizontal, 93 | vertical, 94 | } 95 | public ScreenDirection CurDirection = ScreenDirection.defaultDirection; 96 | void Awake() 97 | { 98 | Xscreen = (int)GetSystemMetrics(SM_CXSCREEN); 99 | Yscreen = (int)GetSystemMetrics(SM_CYSCREEN); 100 | 101 | if (!StartAuto) 102 | { 103 | if (Xscreen > Yscreen) 104 | { 105 | windowWidth = 1920; 106 | windowHeight = 1080; 107 | // Global.CurDictiion = Global.EnumDiction.Horizontal; 108 | } 109 | else 110 | { 111 | windowWidth = 1080; 112 | windowHeight = 1920; 113 | //Global.CurDictiion = Global.EnumDiction.Vertical; 114 | } 115 | } 116 | else 117 | { 118 | if (CurDirection == ScreenDirection.horizontal) 119 | { 120 | windowWidth = 1920; 121 | windowHeight = 1080; 122 | // Global.CurDictiion = Global.EnumDiction.Horizontal; 123 | } 124 | else if (CurDirection == ScreenDirection.vertical) 125 | { 126 | windowWidth = 1080; 127 | windowHeight = 1920; 128 | //Global.CurDictiion = Global.EnumDiction.Vertical; 129 | } 130 | } 131 | if ((int)AppWindowStyle == 0) 132 | { 133 | Screen.SetResolution(Xscreen, Yscreen, true); 134 | } 135 | if ((int)AppWindowStyle == 1) 136 | { 137 | //Screen.SetResolution(Xscreen - 1, Yscreen - 1, false); 138 | //screenPosition = new Rect(0, 0, Xscreen - 1, Yscreen - 1); 139 | 140 | Screen.SetResolution(windowWidth, windowHeight, false); 141 | screenPosition = new Rect(0, 0, windowWidth, windowHeight); 142 | } 143 | if ((int)AppWindowStyle == 2) 144 | { 145 | Screen.SetResolution(windowWidth, windowWidth, false); 146 | } 147 | if ((int)AppWindowStyle == 3) 148 | { 149 | Screen.SetResolution(windowWidth, windowWidth, false); 150 | screenPosition = new Rect(windowLeft, windowTop, windowWidth, windowWidth); 151 | } 152 | } 153 | 154 | void Start() 155 | { 156 | InvokeRepeating("LaunchProjectile", 1, 0.5f); 157 | } 158 | 159 | void LaunchProjectile() 160 | { 161 | print("hello"); 162 | } 163 | 164 | int i = 0; 165 | void Update() 166 | { 167 | IntPtr hWnd = FindWindow(null, "U3DC"); //U3DC 这个是我unity 打包发布后的 窗口名字。这里注意设置。
168 | //if(hWnd != IntPtr.Zero) 169 | //{ 170 | // System.IO.Directory.CreateDirectory("d:\\ttt"); 171 | //} 172 | SetForegroundWindow(hWnd); 173 | 174 | if (i < 30) 175 | { 176 | if ((int)AppWindowStyle == 1) 177 | { 178 | SetWindowLong(hWnd, -16, 369164288); 179 | if ((int)ScreenDepth == 0) 180 | SetWindowPos(hWnd, HWND_NORMAL, (int)screenPosition.x, (int)screenPosition.y, (int)screenPosition.width, (int)screenPosition.height, SWP_SHOWWINDOW); 181 | if ((int)ScreenDepth == 1) 182 | SetWindowPos(hWnd, HWND_TOP, (int)screenPosition.x, (int)screenPosition.y, (int)screenPosition.width, (int)screenPosition.height, SWP_SHOWWINDOW); 183 | if ((int)ScreenDepth == 2) 184 | SetWindowPos(hWnd, HWND_TOPMOST, (int)screenPosition.x, (int)screenPosition.y, (int)screenPosition.width, (int)screenPosition.height, SWP_SHOWWINDOW); 185 | //ShowWindow(GetForegroundWindow(), 3); 186 | } 187 | 188 | if ((int)AppWindowStyle == 2) 189 | { 190 | if ((int)ScreenDepth == 0) 191 | { 192 | SetWindowPos(hWnd, HWND_NORMAL, 0, 0, 0, 0, 0x0001 | 0x0002); 193 | SetWindowPos(hWnd, HWND_NORMAL, 0, 0, 0, 0, 0x0001 | 0x0002 | 0x0020); 194 | } 195 | if ((int)ScreenDepth == 1) 196 | { 197 | SetWindowPos(hWnd, HWND_TOP, 0, 0, 0, 0, 0x0001 | 0x0002); 198 | SetWindowPos(hWnd, HWND_TOP, 0, 0, 0, 0, 0x0001 | 0x0002 | 0x0020); 199 | } 200 | if ((int)ScreenDepth == 2) 201 | { 202 | SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, 0x0001 | 0x0002); 203 | SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, 0x0001 | 0x0002 | 0x0020); 204 | } 205 | } 206 | if ((int)AppWindowStyle == 3) 207 | { 208 | SetWindowLong(hWnd, -16, 369164288); 209 | if ((int)ScreenDepth == 0) 210 | SetWindowPos(hWnd, HWND_NORMAL, (int)screenPosition.x, (int)screenPosition.y, (int)screenPosition.width, (int)screenPosition.height, SWP_SHOWWINDOW); 211 | if ((int)ScreenDepth == 1) 212 | SetWindowPos(hWnd, HWND_TOP, (int)screenPosition.x, (int)screenPosition.y, (int)screenPosition.width, (int)screenPosition.height, SWP_SHOWWINDOW); 213 | if ((int)ScreenDepth == 2) 214 | SetWindowPos(hWnd, HWND_TOPMOST, (int)screenPosition.x, (int)screenPosition.y, (int)screenPosition.width, (int)screenPosition.height, SWP_SHOWWINDOW); 215 | } 216 | } 217 | i++; 218 | 219 | } 220 | } -------------------------------------------------------------------------------- /Assets/Scene/windowsTest.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 8 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 0 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 128 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 0} 41 | m_IndirectSpecularColor: {r: 0.44657874, g: 0.49641258, b: 0.5748172, a: 1} 42 | --- !u!157 &3 43 | LightmapSettings: 44 | m_ObjectHideFlags: 0 45 | serializedVersion: 11 46 | m_GIWorkflowMode: 0 47 | m_GISettings: 48 | serializedVersion: 2 49 | m_BounceScale: 1 50 | m_IndirectOutputScale: 1 51 | m_AlbedoBoost: 1 52 | m_TemporalCoherenceThreshold: 1 53 | m_EnvironmentLightingMode: 0 54 | m_EnableBakedLightmaps: 1 55 | m_EnableRealtimeLightmaps: 1 56 | m_LightmapEditorSettings: 57 | serializedVersion: 9 58 | m_Resolution: 2 59 | m_BakeResolution: 40 60 | m_TextureWidth: 1024 61 | m_TextureHeight: 1024 62 | m_AO: 0 63 | m_AOMaxDistance: 1 64 | m_CompAOExponent: 1 65 | m_CompAOExponentDirect: 0 66 | m_Padding: 2 67 | m_LightmapParameters: {fileID: 0} 68 | m_LightmapsBakeMode: 1 69 | m_TextureCompression: 1 70 | m_FinalGather: 0 71 | m_FinalGatherFiltering: 1 72 | m_FinalGatherRayCount: 256 73 | m_ReflectionCompression: 2 74 | m_MixedBakeMode: 2 75 | m_BakeBackend: 0 76 | m_PVRSampling: 1 77 | m_PVRDirectSampleCount: 32 78 | m_PVRSampleCount: 500 79 | m_PVRBounces: 2 80 | m_PVRFiltering: 0 81 | m_PVRFilteringMode: 1 82 | m_PVRCulling: 1 83 | m_PVRFilteringGaussRadiusDirect: 1 84 | m_PVRFilteringGaussRadiusIndirect: 5 85 | m_PVRFilteringGaussRadiusAO: 2 86 | m_PVRFilteringAtrousColorSigma: 1 87 | m_PVRFilteringAtrousNormalSigma: 1 88 | m_PVRFilteringAtrousPositionSigma: 1 89 | m_LightingDataAsset: {fileID: 0} 90 | m_UseShadowmask: 1 91 | --- !u!196 &4 92 | NavMeshSettings: 93 | serializedVersion: 2 94 | m_ObjectHideFlags: 0 95 | m_BuildSettings: 96 | serializedVersion: 2 97 | agentTypeID: 0 98 | agentRadius: 0.5 99 | agentHeight: 2 100 | agentSlope: 45 101 | agentClimb: 0.4 102 | ledgeDropHeight: 0 103 | maxJumpAcrossDistance: 0 104 | minRegionArea: 2 105 | manualCellSize: 0 106 | cellSize: 0.16666667 107 | manualTileSize: 0 108 | tileSize: 256 109 | accuratePlacement: 0 110 | m_NavMeshData: {fileID: 0} 111 | --- !u!1 &622392803 112 | GameObject: 113 | m_ObjectHideFlags: 0 114 | m_PrefabParentObject: {fileID: 0} 115 | m_PrefabInternal: {fileID: 0} 116 | serializedVersion: 5 117 | m_Component: 118 | - component: {fileID: 622392804} 119 | - component: {fileID: 622392806} 120 | - component: {fileID: 622392805} 121 | m_Layer: 5 122 | m_Name: Text 123 | m_TagString: Untagged 124 | m_Icon: {fileID: 0} 125 | m_NavMeshLayer: 0 126 | m_StaticEditorFlags: 0 127 | m_IsActive: 1 128 | --- !u!224 &622392804 129 | RectTransform: 130 | m_ObjectHideFlags: 0 131 | m_PrefabParentObject: {fileID: 0} 132 | m_PrefabInternal: {fileID: 0} 133 | m_GameObject: {fileID: 622392803} 134 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 135 | m_LocalPosition: {x: 0, y: 0, z: 0} 136 | m_LocalScale: {x: 1, y: 1, z: 1} 137 | m_Children: [] 138 | m_Father: {fileID: 1553068209} 139 | m_RootOrder: 0 140 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 141 | m_AnchorMin: {x: 0, y: 0} 142 | m_AnchorMax: {x: 1, y: 1} 143 | m_AnchoredPosition: {x: 0, y: 0} 144 | m_SizeDelta: {x: 0, y: 0} 145 | m_Pivot: {x: 0.5, y: 0.5} 146 | --- !u!114 &622392805 147 | MonoBehaviour: 148 | m_ObjectHideFlags: 0 149 | m_PrefabParentObject: {fileID: 0} 150 | m_PrefabInternal: {fileID: 0} 151 | m_GameObject: {fileID: 622392803} 152 | m_Enabled: 1 153 | m_EditorHideFlags: 0 154 | m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} 155 | m_Name: 156 | m_EditorClassIdentifier: 157 | m_Material: {fileID: 0} 158 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} 159 | m_RaycastTarget: 1 160 | m_OnCullStateChanged: 161 | m_PersistentCalls: 162 | m_Calls: [] 163 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 164 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 165 | m_FontData: 166 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 167 | m_FontSize: 14 168 | m_FontStyle: 0 169 | m_BestFit: 0 170 | m_MinSize: 10 171 | m_MaxSize: 40 172 | m_Alignment: 4 173 | m_AlignByGeometry: 0 174 | m_RichText: 1 175 | m_HorizontalOverflow: 0 176 | m_VerticalOverflow: 0 177 | m_LineSpacing: 1 178 | m_Text: "\u6253\u5F00\u7A97\u53E3" 179 | --- !u!222 &622392806 180 | CanvasRenderer: 181 | m_ObjectHideFlags: 0 182 | m_PrefabParentObject: {fileID: 0} 183 | m_PrefabInternal: {fileID: 0} 184 | m_GameObject: {fileID: 622392803} 185 | --- !u!1 &657794384 186 | GameObject: 187 | m_ObjectHideFlags: 0 188 | m_PrefabParentObject: {fileID: 0} 189 | m_PrefabInternal: {fileID: 0} 190 | serializedVersion: 5 191 | m_Component: 192 | - component: {fileID: 657794389} 193 | - component: {fileID: 657794388} 194 | - component: {fileID: 657794387} 195 | - component: {fileID: 657794386} 196 | - component: {fileID: 657794385} 197 | - component: {fileID: 657794390} 198 | m_Layer: 0 199 | m_Name: Main Camera 200 | m_TagString: MainCamera 201 | m_Icon: {fileID: 0} 202 | m_NavMeshLayer: 0 203 | m_StaticEditorFlags: 0 204 | m_IsActive: 1 205 | --- !u!81 &657794385 206 | AudioListener: 207 | m_ObjectHideFlags: 0 208 | m_PrefabParentObject: {fileID: 0} 209 | m_PrefabInternal: {fileID: 0} 210 | m_GameObject: {fileID: 657794384} 211 | m_Enabled: 1 212 | --- !u!124 &657794386 213 | Behaviour: 214 | m_ObjectHideFlags: 0 215 | m_PrefabParentObject: {fileID: 0} 216 | m_PrefabInternal: {fileID: 0} 217 | m_GameObject: {fileID: 657794384} 218 | m_Enabled: 1 219 | --- !u!92 &657794387 220 | Behaviour: 221 | m_ObjectHideFlags: 0 222 | m_PrefabParentObject: {fileID: 0} 223 | m_PrefabInternal: {fileID: 0} 224 | m_GameObject: {fileID: 657794384} 225 | m_Enabled: 1 226 | --- !u!20 &657794388 227 | Camera: 228 | m_ObjectHideFlags: 0 229 | m_PrefabParentObject: {fileID: 0} 230 | m_PrefabInternal: {fileID: 0} 231 | m_GameObject: {fileID: 657794384} 232 | m_Enabled: 1 233 | serializedVersion: 2 234 | m_ClearFlags: 1 235 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 236 | m_NormalizedViewPortRect: 237 | serializedVersion: 2 238 | x: 0 239 | y: 0 240 | width: 1 241 | height: 1 242 | near clip plane: 0.3 243 | far clip plane: 1000 244 | field of view: 60 245 | orthographic: 0 246 | orthographic size: 5 247 | m_Depth: -1 248 | m_CullingMask: 249 | serializedVersion: 2 250 | m_Bits: 4294967295 251 | m_RenderingPath: -1 252 | m_TargetTexture: {fileID: 0} 253 | m_TargetDisplay: 0 254 | m_TargetEye: 3 255 | m_HDR: 1 256 | m_AllowMSAA: 1 257 | m_ForceIntoRT: 0 258 | m_OcclusionCulling: 1 259 | m_StereoConvergence: 10 260 | m_StereoSeparation: 0.022 261 | m_StereoMirrorMode: 0 262 | --- !u!4 &657794389 263 | Transform: 264 | m_ObjectHideFlags: 0 265 | m_PrefabParentObject: {fileID: 0} 266 | m_PrefabInternal: {fileID: 0} 267 | m_GameObject: {fileID: 657794384} 268 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 269 | m_LocalPosition: {x: 0, y: 1, z: -10} 270 | m_LocalScale: {x: 1, y: 1, z: 1} 271 | m_Children: [] 272 | m_Father: {fileID: 0} 273 | m_RootOrder: 0 274 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 275 | --- !u!114 &657794390 276 | MonoBehaviour: 277 | m_ObjectHideFlags: 0 278 | m_PrefabParentObject: {fileID: 0} 279 | m_PrefabInternal: {fileID: 0} 280 | m_GameObject: {fileID: 657794384} 281 | m_Enabled: 1 282 | m_EditorHideFlags: 0 283 | m_Script: {fileID: 11500000, guid: 099119b41a4bd4c4087a1db787e23a78, type: 3} 284 | m_Name: 285 | m_EditorClassIdentifier: 286 | AppWindowStyle: 1 287 | ScreenDepth: 1 288 | windowLeft: 0 289 | windowTop: 0 290 | StartAuto: 0 291 | CurDirection: 0 292 | --- !u!1 &979789844 293 | GameObject: 294 | m_ObjectHideFlags: 0 295 | m_PrefabParentObject: {fileID: 0} 296 | m_PrefabInternal: {fileID: 0} 297 | serializedVersion: 5 298 | m_Component: 299 | - component: {fileID: 979789847} 300 | - component: {fileID: 979789846} 301 | - component: {fileID: 979789845} 302 | m_Layer: 0 303 | m_Name: EventSystem 304 | m_TagString: Untagged 305 | m_Icon: {fileID: 0} 306 | m_NavMeshLayer: 0 307 | m_StaticEditorFlags: 0 308 | m_IsActive: 1 309 | --- !u!114 &979789845 310 | MonoBehaviour: 311 | m_ObjectHideFlags: 0 312 | m_PrefabParentObject: {fileID: 0} 313 | m_PrefabInternal: {fileID: 0} 314 | m_GameObject: {fileID: 979789844} 315 | m_Enabled: 1 316 | m_EditorHideFlags: 0 317 | m_Script: {fileID: 1077351063, guid: f70555f144d8491a825f0804e09c671c, type: 3} 318 | m_Name: 319 | m_EditorClassIdentifier: 320 | m_HorizontalAxis: Horizontal 321 | m_VerticalAxis: Vertical 322 | m_SubmitButton: Submit 323 | m_CancelButton: Cancel 324 | m_InputActionsPerSecond: 10 325 | m_RepeatDelay: 0.5 326 | m_ForceModuleActive: 0 327 | --- !u!114 &979789846 328 | MonoBehaviour: 329 | m_ObjectHideFlags: 0 330 | m_PrefabParentObject: {fileID: 0} 331 | m_PrefabInternal: {fileID: 0} 332 | m_GameObject: {fileID: 979789844} 333 | m_Enabled: 1 334 | m_EditorHideFlags: 0 335 | m_Script: {fileID: -619905303, guid: f70555f144d8491a825f0804e09c671c, type: 3} 336 | m_Name: 337 | m_EditorClassIdentifier: 338 | m_FirstSelected: {fileID: 0} 339 | m_sendNavigationEvents: 1 340 | m_DragThreshold: 5 341 | --- !u!4 &979789847 342 | Transform: 343 | m_ObjectHideFlags: 0 344 | m_PrefabParentObject: {fileID: 0} 345 | m_PrefabInternal: {fileID: 0} 346 | m_GameObject: {fileID: 979789844} 347 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 348 | m_LocalPosition: {x: 0, y: 0, z: 0} 349 | m_LocalScale: {x: 1, y: 1, z: 1} 350 | m_Children: [] 351 | m_Father: {fileID: 0} 352 | m_RootOrder: 3 353 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 354 | --- !u!1 &1365625850 355 | GameObject: 356 | m_ObjectHideFlags: 0 357 | m_PrefabParentObject: {fileID: 0} 358 | m_PrefabInternal: {fileID: 0} 359 | serializedVersion: 5 360 | m_Component: 361 | - component: {fileID: 1365625851} 362 | - component: {fileID: 1365625853} 363 | - component: {fileID: 1365625852} 364 | m_Layer: 5 365 | m_Name: Image 366 | m_TagString: Untagged 367 | m_Icon: {fileID: 0} 368 | m_NavMeshLayer: 0 369 | m_StaticEditorFlags: 0 370 | m_IsActive: 1 371 | --- !u!224 &1365625851 372 | RectTransform: 373 | m_ObjectHideFlags: 0 374 | m_PrefabParentObject: {fileID: 0} 375 | m_PrefabInternal: {fileID: 0} 376 | m_GameObject: {fileID: 1365625850} 377 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 378 | m_LocalPosition: {x: 0, y: 0, z: 0} 379 | m_LocalScale: {x: 1, y: 1, z: 1} 380 | m_Children: 381 | - {fileID: 1553068209} 382 | m_Father: {fileID: 1794404491} 383 | m_RootOrder: 0 384 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 385 | m_AnchorMin: {x: 0, y: 0} 386 | m_AnchorMax: {x: 1, y: 1} 387 | m_AnchoredPosition: {x: 0, y: 0} 388 | m_SizeDelta: {x: 0, y: 0} 389 | m_Pivot: {x: 0.5, y: 0.5} 390 | --- !u!114 &1365625852 391 | MonoBehaviour: 392 | m_ObjectHideFlags: 0 393 | m_PrefabParentObject: {fileID: 0} 394 | m_PrefabInternal: {fileID: 0} 395 | m_GameObject: {fileID: 1365625850} 396 | m_Enabled: 1 397 | m_EditorHideFlags: 0 398 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 399 | m_Name: 400 | m_EditorClassIdentifier: 401 | m_Material: {fileID: 0} 402 | m_Color: {r: 1, g: 1, b: 1, a: 1} 403 | m_RaycastTarget: 1 404 | m_OnCullStateChanged: 405 | m_PersistentCalls: 406 | m_Calls: [] 407 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 408 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 409 | m_Sprite: {fileID: 0} 410 | m_Type: 0 411 | m_PreserveAspect: 0 412 | m_FillCenter: 1 413 | m_FillMethod: 4 414 | m_FillAmount: 1 415 | m_FillClockwise: 1 416 | m_FillOrigin: 0 417 | --- !u!222 &1365625853 418 | CanvasRenderer: 419 | m_ObjectHideFlags: 0 420 | m_PrefabParentObject: {fileID: 0} 421 | m_PrefabInternal: {fileID: 0} 422 | m_GameObject: {fileID: 1365625850} 423 | --- !u!1 &1553068208 424 | GameObject: 425 | m_ObjectHideFlags: 0 426 | m_PrefabParentObject: {fileID: 0} 427 | m_PrefabInternal: {fileID: 0} 428 | serializedVersion: 5 429 | m_Component: 430 | - component: {fileID: 1553068209} 431 | - component: {fileID: 1553068212} 432 | - component: {fileID: 1553068211} 433 | - component: {fileID: 1553068210} 434 | m_Layer: 5 435 | m_Name: Button 436 | m_TagString: Untagged 437 | m_Icon: {fileID: 0} 438 | m_NavMeshLayer: 0 439 | m_StaticEditorFlags: 0 440 | m_IsActive: 1 441 | --- !u!224 &1553068209 442 | RectTransform: 443 | m_ObjectHideFlags: 0 444 | m_PrefabParentObject: {fileID: 0} 445 | m_PrefabInternal: {fileID: 0} 446 | m_GameObject: {fileID: 1553068208} 447 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 448 | m_LocalPosition: {x: 0, y: 0, z: 0} 449 | m_LocalScale: {x: 1, y: 1, z: 1} 450 | m_Children: 451 | - {fileID: 622392804} 452 | m_Father: {fileID: 1365625851} 453 | m_RootOrder: 0 454 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 455 | m_AnchorMin: {x: 0.5, y: 0.5} 456 | m_AnchorMax: {x: 0.5, y: 0.5} 457 | m_AnchoredPosition: {x: 0, y: 0} 458 | m_SizeDelta: {x: 160, y: 30} 459 | m_Pivot: {x: 0.5, y: 0.5} 460 | --- !u!114 &1553068210 461 | MonoBehaviour: 462 | m_ObjectHideFlags: 0 463 | m_PrefabParentObject: {fileID: 0} 464 | m_PrefabInternal: {fileID: 0} 465 | m_GameObject: {fileID: 1553068208} 466 | m_Enabled: 1 467 | m_EditorHideFlags: 0 468 | m_Script: {fileID: 1392445389, guid: f70555f144d8491a825f0804e09c671c, type: 3} 469 | m_Name: 470 | m_EditorClassIdentifier: 471 | m_Navigation: 472 | m_Mode: 3 473 | m_SelectOnUp: {fileID: 0} 474 | m_SelectOnDown: {fileID: 0} 475 | m_SelectOnLeft: {fileID: 0} 476 | m_SelectOnRight: {fileID: 0} 477 | m_Transition: 1 478 | m_Colors: 479 | m_NormalColor: {r: 1, g: 1, b: 1, a: 1} 480 | m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 481 | m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} 482 | m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} 483 | m_ColorMultiplier: 1 484 | m_FadeDuration: 0.1 485 | m_SpriteState: 486 | m_HighlightedSprite: {fileID: 0} 487 | m_PressedSprite: {fileID: 0} 488 | m_DisabledSprite: {fileID: 0} 489 | m_AnimationTriggers: 490 | m_NormalTrigger: Normal 491 | m_HighlightedTrigger: Highlighted 492 | m_PressedTrigger: Pressed 493 | m_DisabledTrigger: Disabled 494 | m_Interactable: 1 495 | m_TargetGraphic: {fileID: 1553068211} 496 | m_OnClick: 497 | m_PersistentCalls: 498 | m_Calls: 499 | - m_Target: {fileID: 1794404487} 500 | m_MethodName: OnClickOpenPictureFileButtton 501 | m_Mode: 1 502 | m_Arguments: 503 | m_ObjectArgument: {fileID: 0} 504 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 505 | m_IntArgument: 0 506 | m_FloatArgument: 0 507 | m_StringArgument: 508 | m_BoolArgument: 0 509 | m_CallState: 2 510 | m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0, 511 | Culture=neutral, PublicKeyToken=null 512 | --- !u!114 &1553068211 513 | MonoBehaviour: 514 | m_ObjectHideFlags: 0 515 | m_PrefabParentObject: {fileID: 0} 516 | m_PrefabInternal: {fileID: 0} 517 | m_GameObject: {fileID: 1553068208} 518 | m_Enabled: 1 519 | m_EditorHideFlags: 0 520 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 521 | m_Name: 522 | m_EditorClassIdentifier: 523 | m_Material: {fileID: 0} 524 | m_Color: {r: 1, g: 1, b: 1, a: 1} 525 | m_RaycastTarget: 1 526 | m_OnCullStateChanged: 527 | m_PersistentCalls: 528 | m_Calls: [] 529 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 530 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 531 | m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} 532 | m_Type: 1 533 | m_PreserveAspect: 0 534 | m_FillCenter: 1 535 | m_FillMethod: 4 536 | m_FillAmount: 1 537 | m_FillClockwise: 1 538 | m_FillOrigin: 0 539 | --- !u!222 &1553068212 540 | CanvasRenderer: 541 | m_ObjectHideFlags: 0 542 | m_PrefabParentObject: {fileID: 0} 543 | m_PrefabInternal: {fileID: 0} 544 | m_GameObject: {fileID: 1553068208} 545 | --- !u!1 &1794404486 546 | GameObject: 547 | m_ObjectHideFlags: 0 548 | m_PrefabParentObject: {fileID: 0} 549 | m_PrefabInternal: {fileID: 0} 550 | serializedVersion: 5 551 | m_Component: 552 | - component: {fileID: 1794404491} 553 | - component: {fileID: 1794404490} 554 | - component: {fileID: 1794404489} 555 | - component: {fileID: 1794404488} 556 | - component: {fileID: 1794404487} 557 | m_Layer: 5 558 | m_Name: Canvas 559 | m_TagString: Untagged 560 | m_Icon: {fileID: 0} 561 | m_NavMeshLayer: 0 562 | m_StaticEditorFlags: 0 563 | m_IsActive: 1 564 | --- !u!114 &1794404487 565 | MonoBehaviour: 566 | m_ObjectHideFlags: 0 567 | m_PrefabParentObject: {fileID: 0} 568 | m_PrefabInternal: {fileID: 0} 569 | m_GameObject: {fileID: 1794404486} 570 | m_Enabled: 1 571 | m_EditorHideFlags: 0 572 | m_Script: {fileID: 11500000, guid: 81a0c7b7264f58944a82d41803514ff5, type: 3} 573 | m_Name: 574 | m_EditorClassIdentifier: 575 | img: {fileID: 1365625852} 576 | --- !u!114 &1794404488 577 | MonoBehaviour: 578 | m_ObjectHideFlags: 0 579 | m_PrefabParentObject: {fileID: 0} 580 | m_PrefabInternal: {fileID: 0} 581 | m_GameObject: {fileID: 1794404486} 582 | m_Enabled: 1 583 | m_EditorHideFlags: 0 584 | m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3} 585 | m_Name: 586 | m_EditorClassIdentifier: 587 | m_IgnoreReversedGraphics: 1 588 | m_BlockingObjects: 0 589 | m_BlockingMask: 590 | serializedVersion: 2 591 | m_Bits: 4294967295 592 | --- !u!114 &1794404489 593 | MonoBehaviour: 594 | m_ObjectHideFlags: 0 595 | m_PrefabParentObject: {fileID: 0} 596 | m_PrefabInternal: {fileID: 0} 597 | m_GameObject: {fileID: 1794404486} 598 | m_Enabled: 1 599 | m_EditorHideFlags: 0 600 | m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3} 601 | m_Name: 602 | m_EditorClassIdentifier: 603 | m_UiScaleMode: 0 604 | m_ReferencePixelsPerUnit: 100 605 | m_ScaleFactor: 1 606 | m_ReferenceResolution: {x: 800, y: 600} 607 | m_ScreenMatchMode: 0 608 | m_MatchWidthOrHeight: 0 609 | m_PhysicalUnit: 3 610 | m_FallbackScreenDPI: 96 611 | m_DefaultSpriteDPI: 96 612 | m_DynamicPixelsPerUnit: 1 613 | --- !u!223 &1794404490 614 | Canvas: 615 | m_ObjectHideFlags: 0 616 | m_PrefabParentObject: {fileID: 0} 617 | m_PrefabInternal: {fileID: 0} 618 | m_GameObject: {fileID: 1794404486} 619 | m_Enabled: 1 620 | serializedVersion: 3 621 | m_RenderMode: 0 622 | m_Camera: {fileID: 0} 623 | m_PlaneDistance: 100 624 | m_PixelPerfect: 0 625 | m_ReceivesEvents: 1 626 | m_OverrideSorting: 0 627 | m_OverridePixelPerfect: 0 628 | m_SortingBucketNormalizedSize: 0 629 | m_AdditionalShaderChannelsFlag: 0 630 | m_SortingLayerID: 0 631 | m_SortingOrder: 0 632 | m_TargetDisplay: 0 633 | --- !u!224 &1794404491 634 | RectTransform: 635 | m_ObjectHideFlags: 0 636 | m_PrefabParentObject: {fileID: 0} 637 | m_PrefabInternal: {fileID: 0} 638 | m_GameObject: {fileID: 1794404486} 639 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 640 | m_LocalPosition: {x: 0, y: 0, z: 0} 641 | m_LocalScale: {x: 0, y: 0, z: 0} 642 | m_Children: 643 | - {fileID: 1365625851} 644 | m_Father: {fileID: 0} 645 | m_RootOrder: 2 646 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 647 | m_AnchorMin: {x: 0, y: 0} 648 | m_AnchorMax: {x: 0, y: 0} 649 | m_AnchoredPosition: {x: 0, y: 0} 650 | m_SizeDelta: {x: 0, y: 0} 651 | m_Pivot: {x: 0, y: 0} 652 | --- !u!1 &1998146844 653 | GameObject: 654 | m_ObjectHideFlags: 0 655 | m_PrefabParentObject: {fileID: 0} 656 | m_PrefabInternal: {fileID: 0} 657 | serializedVersion: 5 658 | m_Component: 659 | - component: {fileID: 1998146845} 660 | m_Layer: 0 661 | m_Name: GameObject 662 | m_TagString: Untagged 663 | m_Icon: {fileID: 0} 664 | m_NavMeshLayer: 0 665 | m_StaticEditorFlags: 0 666 | m_IsActive: 1 667 | --- !u!4 &1998146845 668 | Transform: 669 | m_ObjectHideFlags: 0 670 | m_PrefabParentObject: {fileID: 0} 671 | m_PrefabInternal: {fileID: 0} 672 | m_GameObject: {fileID: 1998146844} 673 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 674 | m_LocalPosition: {x: 0, y: 0, z: 0} 675 | m_LocalScale: {x: 1, y: 1, z: 1} 676 | m_Children: [] 677 | m_Father: {fileID: 2143102636} 678 | m_RootOrder: 0 679 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 680 | --- !u!1 &2143102633 681 | GameObject: 682 | m_ObjectHideFlags: 0 683 | m_PrefabParentObject: {fileID: 0} 684 | m_PrefabInternal: {fileID: 0} 685 | serializedVersion: 5 686 | m_Component: 687 | - component: {fileID: 2143102636} 688 | - component: {fileID: 2143102635} 689 | m_Layer: 0 690 | m_Name: Directional Light 691 | m_TagString: Untagged 692 | m_Icon: {fileID: 0} 693 | m_NavMeshLayer: 0 694 | m_StaticEditorFlags: 0 695 | m_IsActive: 1 696 | --- !u!108 &2143102635 697 | Light: 698 | m_ObjectHideFlags: 0 699 | m_PrefabParentObject: {fileID: 0} 700 | m_PrefabInternal: {fileID: 0} 701 | m_GameObject: {fileID: 2143102633} 702 | m_Enabled: 1 703 | serializedVersion: 8 704 | m_Type: 1 705 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 706 | m_Intensity: 1 707 | m_Range: 10 708 | m_SpotAngle: 30 709 | m_CookieSize: 10 710 | m_Shadows: 711 | m_Type: 2 712 | m_Resolution: -1 713 | m_CustomResolution: -1 714 | m_Strength: 1 715 | m_Bias: 0.05 716 | m_NormalBias: 0.4 717 | m_NearPlane: 0.2 718 | m_Cookie: {fileID: 0} 719 | m_DrawHalo: 0 720 | m_Flare: {fileID: 0} 721 | m_RenderMode: 0 722 | m_CullingMask: 723 | serializedVersion: 2 724 | m_Bits: 4294967295 725 | m_Lightmapping: 4 726 | m_AreaSize: {x: 1, y: 1} 727 | m_BounceIntensity: 1 728 | m_ColorTemperature: 6570 729 | m_UseColorTemperature: 0 730 | m_ShadowRadius: 0 731 | m_ShadowAngle: 0 732 | --- !u!4 &2143102636 733 | Transform: 734 | m_ObjectHideFlags: 0 735 | m_PrefabParentObject: {fileID: 0} 736 | m_PrefabInternal: {fileID: 0} 737 | m_GameObject: {fileID: 2143102633} 738 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} 739 | m_LocalPosition: {x: 0, y: 3, z: 0} 740 | m_LocalScale: {x: 1, y: 1, z: 1} 741 | m_Children: 742 | - {fileID: 1998146845} 743 | m_Father: {fileID: 0} 744 | m_RootOrder: 1 745 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} 746 | --------------------------------------------------------------------------------