├── .gitattributes ├── .gitignore ├── Assets ├── CustomizableToolbar.meta └── CustomizableToolbar │ ├── Editor.meta │ └── Editor │ ├── CustomizableToolbar.cs │ ├── CustomizableToolbar.cs.meta │ ├── CustomizableToolbarSettings.cs │ ├── CustomizableToolbarSettings.cs.meta │ ├── CustomizableToolbarSettingsDataDrawer.cs │ ├── CustomizableToolbarSettingsDataDrawer.cs.meta │ ├── CustomizableToolbarSettingsInspector.cs │ ├── CustomizableToolbarSettingsInspector.cs.meta │ ├── Settings.asset │ └── Settings.asset.meta ├── CustomizableToolbar.unitypackage ├── LICENSE ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset └── UnityConnectSettings.asset ├── README.md ├── README_JP.md └── UnityPackageManager └── manifest.json /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /.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 -------------------------------------------------------------------------------- /Assets/CustomizableToolbar.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 246dd30ec49508f479ceab2f2bdc5c89 3 | folderAsset: yes 4 | timeCreated: 1520993813 5 | licenseType: Free 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/CustomizableToolbar/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 437fec24f5e4c3a46b719976a05a5fdb 3 | folderAsset: yes 4 | timeCreated: 1520990517 5 | licenseType: Free 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/CustomizableToolbar/Editor/CustomizableToolbar.cs: -------------------------------------------------------------------------------- 1 | using System.IO; 2 | using System.Linq; 3 | using UnityEditor; 4 | using UnityEngine; 5 | 6 | namespace KoganeEditorLib 7 | { 8 | public sealed class CustomizableToolbar : EditorWindow, IHasCustomMenu 9 | { 10 | private const string TITLE = "Toolbar"; 11 | private const float WINDOW_HEIGHT = 24; 12 | private const float BUTTON_HEIGHT = 20; 13 | 14 | private CustomizableToolbarSettings m_settings; 15 | 16 | [MenuItem( "Window/Customizable Toolbar" )] 17 | private static void Init() 18 | { 19 | var win = GetWindow( TITLE ); 20 | 21 | var pos = win.position; 22 | pos.height = WINDOW_HEIGHT; 23 | win.position = pos; 24 | 25 | var minSize = win.minSize; 26 | minSize.y = WINDOW_HEIGHT; 27 | win.minSize = minSize; 28 | 29 | var maxSize = win.maxSize; 30 | maxSize.y = WINDOW_HEIGHT; 31 | win.maxSize = maxSize; 32 | } 33 | 34 | private void OnGUI() 35 | { 36 | EditorGUILayout.BeginHorizontal(); 37 | 38 | var list = m_settings.List.Where( c => c.IsValid ); 39 | 40 | foreach ( var n in list ) 41 | { 42 | var commandName = n.CommandName; 43 | var buttonName = n.ButtonName; 44 | var image = n.Image; 45 | var width = n.Width; 46 | var content = image != null ? new GUIContent( image ) : new GUIContent( buttonName ); 47 | var options = 0 < width 48 | ? new [] { GUILayout.Width( width ), GUILayout.Height( BUTTON_HEIGHT ) } 49 | : new [] { GUILayout.Width( EditorStyles.label.CalcSize( new GUIContent( buttonName ) ).x + 14 ), GUILayout.Height( BUTTON_HEIGHT ) } 50 | ; 51 | if ( GUILayout.Button( content, options ) ) 52 | { 53 | EditorApplication.ExecuteMenuItem( commandName ); 54 | } 55 | } 56 | 57 | EditorGUILayout.EndHorizontal(); 58 | } 59 | 60 | private void OnEnable() 61 | { 62 | var mono = MonoScript.FromScriptableObject( this ); 63 | var scriptPath = AssetDatabase.GetAssetPath( mono ); 64 | var dir = Path.GetDirectoryName( scriptPath ); 65 | var path = string.Format( "{0}/Settings.asset", dir ); 66 | 67 | m_settings = AssetDatabase.LoadAssetAtPath( path ); 68 | } 69 | 70 | public void AddItemsToMenu( GenericMenu menu ) 71 | { 72 | menu.AddItem 73 | ( 74 | new GUIContent( "Settings" ), 75 | false, 76 | () => EditorGUIUtility.PingObject( m_settings ) 77 | ); 78 | } 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /Assets/CustomizableToolbar/Editor/CustomizableToolbar.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 684f9960a4d077a479ac70ed11eaea67 3 | timeCreated: 1520990524 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/CustomizableToolbar/Editor/CustomizableToolbarSettings.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace KoganeEditorLib 6 | { 7 | [Serializable] 8 | public sealed class CustomizableToolbarSettingsData 9 | { 10 | [SerializeField] private string m_commandName = null ; 11 | [SerializeField] private string m_buttonName = null ; 12 | [SerializeField] private Texture m_image = null ; 13 | [SerializeField] private int m_width = 0 ; 14 | 15 | public string CommandName { get { return m_commandName ; } } 16 | public string ButtonName { get { return m_buttonName ; } } 17 | public Texture Image { get { return m_image ; } } 18 | public int Width { get { return m_width ; } } 19 | 20 | public bool IsValid { get { return !string.IsNullOrEmpty( m_commandName ); } } 21 | } 22 | 23 | public sealed class CustomizableToolbarSettings : ScriptableObject 24 | { 25 | [SerializeField] private CustomizableToolbarSettingsData[] m_list = null; 26 | 27 | public IList List { get { return m_list; } } 28 | } 29 | } -------------------------------------------------------------------------------- /Assets/CustomizableToolbar/Editor/CustomizableToolbarSettings.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 957cf821b97e0f5438c9f3a087349e1c 3 | timeCreated: 1520991259 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/CustomizableToolbar/Editor/CustomizableToolbarSettingsDataDrawer.cs: -------------------------------------------------------------------------------- 1 | using System.IO; 2 | using UnityEditor; 3 | using UnityEngine; 4 | 5 | namespace KoganeEditorLib 6 | { 7 | [CustomPropertyDrawer( typeof( CustomizableToolbarSettingsData ) )] 8 | public sealed class CustomizableToolbarSettingsDataDrawer : PropertyDrawer 9 | { 10 | public override void OnGUI( Rect position, SerializedProperty property, GUIContent label ) 11 | { 12 | using ( new EditorGUI.PropertyScope( position, label, property ) ) 13 | { 14 | position.height = EditorGUIUtility.singleLineHeight; 15 | 16 | var commandRect = new Rect( position ) 17 | { 18 | width = position.width - 18, 19 | }; 20 | var presetRect = new Rect( position ) 21 | { 22 | x = commandRect.xMax + 2, 23 | width = 16, 24 | }; 25 | var buttonRect = new Rect( position ) 26 | { 27 | y = commandRect.yMax + 2, 28 | }; 29 | var imageRect = new Rect( position ) 30 | { 31 | y = buttonRect.yMax + 2, 32 | }; 33 | var widthRect = new Rect( position ) 34 | { 35 | y = imageRect.yMax + 2, 36 | }; 37 | 38 | var commandProperty = property.FindPropertyRelative( "m_commandName" ); 39 | var buttonProperty = property.FindPropertyRelative( "m_buttonName" ); 40 | var imageProperty = property.FindPropertyRelative( "m_image" ); 41 | var widthProperty = property.FindPropertyRelative( "m_width" ); 42 | 43 | commandProperty.stringValue = EditorGUI.TextField( commandRect, commandProperty.displayName, commandProperty.stringValue ); 44 | buttonProperty.stringValue = EditorGUI.TextField( buttonRect, buttonProperty.displayName, buttonProperty.stringValue ); 45 | EditorGUI.ObjectField( imageRect, imageProperty ); 46 | widthProperty.intValue = EditorGUI.IntField( widthRect, widthProperty.displayName, widthProperty.intValue ); 47 | 48 | if ( GUI.Button( presetRect, GUIContent.none, "ShurikenDropdown" ) ) 49 | { 50 | var menu = new GenericMenu(); 51 | foreach ( var n in PRESETS ) 52 | { 53 | menu.AddItem( new GUIContent( n ), false, () => 54 | { 55 | property.serializedObject.Update(); 56 | commandProperty.stringValue = n; 57 | buttonProperty.stringValue = Path.GetFileNameWithoutExtension( n ); 58 | property.serializedObject.ApplyModifiedProperties(); 59 | } ); 60 | } 61 | menu.ShowAsContext(); 62 | } 63 | } 64 | } 65 | 66 | private static readonly string[] PRESETS = 67 | { 68 | "File/New Scene", 69 | "File/Open Scene", 70 | "File/Save Scenes", 71 | "File/Save Scenes as...", 72 | "File/New Project...", 73 | "File/Open Project...", 74 | "File/Save Project", 75 | "File/Build Settings...", 76 | "File/Build & Run", 77 | "File/Exit", 78 | 79 | "Edit/Undo", 80 | "Edit/Redo", 81 | "Edit/Cut", 82 | "Edit/Copy", 83 | "Edit/Paste", 84 | "Edit/Duplicate", 85 | "Edit/Delete", 86 | "Edit/Frame Selected", 87 | "Edit/Find", 88 | "Edit/Select All", 89 | "Edit/Preferences...", 90 | "Edit/Modules...", 91 | "Edit/Play", 92 | "Edit/Pause", 93 | "Edit/Step", 94 | "Edit/Sign in...", 95 | "Edit/Sign out", 96 | 97 | "Edit/Selection/Load Selection 1", 98 | "Edit/Selection/Load Selection 2", 99 | "Edit/Selection/Load Selection 3", 100 | "Edit/Selection/Load Selection 4", 101 | "Edit/Selection/Load Selection 5", 102 | "Edit/Selection/Load Selection 6", 103 | "Edit/Selection/Load Selection 7", 104 | "Edit/Selection/Load Selection 8", 105 | "Edit/Selection/Load Selection 9", 106 | "Edit/Selection/Load Selection 0", 107 | "Edit/Selection/Save Selection 1", 108 | "Edit/Selection/Save Selection 2", 109 | "Edit/Selection/Save Selection 3", 110 | "Edit/Selection/Save Selection 4", 111 | "Edit/Selection/Save Selection 5", 112 | "Edit/Selection/Save Selection 6", 113 | "Edit/Selection/Save Selection 7", 114 | "Edit/Selection/Save Selection 8", 115 | "Edit/Selection/Save Selection 9", 116 | "Edit/Selection/Save Selection 0", 117 | 118 | "Edit/Project Settings/Input", 119 | "Edit/Project Settings/Tags and Layers", 120 | "Edit/Project Settings/Audio", 121 | "Edit/Project Settings/Time", 122 | "Edit/Project Settings/Player", 123 | "Edit/Project Settings/Physics", 124 | "Edit/Project Settings/Physics 2D", 125 | "Edit/Project Settings/Quality", 126 | "Edit/Project Settings/Graphics", 127 | "Edit/Project Settings/Network", 128 | "Edit/Project Settings/Editor", 129 | "Edit/Project Settings/Script Execution Order", 130 | 131 | "Edit/Graphics Emulation/No Emulation", 132 | "Edit/Graphics Emulation/Saher Mode 4", 133 | "Edit/Graphics Emulation/Saher Mode 3", 134 | "Edit/Graphics Emulation/Saher Mode 2", 135 | "Edit/Graphics Emulation/Saher Hardware Tier 1", 136 | "Edit/Graphics Emulation/Saher Hardware Tier 2", 137 | "Edit/Graphics Emulation/Saher Hardware Tier 3", 138 | 139 | "Edit/Newtwork Emulation/None", 140 | "Edit/Newtwork Emulation/Broadband", 141 | "Edit/Newtwork Emulation/DSL", 142 | "Edit/Newtwork Emulation/ISDN", 143 | "Edit/Newtwork Emulation/Dial-Up", 144 | 145 | "Edit/Snap Settings...", 146 | 147 | "Assets/Create/Folder", 148 | "Assets/Create/C# Script", 149 | 150 | "Assets/Create/Shader/Standard Surface Shader", 151 | "Assets/Create/Shader/Unlit Shader", 152 | "Assets/Create/Shader/Image Effect Shader", 153 | "Assets/Create/Shader/Compute Shader", 154 | "Assets/Create/Shader/Shader Variant Collection", 155 | 156 | "Assets/Create/Testing/EditMode Test C# Script", 157 | "Assets/Create/Testing/PlayMode test C# Script", 158 | 159 | "Assets/Create/Playables/Playable Behaviour C# Script", 160 | "Assets/Create/Playables/Playable Asset C# Script", 161 | 162 | "Assets/Create/Assembly Definition", 163 | "Assets/Create/Scene", 164 | "Assets/Create/Prefab", 165 | "Assets/Create/Audio Mixer", 166 | "Assets/Create/Material", 167 | "Assets/Create/Lens Flare", 168 | "Assets/Create/Render Texture", 169 | "Assets/Create/Lightmap Parameters", 170 | "Assets/Create/Custom Render Texture", 171 | "Assets/Create/Sprite Atlas", 172 | 173 | "Assets/Create/Sprites/Square", 174 | "Assets/Create/Sprites/Triangle", 175 | "Assets/Create/Sprites/Diamond", 176 | "Assets/Create/Sprites/Hexagon", 177 | "Assets/Create/Sprites/Circle", 178 | "Assets/Create/Sprites/Polygon", 179 | 180 | "Assets/Create/Tile", 181 | "Assets/Create/Animator Controller", 182 | "Assets/Create/Animation", 183 | "Assets/Create/Animator Override Controller", 184 | "Assets/Create/Avatar Mask", 185 | "Assets/Create/Timeline", 186 | "Assets/Create/Physic Material", 187 | "Assets/Create/Physics Material 2D", 188 | "Assets/Create/GUI Skin", 189 | "Assets/Create/Custom Font", 190 | 191 | "Assets/Create/Legacy/Cubemap", 192 | "Assets/Create/Legacy/UnityScript (deprecated)", 193 | 194 | "Assets/Create/UIElements View", 195 | 196 | "Assets/Show in Explorer", 197 | "Assets/Open", 198 | "Assets/Delete", 199 | "Assets/Open Scene Additive", 200 | "Assets/Import New Asset...", 201 | "Assets/Import Package/Custom Package...", 202 | "Assets/Export Package...", 203 | "Assets/Find References In Scene", 204 | "Assets/Select Dependencies", 205 | "Assets/Refresh", 206 | "Assets/Reimport", 207 | "Assets/Reimport All", 208 | "Assets/Extract From Prefab", 209 | "Assets/Run API Updater...", 210 | "Assets/Open C# Project", 211 | 212 | "GameObject/Create Empty", 213 | "GameObject/Create Empty Child", 214 | 215 | "GameObject/3D Object/Cube", 216 | "GameObject/3D Object/Sphere", 217 | "GameObject/3D Object/Capsule", 218 | "GameObject/3D Object/Cylinder", 219 | "GameObject/3D Object/Plane", 220 | "GameObject/3D Object/Quad", 221 | "GameObject/3D Object/Ragdoll...", 222 | "GameObject/3D Object/Terrain", 223 | "GameObject/3D Object/Tree", 224 | "GameObject/3D Object/Wind Zone", 225 | "GameObject/3D Object/3D Text", 226 | 227 | "GameObject/2D Object/Sprite", 228 | "GameObject/2D Object/Tilemap", 229 | "GameObject/2D Object/Sprite Mask", 230 | 231 | "GameObject/Effects/Particle System", 232 | "GameObject/Effects/Trail", 233 | "GameObject/Effects/Line", 234 | 235 | "GameObject/Light/Directional Light", 236 | "GameObject/Light/Point Light", 237 | "GameObject/Light/Spotlight", 238 | "GameObject/Light/Area Light", 239 | "GameObject/Light/Reflection Probe", 240 | "GameObject/Light/Light Probe Group", 241 | 242 | "GameObject/Audio/Audio Source", 243 | "GameObject/Audio/Audio Reverb Zone", 244 | 245 | "GameObject/Video/Video Player", 246 | 247 | "GameObject/UI/Text", 248 | "GameObject/UI/Image", 249 | "GameObject/UI/Raw Image", 250 | "GameObject/UI/Button", 251 | "GameObject/UI/Toggle", 252 | "GameObject/UI/Slider", 253 | "GameObject/UI/Scrollbar", 254 | "GameObject/UI/Dropdown", 255 | "GameObject/UI/Input Field", 256 | "GameObject/UI/Canvas", 257 | "GameObject/UI/Panel", 258 | "GameObject/UI/Scroll View", 259 | "GameObject/UI/Event System", 260 | 261 | "GameObject/Camera", 262 | "GameObject/Center On Children", 263 | "GameObject/Make Parent", 264 | "GameObject/Clear Parent", 265 | "GameObject/Apply Changes To Prefab", 266 | "GameObject/Break Prefab Instance", 267 | "GameObject/Set as first sibling", 268 | "GameObject/Set as last sibling", 269 | "GameObject/Move To View", 270 | "GameObject/Align With View", 271 | "GameObject/Align View to Selected", 272 | "GameObject/Toggle Active State", 273 | 274 | "Component/Add", 275 | 276 | "Component/Mesh/Mesh Filter", 277 | "Component/Mesh/Text Mesh", 278 | "Component/Mesh/Mesh Renderer", 279 | "Component/Mesh/Skinned Mesh Renderer", 280 | 281 | "Component/Effects/Particle System", 282 | "Component/Effects/Trail Renderer", 283 | "Component/Effects/Line Renderer", 284 | "Component/Effects/Lens Flare", 285 | "Component/Effects/Halo", 286 | "Component/Effects/Projector", 287 | 288 | "Component/Effects/Legacy Particles/Ellipsoid Particle Emitter", 289 | "Component/Effects/Legacy Particles/Mesh Particle Emitter", 290 | "Component/Effects/Legacy Particles/Particle Animator", 291 | "Component/Effects/Legacy Particles/World Particle Collider", 292 | "Component/Effects/Legacy Particles/Particle Renderer", 293 | 294 | "Component/Physics/Rigidbody", 295 | "Component/Physics/Character Controller", 296 | "Component/Physics/Box Collider", 297 | "Component/Physics/Sphere Collider", 298 | "Component/Physics/Capsule Collider", 299 | "Component/Physics/Mesh Collider", 300 | "Component/Physics/Wheel Collider", 301 | "Component/Physics/Terrain Collider", 302 | "Component/Physics/Cloth", 303 | "Component/Physics/Hinge Joint", 304 | "Component/Physics/Fixed Joint", 305 | "Component/Physics/Spring Joint", 306 | "Component/Physics/Character Joint", 307 | "Component/Physics/Configurable Joint", 308 | "Component/Physics/Constant Force", 309 | 310 | "Component/Physics 2D/Rigidbody 2D", 311 | "Component/Physics 2D/Box Collider 2D", 312 | "Component/Physics 2D/Circle Collider 2D", 313 | "Component/Physics 2D/Edge Collider 2D", 314 | "Component/Physics 2D/Polygon Collider 2D", 315 | "Component/Physics 2D/Capsule Collider 2D", 316 | "Component/Physics 2D/Composite Collider 2D", 317 | "Component/Physics 2D/Distance Joint 2D", 318 | "Component/Physics 2D/Fixed Joint 2D", 319 | "Component/Physics 2D/Friction Joint 2D", 320 | "Component/Physics 2D/Hinge Joint 2D", 321 | "Component/Physics 2D/Relative Joint 2D", 322 | "Component/Physics 2D/Slider Joint 2D", 323 | "Component/Physics 2D/Spring Joint 2D", 324 | "Component/Physics 2D/Target Joint 2D", 325 | "Component/Physics 2D/Wheel Joint 2D", 326 | "Component/Physics 2D/Area Effector 2D", 327 | "Component/Physics 2D/Buoyancy Effector 2D", 328 | "Component/Physics 2D/Point Effector 2D", 329 | "Component/Physics 2D/Platform Effector 2D", 330 | "Component/Physics 2D/Surface Effector 2D", 331 | "Component/Physics 2D/Constant Force 2D", 332 | 333 | "Component/Navigation/Nav Mesh Agent", 334 | "Component/Navigation/Off Mesh Link", 335 | "Component/Navigation/Nav Mesh Obstacle", 336 | 337 | "Component/Audio/Audio Listener", 338 | "Component/Audio/Audio Source", 339 | "Component/Audio/Audio Reverb Zone", 340 | "Component/Audio/Audio Low Pass Filter", 341 | "Component/Audio/Audio High Pass Filter", 342 | "Component/Audio/Audio Echo Filter", 343 | "Component/Audio/Audio Distorition Filter", 344 | "Component/Audio/Audio Reverb Filter", 345 | "Component/Audio/Audio Chorus Filter", 346 | 347 | "Component/Audio/Audio Spatializer/Audio Spatializer Microsoft", 348 | 349 | "Component/Video/Video Player", 350 | 351 | "Component/Rendering/Camera", 352 | "Component/Rendering/Skybox", 353 | "Component/Rendering/Flare Layer", 354 | "Component/Rendering/GUI Layer", 355 | "Component/Rendering/Light", 356 | "Component/Rendering/Light Probe Group", 357 | "Component/Rendering/Light Probe Proxy Volume", 358 | "Component/Rendering/Reflection Probe", 359 | "Component/Rendering/Occlusion Area", 360 | "Component/Rendering/Occlusion Prtal", 361 | "Component/Rendering/LOD Group", 362 | "Component/Rendering/Sprite Renderer", 363 | "Component/Rendering/Sorting Group", 364 | "Component/Rendering/Canvas Renderer", 365 | "Component/Rendering/GUI Texture", 366 | "Component/Rendering/GUI Text", 367 | 368 | "Component/Tilemap/Tilemap", 369 | "Component/Tilemap/Tilemap Renderer", 370 | "Component/Tilemap/Tilemap Collider 2D", 371 | 372 | "Component/Layout/Rect Transform", 373 | "Component/Layout/Canvas", 374 | "Component/Layout/Canvas Group", 375 | "Component/Layout/Canvas Scaler", 376 | "Component/Layout/Layout element", 377 | "Component/Layout/Content Size Fitter", 378 | "Component/Layout/Aspect Ratio Fitter", 379 | "Component/Layout/Horizontal Layout Group", 380 | "Component/Layout/Vertical Layout Group", 381 | "Component/Layout/Grid Layout Group", 382 | "Component/Layout/", 383 | "Component/Layout/", 384 | "Component/Layout/", 385 | "Component/Layout/", 386 | 387 | "Component/Playables/Playable Director", 388 | 389 | "Component/AR/World Anchor", 390 | 391 | "Component/Miscellaneous/Billboard Renderer", 392 | "Component/Miscellaneous/Network View", 393 | "Component/Miscellaneous/Terrain", 394 | "Component/Miscellaneous/Animator", 395 | "Component/Miscellaneous/Animation", 396 | "Component/Miscellaneous/Grid", 397 | "Component/Miscellaneous/Wind Zone", 398 | "Component/Miscellaneous/Sprite Mask", 399 | 400 | "Component/Analytics/Analytics Event Tracker", 401 | "Component/Analytics/AnalyticsTracker", 402 | 403 | "Component/Scripts/UnityEngine.EventSystems/Base Input", 404 | "Component/Scripts/UnityEngine.EventSystems/Holo Lens Input", 405 | 406 | "Component/Event/Event System", 407 | "Component/Event/Event Trigger", 408 | "Component/Event/HoloLens Input Module", 409 | "Component/Event/Physics 2D Raycaster", 410 | "Component/Event/Physics Raycaster", 411 | "Component/Event/Standalone Input Module", 412 | "Component/Event/Touch Input Module", 413 | "Component/Event/Graphic Raycaster", 414 | 415 | "Component/Network/NetworkAnimator", 416 | "Component/Network/NetworkDiscovery", 417 | "Component/Network/NetworkIdentity", 418 | "Component/Network/NetworkLobbyManager", 419 | "Component/Network/NetworkLobbyPlayer", 420 | "Component/Network/NetworkManager", 421 | "Component/Network/NetworkManagerHUD", 422 | "Component/Network/NetworkMigrationManager", 423 | "Component/Network/NetworkProximityChecker", 424 | "Component/Network/NetworkStartPosition", 425 | "Component/Network/NetworkTransform", 426 | "Component/Network/NetworkTransformChild", 427 | "Component/Network/NetworkTransformVisualizer", 428 | 429 | "Component/XR/Tracked Pose Driver", 430 | "Component/XR/Spatial Mapping Collider", 431 | "Component/XR/Spatial Mapping Renderer", 432 | 433 | "Component/UI/Effects/Shadow", 434 | "Component/UI/Effects/Outline", 435 | "Component/UI/Effects/Position As UV1", 436 | 437 | "Component/UI/Text", 438 | "Component/UI/Image", 439 | "Component/UI/Raw Image", 440 | "Component/UI/Mask", 441 | "Component/UI/Rect Mask 2D", 442 | "Component/UI/Button", 443 | "Component/UI/Input Field", 444 | "Component/UI/Toggle", 445 | "Component/UI/Toggle Group", 446 | "Component/UI/Slider", 447 | "Component/UI/Scrollbar", 448 | "Component/UI/Dropdown", 449 | "Component/UI/Scroll Rect", 450 | "Component/UI/Selectable", 451 | 452 | "Window/Next Window", 453 | "Window/Previous Window", 454 | 455 | "Window/Layouts/2 by 3", 456 | "Window/Layouts/4 Split", 457 | "Window/Layouts/Default", 458 | "Window/Layouts/Tall", 459 | "Window/Layouts/Wide", 460 | "Window/Layouts/Save Layout...", 461 | "Window/Layouts/Delete Layout...", 462 | "Window/Layouts/Revert Factory Settings...", 463 | 464 | "Window/Services", 465 | "Window/Scene", 466 | "Window/Game", 467 | "Window/Inspector", 468 | "Window/Hierarchy", 469 | "Window/Project", 470 | "Window/Animation", 471 | "Window/Profiler", 472 | "Window/Audio Mixer", 473 | "Window/Asset Store", 474 | "Window/Version Control", 475 | "Window/Collab History", 476 | "Window/Animator", 477 | "Window/Animator Parameter", 478 | "Window/Sprite Packer", 479 | "Window/Experimental/Look Dev", 480 | "Window/Holographic Emulation", 481 | "Window/Tile Pallet", 482 | "Window/Test Runner", 483 | "Window/Timeline", 484 | 485 | "Window/Lighting/Settings", 486 | "Window/Lighting/Light Explorer", 487 | 488 | "Window/Occlusion Culling", 489 | "Window/Frame Debugger", 490 | "Window/Navigation", 491 | "Window/Physics Debugger", 492 | "Window/Console", 493 | 494 | "Help/About Unity...", 495 | "Help/Manage License...", 496 | "Help/Unity Manual", 497 | "Help/Scripting Reference", 498 | "Help/Unity Services", 499 | "Help/Unity Forum", 500 | "Help/Unity Answers", 501 | "Help/Unity Feedback", 502 | "Help/Check for Updates", 503 | "Help/Download Beta...", 504 | "Help/Release Notes", 505 | "Help/Software Licenses", 506 | "Help/Report a Bug...", 507 | "Help/Troubleshoot Issue...", 508 | }; 509 | } 510 | } -------------------------------------------------------------------------------- /Assets/CustomizableToolbar/Editor/CustomizableToolbarSettingsDataDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b246069f10ed04d4ea2cb8abf9558046 3 | timeCreated: 1520992931 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/CustomizableToolbar/Editor/CustomizableToolbarSettingsInspector.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor; 2 | using UnityEditorInternal; 3 | using UnityEngine; 4 | 5 | namespace KoganeEditorLib 6 | { 7 | [CustomEditor( typeof( CustomizableToolbarSettings ) )] 8 | public class CustomizableToolbarSettingsInspector : Editor 9 | { 10 | private SerializedProperty m_property; 11 | private ReorderableList m_reorderableList; 12 | 13 | void OnEnable() 14 | { 15 | m_property = serializedObject.FindProperty( "m_list" ); 16 | m_reorderableList = new ReorderableList( serializedObject, m_property ) 17 | { 18 | elementHeight = 80, 19 | drawElementCallback = OnDrawElement 20 | }; 21 | } 22 | 23 | private void OnDrawElement( Rect rect, int index, bool isActive, bool isFocused ) 24 | { 25 | var element = m_property.GetArrayElementAtIndex( index ); 26 | rect.height -= 4; 27 | rect.y += 2; 28 | EditorGUI.PropertyField( rect, element ); 29 | } 30 | 31 | public override void OnInspectorGUI() 32 | { 33 | serializedObject.Update(); 34 | m_reorderableList.DoLayoutList(); 35 | serializedObject.ApplyModifiedProperties(); 36 | } 37 | } 38 | } -------------------------------------------------------------------------------- /Assets/CustomizableToolbar/Editor/CustomizableToolbarSettingsInspector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c9a6b3aea7244ec4dbbdd59daa719466 3 | timeCreated: 1520991429 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/CustomizableToolbar/Editor/Settings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 11500000, guid: 957cf821b97e0f5438c9f3a087349e1c, type: 3} 12 | m_Name: Settings 13 | m_EditorClassIdentifier: 14 | m_list: 15 | - m_commandName: GameObject/Create Empty 16 | m_buttonName: Create Empty 17 | m_image: {fileID: 0} 18 | m_width: 100 19 | -------------------------------------------------------------------------------- /Assets/CustomizableToolbar/Editor/Settings.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: adff2adbbe11da14b9f743053737eb59 3 | timeCreated: 1520991379 4 | licenseType: Free 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 11400000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /CustomizableToolbar.unitypackage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baba-s/unity-customizable-toolbar/32f9c626b4f6668d8c25e7aa4ef536cc25f58a72/CustomizableToolbar.unitypackage -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 baba_s 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. -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 0 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_AmbisonicDecoderPlugin: 16 | m_DisableAudio: 0 17 | m_VirtualizeEffects: 1 18 | -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 7 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 1 23 | m_ClothInterCollisionSettingsToggle: 0 24 | m_ContactPairsMode: 0 25 | m_BroadphaseType: 0 26 | m_WorldBounds: 27 | m_Center: {x: 0, y: 0, z: 0} 28 | m_Extent: {x: 250, y: 250, z: 250} 29 | m_WorldSubdivisions: 8 30 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 7 7 | m_ExternalVersionControlSupport: Hidden Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 2 10 | m_DefaultBehaviorMode: 0 11 | m_SpritePackerMode: 0 12 | m_SpritePackerPaddingPower: 1 13 | m_EtcTextureCompressorBehavior: 1 14 | m_EtcTextureFastCompressor: 1 15 | m_EtcTextureNormalCompressor: 2 16 | m_EtcTextureBestCompressor: 4 17 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;rsp 18 | m_ProjectGenerationRootNamespace: 19 | m_UserGeneratedProjectSuffix: 20 | m_CollabEditorSettings: 21 | inProgressEnabled: 1 22 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 12 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 38 | m_PreloadedShaders: [] 39 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 40 | type: 0} 41 | m_CustomRenderPipeline: {fileID: 0} 42 | m_TransparencySortMode: 0 43 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 44 | m_DefaultRenderingPath: 1 45 | m_DefaultMobileRenderingPath: 1 46 | m_TierSettings: [] 47 | m_LightmapStripping: 0 48 | m_FogStripping: 0 49 | m_InstancingStripping: 0 50 | m_LightmapKeepPlain: 1 51 | m_LightmapKeepDirCombined: 1 52 | m_LightmapKeepDynamicPlain: 1 53 | m_LightmapKeepDynamicDirCombined: 1 54 | m_LightmapKeepShadowMask: 1 55 | m_LightmapKeepSubtractive: 1 56 | m_FogKeepLinear: 1 57 | m_FogKeepExp: 1 58 | m_FogKeepExp2: 1 59 | m_AlbedoSwatchInfos: [] 60 | m_LightsUseLinearIntensity: 0 61 | m_LightsUseColorTemperature: 0 62 | -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!13 &1 4 | InputManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Axes: 8 | - serializedVersion: 3 9 | m_Name: Horizontal 10 | descriptiveName: 11 | descriptiveNegativeName: 12 | negativeButton: left 13 | positiveButton: right 14 | altNegativeButton: a 15 | altPositiveButton: d 16 | gravity: 3 17 | dead: 0.001 18 | sensitivity: 3 19 | snap: 1 20 | invert: 0 21 | type: 0 22 | axis: 0 23 | joyNum: 0 24 | - serializedVersion: 3 25 | m_Name: Vertical 26 | descriptiveName: 27 | descriptiveNegativeName: 28 | negativeButton: down 29 | positiveButton: up 30 | altNegativeButton: s 31 | altPositiveButton: w 32 | gravity: 3 33 | dead: 0.001 34 | sensitivity: 3 35 | snap: 1 36 | invert: 0 37 | type: 0 38 | axis: 0 39 | joyNum: 0 40 | - serializedVersion: 3 41 | m_Name: Fire1 42 | descriptiveName: 43 | descriptiveNegativeName: 44 | negativeButton: 45 | positiveButton: left ctrl 46 | altNegativeButton: 47 | altPositiveButton: mouse 0 48 | gravity: 1000 49 | dead: 0.001 50 | sensitivity: 1000 51 | snap: 0 52 | invert: 0 53 | type: 0 54 | axis: 0 55 | joyNum: 0 56 | - serializedVersion: 3 57 | m_Name: Fire2 58 | descriptiveName: 59 | descriptiveNegativeName: 60 | negativeButton: 61 | positiveButton: left alt 62 | altNegativeButton: 63 | altPositiveButton: mouse 1 64 | gravity: 1000 65 | dead: 0.001 66 | sensitivity: 1000 67 | snap: 0 68 | invert: 0 69 | type: 0 70 | axis: 0 71 | joyNum: 0 72 | - serializedVersion: 3 73 | m_Name: Fire3 74 | descriptiveName: 75 | descriptiveNegativeName: 76 | negativeButton: 77 | positiveButton: left shift 78 | altNegativeButton: 79 | altPositiveButton: mouse 2 80 | gravity: 1000 81 | dead: 0.001 82 | sensitivity: 1000 83 | snap: 0 84 | invert: 0 85 | type: 0 86 | axis: 0 87 | joyNum: 0 88 | - serializedVersion: 3 89 | m_Name: Jump 90 | descriptiveName: 91 | descriptiveNegativeName: 92 | negativeButton: 93 | positiveButton: space 94 | altNegativeButton: 95 | altPositiveButton: 96 | gravity: 1000 97 | dead: 0.001 98 | sensitivity: 1000 99 | snap: 0 100 | invert: 0 101 | type: 0 102 | axis: 0 103 | joyNum: 0 104 | - serializedVersion: 3 105 | m_Name: Mouse X 106 | descriptiveName: 107 | descriptiveNegativeName: 108 | negativeButton: 109 | positiveButton: 110 | altNegativeButton: 111 | altPositiveButton: 112 | gravity: 0 113 | dead: 0 114 | sensitivity: 0.1 115 | snap: 0 116 | invert: 0 117 | type: 1 118 | axis: 0 119 | joyNum: 0 120 | - serializedVersion: 3 121 | m_Name: Mouse Y 122 | descriptiveName: 123 | descriptiveNegativeName: 124 | negativeButton: 125 | positiveButton: 126 | altNegativeButton: 127 | altPositiveButton: 128 | gravity: 0 129 | dead: 0 130 | sensitivity: 0.1 131 | snap: 0 132 | invert: 0 133 | type: 1 134 | axis: 1 135 | joyNum: 0 136 | - serializedVersion: 3 137 | m_Name: Mouse ScrollWheel 138 | descriptiveName: 139 | descriptiveNegativeName: 140 | negativeButton: 141 | positiveButton: 142 | altNegativeButton: 143 | altPositiveButton: 144 | gravity: 0 145 | dead: 0 146 | sensitivity: 0.1 147 | snap: 0 148 | invert: 0 149 | type: 1 150 | axis: 2 151 | joyNum: 0 152 | - serializedVersion: 3 153 | m_Name: Horizontal 154 | descriptiveName: 155 | descriptiveNegativeName: 156 | negativeButton: 157 | positiveButton: 158 | altNegativeButton: 159 | altPositiveButton: 160 | gravity: 0 161 | dead: 0.19 162 | sensitivity: 1 163 | snap: 0 164 | invert: 0 165 | type: 2 166 | axis: 0 167 | joyNum: 0 168 | - serializedVersion: 3 169 | m_Name: Vertical 170 | descriptiveName: 171 | descriptiveNegativeName: 172 | negativeButton: 173 | positiveButton: 174 | altNegativeButton: 175 | altPositiveButton: 176 | gravity: 0 177 | dead: 0.19 178 | sensitivity: 1 179 | snap: 0 180 | invert: 1 181 | type: 2 182 | axis: 1 183 | joyNum: 0 184 | - serializedVersion: 3 185 | m_Name: Fire1 186 | descriptiveName: 187 | descriptiveNegativeName: 188 | negativeButton: 189 | positiveButton: joystick button 0 190 | altNegativeButton: 191 | altPositiveButton: 192 | gravity: 1000 193 | dead: 0.001 194 | sensitivity: 1000 195 | snap: 0 196 | invert: 0 197 | type: 0 198 | axis: 0 199 | joyNum: 0 200 | - serializedVersion: 3 201 | m_Name: Fire2 202 | descriptiveName: 203 | descriptiveNegativeName: 204 | negativeButton: 205 | positiveButton: joystick button 1 206 | altNegativeButton: 207 | altPositiveButton: 208 | gravity: 1000 209 | dead: 0.001 210 | sensitivity: 1000 211 | snap: 0 212 | invert: 0 213 | type: 0 214 | axis: 0 215 | joyNum: 0 216 | - serializedVersion: 3 217 | m_Name: Fire3 218 | descriptiveName: 219 | descriptiveNegativeName: 220 | negativeButton: 221 | positiveButton: joystick button 2 222 | altNegativeButton: 223 | altPositiveButton: 224 | gravity: 1000 225 | dead: 0.001 226 | sensitivity: 1000 227 | snap: 0 228 | invert: 0 229 | type: 0 230 | axis: 0 231 | joyNum: 0 232 | - serializedVersion: 3 233 | m_Name: Jump 234 | descriptiveName: 235 | descriptiveNegativeName: 236 | negativeButton: 237 | positiveButton: joystick button 3 238 | altNegativeButton: 239 | altPositiveButton: 240 | gravity: 1000 241 | dead: 0.001 242 | sensitivity: 1000 243 | snap: 0 244 | invert: 0 245 | type: 0 246 | axis: 0 247 | joyNum: 0 248 | - serializedVersion: 3 249 | m_Name: Submit 250 | descriptiveName: 251 | descriptiveNegativeName: 252 | negativeButton: 253 | positiveButton: return 254 | altNegativeButton: 255 | altPositiveButton: joystick button 0 256 | gravity: 1000 257 | dead: 0.001 258 | sensitivity: 1000 259 | snap: 0 260 | invert: 0 261 | type: 0 262 | axis: 0 263 | joyNum: 0 264 | - serializedVersion: 3 265 | m_Name: Submit 266 | descriptiveName: 267 | descriptiveNegativeName: 268 | negativeButton: 269 | positiveButton: enter 270 | altNegativeButton: 271 | altPositiveButton: space 272 | gravity: 1000 273 | dead: 0.001 274 | sensitivity: 1000 275 | snap: 0 276 | invert: 0 277 | type: 0 278 | axis: 0 279 | joyNum: 0 280 | - serializedVersion: 3 281 | m_Name: Cancel 282 | descriptiveName: 283 | descriptiveNegativeName: 284 | negativeButton: 285 | positiveButton: escape 286 | altNegativeButton: 287 | altPositiveButton: joystick button 1 288 | gravity: 1000 289 | dead: 0.001 290 | sensitivity: 1000 291 | snap: 0 292 | invert: 0 293 | type: 0 294 | axis: 0 295 | joyNum: 0 296 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 3 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_AutoSimulation: 1 23 | m_QueriesHitTriggers: 1 24 | m_QueriesStartInColliders: 1 25 | m_ChangeStopsCallbacks: 0 26 | m_CallbacksOnDisable: 1 27 | m_AutoSyncTransforms: 1 28 | m_AlwaysShowColliders: 0 29 | m_ShowColliderSleep: 1 30 | m_ShowColliderContacts: 0 31 | m_ShowColliderAABB: 0 32 | m_ContactArrowScale: 0.2 33 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 34 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 35 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 36 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 37 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 38 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 14 7 | productGUID: 103b7bc9b9e8c1e4c854183af8d98361 8 | AndroidProfiler: 0 9 | AndroidFilterTouchesWhenObscured: 0 10 | defaultScreenOrientation: 4 11 | targetDevice: 2 12 | useOnDemandResources: 0 13 | accelerometerFrequency: 60 14 | companyName: DefaultCompany 15 | productName: New Unity Project 16 | defaultCursor: {fileID: 0} 17 | cursorHotspot: {x: 0, y: 0} 18 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} 19 | m_ShowUnitySplashScreen: 1 20 | m_ShowUnitySplashLogo: 1 21 | m_SplashScreenOverlayOpacity: 1 22 | m_SplashScreenAnimation: 1 23 | m_SplashScreenLogoStyle: 1 24 | m_SplashScreenDrawMode: 0 25 | m_SplashScreenBackgroundAnimationZoom: 1 26 | m_SplashScreenLogoAnimationZoom: 1 27 | m_SplashScreenBackgroundLandscapeAspect: 1 28 | m_SplashScreenBackgroundPortraitAspect: 1 29 | m_SplashScreenBackgroundLandscapeUvs: 30 | serializedVersion: 2 31 | x: 0 32 | y: 0 33 | width: 1 34 | height: 1 35 | m_SplashScreenBackgroundPortraitUvs: 36 | serializedVersion: 2 37 | x: 0 38 | y: 0 39 | width: 1 40 | height: 1 41 | m_SplashScreenLogos: [] 42 | m_VirtualRealitySplashScreen: {fileID: 0} 43 | m_HolographicTrackingLossScreen: {fileID: 0} 44 | defaultScreenWidth: 1024 45 | defaultScreenHeight: 768 46 | defaultScreenWidthWeb: 960 47 | defaultScreenHeightWeb: 600 48 | m_StereoRenderingPath: 0 49 | m_ActiveColorSpace: 0 50 | m_MTRendering: 1 51 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 52 | iosShowActivityIndicatorOnLoading: -1 53 | androidShowActivityIndicatorOnLoading: -1 54 | tizenShowActivityIndicatorOnLoading: -1 55 | iosAppInBackgroundBehavior: 0 56 | displayResolutionDialog: 1 57 | iosAllowHTTPDownload: 1 58 | allowedAutorotateToPortrait: 1 59 | allowedAutorotateToPortraitUpsideDown: 1 60 | allowedAutorotateToLandscapeRight: 1 61 | allowedAutorotateToLandscapeLeft: 1 62 | useOSAutorotation: 1 63 | use32BitDisplayBuffer: 1 64 | preserveFramebufferAlpha: 0 65 | disableDepthAndStencilBuffers: 0 66 | androidBlitType: 0 67 | defaultIsFullScreen: 1 68 | defaultIsNativeResolution: 1 69 | macRetinaSupport: 1 70 | runInBackground: 0 71 | captureSingleScreen: 0 72 | muteOtherAudioSources: 0 73 | Prepare IOS For Recording: 0 74 | Force IOS Speakers When Recording: 0 75 | deferSystemGesturesMode: 0 76 | hideHomeButton: 0 77 | submitAnalytics: 1 78 | usePlayerLog: 1 79 | bakeCollisionMeshes: 0 80 | forceSingleInstance: 0 81 | resizableWindow: 0 82 | useMacAppStoreValidation: 0 83 | macAppStoreCategory: public.app-category.games 84 | gpuSkinning: 0 85 | graphicsJobs: 0 86 | xboxPIXTextureCapture: 0 87 | xboxEnableAvatar: 0 88 | xboxEnableKinect: 0 89 | xboxEnableKinectAutoTracking: 0 90 | xboxEnableFitness: 0 91 | visibleInBackground: 1 92 | allowFullscreenSwitch: 1 93 | graphicsJobMode: 0 94 | macFullscreenMode: 2 95 | d3d11FullscreenMode: 1 96 | xboxSpeechDB: 0 97 | xboxEnableHeadOrientation: 0 98 | xboxEnableGuest: 0 99 | xboxEnablePIXSampling: 0 100 | metalFramebufferOnly: 0 101 | n3dsDisableStereoscopicView: 0 102 | n3dsEnableSharedListOpt: 1 103 | n3dsEnableVSync: 0 104 | xboxOneResolution: 0 105 | xboxOneSResolution: 0 106 | xboxOneXResolution: 3 107 | xboxOneMonoLoggingLevel: 0 108 | xboxOneLoggingLevel: 1 109 | xboxOneDisableEsram: 0 110 | xboxOnePresentImmediateThreshold: 0 111 | videoMemoryForVertexBuffers: 0 112 | psp2PowerMode: 0 113 | psp2AcquireBGM: 1 114 | wiiUTVResolution: 0 115 | wiiUGamePadMSAA: 1 116 | wiiUSupportsNunchuk: 0 117 | wiiUSupportsClassicController: 0 118 | wiiUSupportsBalanceBoard: 0 119 | wiiUSupportsMotionPlus: 0 120 | wiiUSupportsProController: 0 121 | wiiUAllowScreenCapture: 1 122 | wiiUControllerCount: 0 123 | m_SupportedAspectRatios: 124 | 4:3: 1 125 | 5:4: 1 126 | 16:10: 1 127 | 16:9: 1 128 | Others: 1 129 | bundleVersion: 1.0 130 | preloadedAssets: [] 131 | metroInputSource: 0 132 | wsaTransparentSwapchain: 0 133 | m_HolographicPauseOnTrackingLoss: 1 134 | xboxOneDisableKinectGpuReservation: 0 135 | xboxOneEnable7thCore: 0 136 | vrSettings: 137 | cardboard: 138 | depthFormat: 0 139 | enableTransitionView: 0 140 | daydream: 141 | depthFormat: 0 142 | useSustainedPerformanceMode: 0 143 | enableVideoLayer: 0 144 | useProtectedVideoMemory: 0 145 | minimumSupportedHeadTracking: 0 146 | maximumSupportedHeadTracking: 1 147 | hololens: 148 | depthFormat: 1 149 | depthBufferSharingEnabled: 0 150 | oculus: 151 | sharedDepthBuffer: 0 152 | dashSupport: 0 153 | protectGraphicsMemory: 0 154 | useHDRDisplay: 0 155 | m_ColorGamuts: 00000000 156 | targetPixelDensity: 30 157 | resolutionScalingMode: 0 158 | androidSupportedAspectRatio: 1 159 | androidMaxAspectRatio: 2.1 160 | applicationIdentifier: {} 161 | buildNumber: {} 162 | AndroidBundleVersionCode: 1 163 | AndroidMinSdkVersion: 16 164 | AndroidTargetSdkVersion: 0 165 | AndroidPreferredInstallLocation: 1 166 | aotOptions: 167 | stripEngineCode: 1 168 | iPhoneStrippingLevel: 0 169 | iPhoneScriptCallOptimization: 0 170 | ForceInternetPermission: 0 171 | ForceSDCardPermission: 0 172 | CreateWallpaper: 0 173 | APKExpansionFiles: 0 174 | keepLoadedShadersAlive: 0 175 | StripUnusedMeshComponents: 0 176 | VertexChannelCompressionMask: 177 | serializedVersion: 2 178 | m_Bits: 238 179 | iPhoneSdkVersion: 988 180 | iOSTargetOSVersionString: 7.0 181 | tvOSSdkVersion: 0 182 | tvOSRequireExtendedGameController: 0 183 | tvOSTargetOSVersionString: 9.0 184 | uIPrerenderedIcon: 0 185 | uIRequiresPersistentWiFi: 0 186 | uIRequiresFullScreen: 1 187 | uIStatusBarHidden: 1 188 | uIExitOnSuspend: 0 189 | uIStatusBarStyle: 0 190 | iPhoneSplashScreen: {fileID: 0} 191 | iPhoneHighResSplashScreen: {fileID: 0} 192 | iPhoneTallHighResSplashScreen: {fileID: 0} 193 | iPhone47inSplashScreen: {fileID: 0} 194 | iPhone55inPortraitSplashScreen: {fileID: 0} 195 | iPhone55inLandscapeSplashScreen: {fileID: 0} 196 | iPhone58inPortraitSplashScreen: {fileID: 0} 197 | iPhone58inLandscapeSplashScreen: {fileID: 0} 198 | iPadPortraitSplashScreen: {fileID: 0} 199 | iPadHighResPortraitSplashScreen: {fileID: 0} 200 | iPadLandscapeSplashScreen: {fileID: 0} 201 | iPadHighResLandscapeSplashScreen: {fileID: 0} 202 | appleTVSplashScreen: {fileID: 0} 203 | appleTVSplashScreen2x: {fileID: 0} 204 | tvOSSmallIconLayers: [] 205 | tvOSSmallIconLayers2x: [] 206 | tvOSLargeIconLayers: [] 207 | tvOSLargeIconLayers2x: [] 208 | tvOSTopShelfImageLayers: [] 209 | tvOSTopShelfImageLayers2x: [] 210 | tvOSTopShelfImageWideLayers: [] 211 | tvOSTopShelfImageWideLayers2x: [] 212 | iOSLaunchScreenType: 0 213 | iOSLaunchScreenPortrait: {fileID: 0} 214 | iOSLaunchScreenLandscape: {fileID: 0} 215 | iOSLaunchScreenBackgroundColor: 216 | serializedVersion: 2 217 | rgba: 0 218 | iOSLaunchScreenFillPct: 100 219 | iOSLaunchScreenSize: 100 220 | iOSLaunchScreenCustomXibPath: 221 | iOSLaunchScreeniPadType: 0 222 | iOSLaunchScreeniPadImage: {fileID: 0} 223 | iOSLaunchScreeniPadBackgroundColor: 224 | serializedVersion: 2 225 | rgba: 0 226 | iOSLaunchScreeniPadFillPct: 100 227 | iOSLaunchScreeniPadSize: 100 228 | iOSLaunchScreeniPadCustomXibPath: 229 | iOSUseLaunchScreenStoryboard: 0 230 | iOSLaunchScreenCustomStoryboardPath: 231 | iOSDeviceRequirements: [] 232 | iOSURLSchemes: [] 233 | iOSBackgroundModes: 0 234 | iOSMetalForceHardShadows: 0 235 | metalEditorSupport: 1 236 | metalAPIValidation: 1 237 | iOSRenderExtraFrameOnPause: 0 238 | appleDeveloperTeamID: 239 | iOSManualSigningProvisioningProfileID: 240 | tvOSManualSigningProvisioningProfileID: 241 | appleEnableAutomaticSigning: 0 242 | clonedFromGUID: 00000000000000000000000000000000 243 | AndroidTargetDevice: 0 244 | AndroidSplashScreenScale: 0 245 | androidSplashScreen: {fileID: 0} 246 | AndroidKeystoreName: 247 | AndroidKeyaliasName: 248 | AndroidTVCompatibility: 1 249 | AndroidIsGame: 1 250 | AndroidEnableTango: 0 251 | androidEnableBanner: 1 252 | androidUseLowAccuracyLocation: 0 253 | m_AndroidBanners: 254 | - width: 320 255 | height: 180 256 | banner: {fileID: 0} 257 | androidGamepadSupportLevel: 0 258 | resolutionDialogBanner: {fileID: 0} 259 | m_BuildTargetIcons: [] 260 | m_BuildTargetBatching: [] 261 | m_BuildTargetGraphicsAPIs: [] 262 | m_BuildTargetVRSettings: [] 263 | m_BuildTargetEnableVuforiaSettings: [] 264 | openGLRequireES31: 0 265 | openGLRequireES31AEP: 0 266 | m_TemplateCustomTags: {} 267 | mobileMTRendering: 268 | Android: 1 269 | iPhone: 1 270 | tvOS: 1 271 | m_BuildTargetGroupLightmapEncodingQuality: [] 272 | wiiUTitleID: 0005000011000000 273 | wiiUGroupID: 00010000 274 | wiiUCommonSaveSize: 4096 275 | wiiUAccountSaveSize: 2048 276 | wiiUOlvAccessKey: 0 277 | wiiUTinCode: 0 278 | wiiUJoinGameId: 0 279 | wiiUJoinGameModeMask: 0000000000000000 280 | wiiUCommonBossSize: 0 281 | wiiUAccountBossSize: 0 282 | wiiUAddOnUniqueIDs: [] 283 | wiiUMainThreadStackSize: 3072 284 | wiiULoaderThreadStackSize: 1024 285 | wiiUSystemHeapSize: 128 286 | wiiUTVStartupScreen: {fileID: 0} 287 | wiiUGamePadStartupScreen: {fileID: 0} 288 | wiiUDrcBufferDisabled: 0 289 | wiiUProfilerLibPath: 290 | playModeTestRunnerEnabled: 0 291 | actionOnDotNetUnhandledException: 1 292 | enableInternalProfiler: 0 293 | logObjCUncaughtExceptions: 1 294 | enableCrashReportAPI: 0 295 | cameraUsageDescription: 296 | locationUsageDescription: 297 | microphoneUsageDescription: 298 | switchNetLibKey: 299 | switchSocketMemoryPoolSize: 6144 300 | switchSocketAllocatorPoolSize: 128 301 | switchSocketConcurrencyLimit: 14 302 | switchScreenResolutionBehavior: 2 303 | switchUseCPUProfiler: 0 304 | switchApplicationID: 0x01004b9000490000 305 | switchNSODependencies: 306 | switchTitleNames_0: 307 | switchTitleNames_1: 308 | switchTitleNames_2: 309 | switchTitleNames_3: 310 | switchTitleNames_4: 311 | switchTitleNames_5: 312 | switchTitleNames_6: 313 | switchTitleNames_7: 314 | switchTitleNames_8: 315 | switchTitleNames_9: 316 | switchTitleNames_10: 317 | switchTitleNames_11: 318 | switchTitleNames_12: 319 | switchTitleNames_13: 320 | switchTitleNames_14: 321 | switchPublisherNames_0: 322 | switchPublisherNames_1: 323 | switchPublisherNames_2: 324 | switchPublisherNames_3: 325 | switchPublisherNames_4: 326 | switchPublisherNames_5: 327 | switchPublisherNames_6: 328 | switchPublisherNames_7: 329 | switchPublisherNames_8: 330 | switchPublisherNames_9: 331 | switchPublisherNames_10: 332 | switchPublisherNames_11: 333 | switchPublisherNames_12: 334 | switchPublisherNames_13: 335 | switchPublisherNames_14: 336 | switchIcons_0: {fileID: 0} 337 | switchIcons_1: {fileID: 0} 338 | switchIcons_2: {fileID: 0} 339 | switchIcons_3: {fileID: 0} 340 | switchIcons_4: {fileID: 0} 341 | switchIcons_5: {fileID: 0} 342 | switchIcons_6: {fileID: 0} 343 | switchIcons_7: {fileID: 0} 344 | switchIcons_8: {fileID: 0} 345 | switchIcons_9: {fileID: 0} 346 | switchIcons_10: {fileID: 0} 347 | switchIcons_11: {fileID: 0} 348 | switchIcons_12: {fileID: 0} 349 | switchIcons_13: {fileID: 0} 350 | switchIcons_14: {fileID: 0} 351 | switchSmallIcons_0: {fileID: 0} 352 | switchSmallIcons_1: {fileID: 0} 353 | switchSmallIcons_2: {fileID: 0} 354 | switchSmallIcons_3: {fileID: 0} 355 | switchSmallIcons_4: {fileID: 0} 356 | switchSmallIcons_5: {fileID: 0} 357 | switchSmallIcons_6: {fileID: 0} 358 | switchSmallIcons_7: {fileID: 0} 359 | switchSmallIcons_8: {fileID: 0} 360 | switchSmallIcons_9: {fileID: 0} 361 | switchSmallIcons_10: {fileID: 0} 362 | switchSmallIcons_11: {fileID: 0} 363 | switchSmallIcons_12: {fileID: 0} 364 | switchSmallIcons_13: {fileID: 0} 365 | switchSmallIcons_14: {fileID: 0} 366 | switchManualHTML: 367 | switchAccessibleURLs: 368 | switchLegalInformation: 369 | switchMainThreadStackSize: 1048576 370 | switchPresenceGroupId: 371 | switchLogoHandling: 0 372 | switchReleaseVersion: 0 373 | switchDisplayVersion: 1.0.0 374 | switchStartupUserAccount: 0 375 | switchTouchScreenUsage: 0 376 | switchSupportedLanguagesMask: 0 377 | switchLogoType: 0 378 | switchApplicationErrorCodeCategory: 379 | switchUserAccountSaveDataSize: 0 380 | switchUserAccountSaveDataJournalSize: 0 381 | switchApplicationAttribute: 0 382 | switchCardSpecSize: -1 383 | switchCardSpecClock: -1 384 | switchRatingsMask: 0 385 | switchRatingsInt_0: 0 386 | switchRatingsInt_1: 0 387 | switchRatingsInt_2: 0 388 | switchRatingsInt_3: 0 389 | switchRatingsInt_4: 0 390 | switchRatingsInt_5: 0 391 | switchRatingsInt_6: 0 392 | switchRatingsInt_7: 0 393 | switchRatingsInt_8: 0 394 | switchRatingsInt_9: 0 395 | switchRatingsInt_10: 0 396 | switchRatingsInt_11: 0 397 | switchLocalCommunicationIds_0: 398 | switchLocalCommunicationIds_1: 399 | switchLocalCommunicationIds_2: 400 | switchLocalCommunicationIds_3: 401 | switchLocalCommunicationIds_4: 402 | switchLocalCommunicationIds_5: 403 | switchLocalCommunicationIds_6: 404 | switchLocalCommunicationIds_7: 405 | switchParentalControl: 0 406 | switchAllowsScreenshot: 1 407 | switchAllowsVideoCapturing: 1 408 | switchAllowsRuntimeAddOnContentInstall: 0 409 | switchDataLossConfirmation: 0 410 | switchSupportedNpadStyles: 3 411 | switchSocketConfigEnabled: 0 412 | switchTcpInitialSendBufferSize: 32 413 | switchTcpInitialReceiveBufferSize: 64 414 | switchTcpAutoSendBufferSizeMax: 256 415 | switchTcpAutoReceiveBufferSizeMax: 256 416 | switchUdpSendBufferSize: 9 417 | switchUdpReceiveBufferSize: 42 418 | switchSocketBufferEfficiency: 4 419 | switchSocketInitializeEnabled: 1 420 | switchNetworkInterfaceManagerInitializeEnabled: 1 421 | switchPlayerConnectionEnabled: 1 422 | ps4NPAgeRating: 12 423 | ps4NPTitleSecret: 424 | ps4NPTrophyPackPath: 425 | ps4ParentalLevel: 11 426 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 427 | ps4Category: 0 428 | ps4MasterVersion: 01.00 429 | ps4AppVersion: 01.00 430 | ps4AppType: 0 431 | ps4ParamSfxPath: 432 | ps4VideoOutPixelFormat: 0 433 | ps4VideoOutInitialWidth: 1920 434 | ps4VideoOutBaseModeInitialWidth: 1920 435 | ps4VideoOutReprojectionRate: 60 436 | ps4PronunciationXMLPath: 437 | ps4PronunciationSIGPath: 438 | ps4BackgroundImagePath: 439 | ps4StartupImagePath: 440 | ps4StartupImagesFolder: 441 | ps4IconImagesFolder: 442 | ps4SaveDataImagePath: 443 | ps4SdkOverride: 444 | ps4BGMPath: 445 | ps4ShareFilePath: 446 | ps4ShareOverlayImagePath: 447 | ps4PrivacyGuardImagePath: 448 | ps4NPtitleDatPath: 449 | ps4RemotePlayKeyAssignment: -1 450 | ps4RemotePlayKeyMappingDir: 451 | ps4PlayTogetherPlayerCount: 0 452 | ps4EnterButtonAssignment: 1 453 | ps4ApplicationParam1: 0 454 | ps4ApplicationParam2: 0 455 | ps4ApplicationParam3: 0 456 | ps4ApplicationParam4: 0 457 | ps4DownloadDataSize: 0 458 | ps4GarlicHeapSize: 2048 459 | ps4ProGarlicHeapSize: 2560 460 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 461 | ps4pnSessions: 1 462 | ps4pnPresence: 1 463 | ps4pnFriends: 1 464 | ps4pnGameCustomData: 1 465 | playerPrefsSupport: 0 466 | restrictedAudioUsageRights: 0 467 | ps4UseResolutionFallback: 0 468 | ps4ReprojectionSupport: 0 469 | ps4UseAudio3dBackend: 0 470 | ps4SocialScreenEnabled: 0 471 | ps4ScriptOptimizationLevel: 0 472 | ps4Audio3dVirtualSpeakerCount: 14 473 | ps4attribCpuUsage: 0 474 | ps4PatchPkgPath: 475 | ps4PatchLatestPkgPath: 476 | ps4PatchChangeinfoPath: 477 | ps4PatchDayOne: 0 478 | ps4attribUserManagement: 0 479 | ps4attribMoveSupport: 0 480 | ps4attrib3DSupport: 0 481 | ps4attribShareSupport: 0 482 | ps4attribExclusiveVR: 0 483 | ps4disableAutoHideSplash: 0 484 | ps4videoRecordingFeaturesUsed: 0 485 | ps4contentSearchFeaturesUsed: 0 486 | ps4attribEyeToEyeDistanceSettingVR: 0 487 | ps4IncludedModules: [] 488 | monoEnv: 489 | psp2Splashimage: {fileID: 0} 490 | psp2NPTrophyPackPath: 491 | psp2NPSupportGBMorGJP: 0 492 | psp2NPAgeRating: 12 493 | psp2NPTitleDatPath: 494 | psp2NPCommsID: 495 | psp2NPCommunicationsID: 496 | psp2NPCommsPassphrase: 497 | psp2NPCommsSig: 498 | psp2ParamSfxPath: 499 | psp2ManualPath: 500 | psp2LiveAreaGatePath: 501 | psp2LiveAreaBackroundPath: 502 | psp2LiveAreaPath: 503 | psp2LiveAreaTrialPath: 504 | psp2PatchChangeInfoPath: 505 | psp2PatchOriginalPackage: 506 | psp2PackagePassword: F69AzBlax3CF3EDNhm3soLBPh71Yexui 507 | psp2KeystoneFile: 508 | psp2MemoryExpansionMode: 0 509 | psp2DRMType: 0 510 | psp2StorageType: 0 511 | psp2MediaCapacity: 0 512 | psp2DLCConfigPath: 513 | psp2ThumbnailPath: 514 | psp2BackgroundPath: 515 | psp2SoundPath: 516 | psp2TrophyCommId: 517 | psp2TrophyPackagePath: 518 | psp2PackagedResourcesPath: 519 | psp2SaveDataQuota: 10240 520 | psp2ParentalLevel: 1 521 | psp2ShortTitle: Not Set 522 | psp2ContentID: IV0000-ABCD12345_00-0123456789ABCDEF 523 | psp2Category: 0 524 | psp2MasterVersion: 01.00 525 | psp2AppVersion: 01.00 526 | psp2TVBootMode: 0 527 | psp2EnterButtonAssignment: 2 528 | psp2TVDisableEmu: 0 529 | psp2AllowTwitterDialog: 1 530 | psp2Upgradable: 0 531 | psp2HealthWarning: 0 532 | psp2UseLibLocation: 0 533 | psp2InfoBarOnStartup: 0 534 | psp2InfoBarColor: 0 535 | psp2ScriptOptimizationLevel: 0 536 | psmSplashimage: {fileID: 0} 537 | splashScreenBackgroundSourceLandscape: {fileID: 0} 538 | splashScreenBackgroundSourcePortrait: {fileID: 0} 539 | spritePackerPolicy: 540 | webGLMemorySize: 256 541 | webGLExceptionSupport: 1 542 | webGLNameFilesAsHashes: 0 543 | webGLDataCaching: 0 544 | webGLDebugSymbols: 0 545 | webGLEmscriptenArgs: 546 | webGLModulesDirectory: 547 | webGLTemplate: APPLICATION:Default 548 | webGLAnalyzeBuildSize: 0 549 | webGLUseEmbeddedResources: 0 550 | webGLUseWasm: 0 551 | webGLCompressionFormat: 1 552 | scriptingDefineSymbols: {} 553 | platformArchitecture: {} 554 | scriptingBackend: {} 555 | incrementalIl2cppBuild: {} 556 | additionalIl2CppArgs: 557 | scriptingRuntimeVersion: 0 558 | apiCompatibilityLevelPerPlatform: {} 559 | m_RenderingPath: 1 560 | m_MobileRenderingPath: 1 561 | metroPackageName: New Unity Project 562 | metroPackageVersion: 563 | metroCertificatePath: 564 | metroCertificatePassword: 565 | metroCertificateSubject: 566 | metroCertificateIssuer: 567 | metroCertificateNotAfter: 0000000000000000 568 | metroApplicationDescription: New Unity Project 569 | wsaImages: {} 570 | metroTileShortName: 571 | metroCommandLineArgsFile: 572 | metroTileShowName: 0 573 | metroMediumTileShowName: 0 574 | metroLargeTileShowName: 0 575 | metroWideTileShowName: 0 576 | metroDefaultTileSize: 1 577 | metroTileForegroundText: 2 578 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 579 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, 580 | a: 1} 581 | metroSplashScreenUseBackgroundColor: 0 582 | platformCapabilities: {} 583 | metroFTAName: 584 | metroFTAFileTypes: [] 585 | metroProtocolName: 586 | metroCompilationOverrides: 1 587 | tizenProductDescription: 588 | tizenProductURL: 589 | tizenSigningProfileName: 590 | tizenGPSPermissions: 0 591 | tizenMicrophonePermissions: 0 592 | tizenDeploymentTarget: 593 | tizenDeploymentTargetType: -1 594 | tizenMinOSVersion: 1 595 | n3dsUseExtSaveData: 0 596 | n3dsCompressStaticMem: 1 597 | n3dsExtSaveDataNumber: 0x12345 598 | n3dsStackSize: 131072 599 | n3dsTargetPlatform: 2 600 | n3dsRegion: 7 601 | n3dsMediaSize: 0 602 | n3dsLogoStyle: 3 603 | n3dsTitle: GameName 604 | n3dsProductCode: 605 | n3dsApplicationId: 0xFF3FF 606 | XboxOneProductId: 607 | XboxOneUpdateKey: 608 | XboxOneSandboxId: 609 | XboxOneContentId: 610 | XboxOneTitleId: 611 | XboxOneSCId: 612 | XboxOneGameOsOverridePath: 613 | XboxOnePackagingOverridePath: 614 | XboxOneAppManifestOverridePath: 615 | XboxOnePackageEncryption: 0 616 | XboxOnePackageUpdateGranularity: 2 617 | XboxOneDescription: 618 | XboxOneLanguage: 619 | - enus 620 | XboxOneCapability: [] 621 | XboxOneGameRating: {} 622 | XboxOneIsContentPackage: 0 623 | XboxOneEnableGPUVariability: 0 624 | XboxOneSockets: {} 625 | XboxOneSplashScreen: {fileID: 0} 626 | XboxOneAllowedProductIds: [] 627 | XboxOnePersistentLocalStorageSize: 0 628 | xboxOneScriptCompiler: 0 629 | vrEditorSettings: 630 | daydream: 631 | daydreamIconForeground: {fileID: 0} 632 | daydreamIconBackground: {fileID: 0} 633 | cloudServicesEnabled: {} 634 | facebookSdkVersion: 7.9.4 635 | apiCompatibilityLevel: 2 636 | cloudProjectId: 637 | projectName: 638 | organizationId: 639 | cloudEnabled: 0 640 | enableNativePlatformBackendsForNewInputSystem: 0 641 | disableOldInputManagerSupport: 0 642 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2017.3.0f3 2 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 5 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Very Low 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 0 21 | blendWeights: 1 22 | textureQuality: 1 23 | anisotropicTextures: 0 24 | antiAliasing: 0 25 | softParticles: 0 26 | softVegetation: 0 27 | realtimeReflectionProbes: 0 28 | billboardsFaceCameraPosition: 0 29 | vSyncCount: 0 30 | lodBias: 0.3 31 | maximumLODLevel: 0 32 | particleRaycastBudget: 4 33 | asyncUploadTimeSlice: 2 34 | asyncUploadBufferSize: 4 35 | resolutionScalingFixedDPIFactor: 1 36 | excludedTargetPlatforms: [] 37 | - serializedVersion: 2 38 | name: Low 39 | pixelLightCount: 0 40 | shadows: 0 41 | shadowResolution: 0 42 | shadowProjection: 1 43 | shadowCascades: 1 44 | shadowDistance: 20 45 | shadowNearPlaneOffset: 3 46 | shadowCascade2Split: 0.33333334 47 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 48 | shadowmaskMode: 0 49 | blendWeights: 2 50 | textureQuality: 0 51 | anisotropicTextures: 0 52 | antiAliasing: 0 53 | softParticles: 0 54 | softVegetation: 0 55 | realtimeReflectionProbes: 0 56 | billboardsFaceCameraPosition: 0 57 | vSyncCount: 0 58 | lodBias: 0.4 59 | maximumLODLevel: 0 60 | particleRaycastBudget: 16 61 | asyncUploadTimeSlice: 2 62 | asyncUploadBufferSize: 4 63 | resolutionScalingFixedDPIFactor: 1 64 | excludedTargetPlatforms: [] 65 | - serializedVersion: 2 66 | name: Medium 67 | pixelLightCount: 1 68 | shadows: 1 69 | shadowResolution: 0 70 | shadowProjection: 1 71 | shadowCascades: 1 72 | shadowDistance: 20 73 | shadowNearPlaneOffset: 3 74 | shadowCascade2Split: 0.33333334 75 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 76 | shadowmaskMode: 0 77 | blendWeights: 2 78 | textureQuality: 0 79 | anisotropicTextures: 1 80 | antiAliasing: 0 81 | softParticles: 0 82 | softVegetation: 0 83 | realtimeReflectionProbes: 0 84 | billboardsFaceCameraPosition: 0 85 | vSyncCount: 1 86 | lodBias: 0.7 87 | maximumLODLevel: 0 88 | particleRaycastBudget: 64 89 | asyncUploadTimeSlice: 2 90 | asyncUploadBufferSize: 4 91 | resolutionScalingFixedDPIFactor: 1 92 | excludedTargetPlatforms: [] 93 | - serializedVersion: 2 94 | name: High 95 | pixelLightCount: 2 96 | shadows: 2 97 | shadowResolution: 1 98 | shadowProjection: 1 99 | shadowCascades: 2 100 | shadowDistance: 40 101 | shadowNearPlaneOffset: 3 102 | shadowCascade2Split: 0.33333334 103 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 104 | shadowmaskMode: 1 105 | blendWeights: 2 106 | textureQuality: 0 107 | anisotropicTextures: 1 108 | antiAliasing: 0 109 | softParticles: 0 110 | softVegetation: 1 111 | realtimeReflectionProbes: 1 112 | billboardsFaceCameraPosition: 1 113 | vSyncCount: 1 114 | lodBias: 1 115 | maximumLODLevel: 0 116 | particleRaycastBudget: 256 117 | asyncUploadTimeSlice: 2 118 | asyncUploadBufferSize: 4 119 | resolutionScalingFixedDPIFactor: 1 120 | excludedTargetPlatforms: [] 121 | - serializedVersion: 2 122 | name: Very High 123 | pixelLightCount: 3 124 | shadows: 2 125 | shadowResolution: 2 126 | shadowProjection: 1 127 | shadowCascades: 2 128 | shadowDistance: 70 129 | shadowNearPlaneOffset: 3 130 | shadowCascade2Split: 0.33333334 131 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 132 | shadowmaskMode: 1 133 | blendWeights: 4 134 | textureQuality: 0 135 | anisotropicTextures: 2 136 | antiAliasing: 2 137 | softParticles: 1 138 | softVegetation: 1 139 | realtimeReflectionProbes: 1 140 | billboardsFaceCameraPosition: 1 141 | vSyncCount: 1 142 | lodBias: 1.5 143 | maximumLODLevel: 0 144 | particleRaycastBudget: 1024 145 | asyncUploadTimeSlice: 2 146 | asyncUploadBufferSize: 4 147 | resolutionScalingFixedDPIFactor: 1 148 | excludedTargetPlatforms: [] 149 | - serializedVersion: 2 150 | name: Ultra 151 | pixelLightCount: 4 152 | shadows: 2 153 | shadowResolution: 2 154 | shadowProjection: 1 155 | shadowCascades: 4 156 | shadowDistance: 150 157 | shadowNearPlaneOffset: 3 158 | shadowCascade2Split: 0.33333334 159 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 160 | shadowmaskMode: 1 161 | blendWeights: 4 162 | textureQuality: 0 163 | anisotropicTextures: 2 164 | antiAliasing: 2 165 | softParticles: 1 166 | softVegetation: 1 167 | realtimeReflectionProbes: 1 168 | billboardsFaceCameraPosition: 1 169 | vSyncCount: 1 170 | lodBias: 2 171 | maximumLODLevel: 0 172 | particleRaycastBudget: 4096 173 | asyncUploadTimeSlice: 2 174 | asyncUploadBufferSize: 4 175 | resolutionScalingFixedDPIFactor: 1 176 | excludedTargetPlatforms: [] 177 | m_PerPlatformDefaultQuality: 178 | Android: 2 179 | Nintendo 3DS: 5 180 | Nintendo Switch: 5 181 | PS4: 5 182 | PSM: 5 183 | PSP2: 2 184 | Standalone: 5 185 | Tizen: 2 186 | WebGL: 3 187 | WiiU: 5 188 | Windows Store Apps: 5 189 | XboxOne: 5 190 | iPhone: 2 191 | tvOS: 2 192 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | m_Enabled: 0 7 | m_TestMode: 0 8 | m_TestEventUrl: 9 | m_TestConfigUrl: 10 | m_TestInitMode: 0 11 | CrashReportingSettings: 12 | m_EventUrl: https://perf-events.cloud.unity3d.com/api/events/crashes 13 | m_NativeEventUrl: https://perf-events.cloud.unity3d.com/symbolicate 14 | m_Enabled: 0 15 | m_CaptureEditorExceptions: 1 16 | UnityPurchasingSettings: 17 | m_Enabled: 0 18 | m_TestMode: 0 19 | UnityAnalyticsSettings: 20 | m_Enabled: 0 21 | m_InitializeOnStartup: 1 22 | m_TestMode: 0 23 | m_TestEventUrl: 24 | m_TestConfigUrl: 25 | UnityAdsSettings: 26 | m_Enabled: 0 27 | m_InitializeOnStartup: 1 28 | m_TestMode: 0 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [日本語の Readme はこちら](https://github.com/baba-s/unity-customizable-toolbar/blob/master/README_JP.md) 2 | 3 | # UnityCustomizableToolbar 4 | 5 | Customizable toolbar available in the Unity editor. 6 | 7 | # Version 8 | 9 | - Unity 2017.3.0f3 10 | 11 | # Install 12 | 13 | 1. Go to the following page and download "UnityCustomizableToolbar.unitypackage". 14 | https://github.com/baba-s/unity-customizable-toolbar/blob/master/CustomizableToolbar.unitypackage?raw=true 15 | 2. Import the downloaded "UnityCustomizableToolbar.unitypackage" into the Unity project. 16 | 17 | # Screenshot 18 | 19 | ![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20180315/20180315133510.png) 20 | 21 | # Usage 22 | 23 | ![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20180315/20180315133622.png) 24 | 25 | When you select "Window> Customizable Toolbar" in the Unity menu, 26 | 27 | ![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20180315/20180315133720.png) 28 | 29 | The "Toolbar" window will be displayed so you can dock it where you want. 30 | 31 | ![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20180315/20180315133802.png) 32 | 33 | Right click on "Toolbar" tab and select "Settings", 34 | 35 | ![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20180315/20180315133902.png) 36 | 37 | The setting screen appears in the Inspector. 38 | 39 | ![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20180315/20180315133958.png) 40 | 41 | Press the "+" button at the bottom right to add the parameters of the button. 42 | 43 | ![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20180315/20180315134202.png) 44 | 45 | Pressing "Inverted triangle" to the right of the "Command Name", 46 | A list of commands will be displayed, so select the command you like. 47 | 48 | ![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20180315/20180315134306.png) 49 | 50 | Then "Command Name" and "Button Name" are automatically entered, 51 | 52 | ![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20180315/20180315134352.png) 53 | 54 | A button will be added to the toolbar. 55 | Then, when this button is pushed, the set command is executed. 56 | 57 | ![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20180315/20180315134552.png) 58 | 59 | Since "Command Name" can be entered freely, 60 | It is also possible to create a button to execute your own MenuItem. 61 | 62 | When setting a texture in "Image", 63 | A texture is displayed instead of "Button Name". 64 | 65 | You can set the width of the button with "Width". ( Automatic adjustment if 0 ) -------------------------------------------------------------------------------- /README_JP.md: -------------------------------------------------------------------------------- 1 | # UnityCustomizableToolbar 2 | 3 | Unity エディタで使用できるカスタマイズ可能なツールバー 4 | 5 | # 開発環境 6 | 7 | - Unity 2017.3.0f3 8 | 9 | # 導入方法 10 | 11 | 1. 下記のページにアクセスして「UnityCustomizableToolbar.unitypackage」をダウンロードします 12 | https://github.com/baba-s/unity-customizable-toolbar/blob/master/CustomizableToolbar.unitypackage?raw=true 13 | 2. ダウンロードした「UnityCustomizableToolbar.unitypackage」を Unity プロジェクトにインポートします 14 | 15 | # スクリーンショット 16 | 17 | ![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20180315/20180315133510.png) 18 | 19 | # クイックスタート 20 | 21 | ![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20180315/20180315133622.png) 22 | 23 | Unity メニューの「Window>Customizable Toolbar」を選択すると 24 | 25 | ![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20180315/20180315133720.png) 26 | 27 | 「Toolbar」ウィンドウが表示されるので、好きな場所にドッキングします 28 | 29 | ![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20180315/20180315133802.png) 30 | 31 | 「Toolbar」タブを右クリックして「Settings」を選択すると、 32 | 33 | ![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20180315/20180315133902.png) 34 | 35 | Inspector に設定画面が表示されます 36 | 37 | ![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20180315/20180315133958.png) 38 | 39 | 右下の「+」ボタンを押すと、ボタンのパラメータが追加されます 40 | 41 | ![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20180315/20180315134202.png) 42 | 43 | 「Command Name」の欄の右の「▼」を押すと、 44 | コマンドの一覧が表示されるので、好きなコマンドを選択します 45 | 46 | ![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20180315/20180315134306.png) 47 | 48 | すると、「Command Name」と「Button Name」が自動で入力され、 49 | 50 | ![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20180315/20180315134352.png) 51 | 52 | ツールバーにボタンが追加されます 53 | そして、このボタンを押すと、設定したコマンドが実行されます 54 | 55 | ![](https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20180315/20180315134552.png) 56 | 57 | 「Command Name」は自由に入力できるので 58 | 自作した MenuItem を実行するボタンを作成することも可能です 59 | 60 | 「Image」にテクスチャを設定すると、 61 | 「Button Name」の代わりにテクスチャが表示されます 62 | 63 | 「Width」でボタンの幅を設定できます(0 なら自動調整) -------------------------------------------------------------------------------- /UnityPackageManager/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | } 4 | } 5 | --------------------------------------------------------------------------------