From 815ea194c020937250032263ee4c470be04945e5 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 11 Sep 2019 15:13:31 +0200 Subject: [PATCH] Update drawing --- Assets/Drawing/Drawing Manager.prefab | 64 + Assets/Drawing/Drawing Manager.prefab.meta | 7 + Assets/Drawing/DrawingManager.cs | 15 - .../{Drawable Frame.meta => Prefabs.meta} | 2 +- Assets/Drawing/Prefabs/Act Description.prefab | 80 ++ .../Prefabs/Act Description.prefab.meta | 7 + Assets/Drawing/Prefabs/Act Name.prefab | 79 ++ Assets/Drawing/Prefabs/Act Name.prefab.meta | 7 + .../Drawable Frame.prefab | 42 +- .../Drawable Frame.prefab.meta | 2 +- Assets/Drawing/Prefabs/Palette Button.prefab | 144 +++ .../Prefabs/Palette Button.prefab.meta | 7 + Assets/Drawing/Prefabs/Radius Slider.prefab | 407 ++++++ .../Drawing/Prefabs/Radius Slider.prefab.meta | 7 + Assets/Drawing/Prefabs/Timer.prefab | 109 ++ Assets/Drawing/Prefabs/Timer.prefab.meta | 7 + Assets/{UI.meta => Drawing/Scripts.meta} | 2 +- .../{Drawable Frame => Scripts}/DrawTool.cs | 0 .../DrawTool.cs.meta | 2 +- .../DrawableFrame.cs | 20 +- .../DrawableFrame.cs.meta | 2 +- Assets/Drawing/Scripts/DrawingManager.cs | 82 ++ Assets/Drawing/Scripts/DrawingManager.cs.meta | 23 + .../PaletteButton.cs} | 2 +- .../PaletteButton.cs.meta} | 2 +- .../{Drawable Frame => Scripts}/PencilTool.cs | 0 .../PencilTool.cs.meta | 2 +- .../RadiusSlider.cs} | 2 +- .../RadiusSlider.cs.meta} | 0 .../SetSpriteFromDrawableFrame.cs | 0 .../SetSpriteFromDrawableFrame.cs.meta | 2 +- Assets/Drawing/Scripts/Timer.cs | 42 + .../Timer.cs.meta} | 2 +- Assets/Drawing/Scripts/TimerToText.cs | 21 + Assets/Drawing/Scripts/TimerToText.cs.meta | 11 + Assets/Plugins.meta | 8 + Assets/Scenes/SampleScene.unity | 1143 +---------------- ProjectSettings/TagManager.asset | 3 +- used_licenses.md | 2 + 39 files changed, 1238 insertions(+), 1121 deletions(-) create mode 100644 Assets/Drawing/Drawing Manager.prefab create mode 100644 Assets/Drawing/Drawing Manager.prefab.meta delete mode 100644 Assets/Drawing/DrawingManager.cs rename Assets/Drawing/{Drawable Frame.meta => Prefabs.meta} (77%) create mode 100644 Assets/Drawing/Prefabs/Act Description.prefab create mode 100644 Assets/Drawing/Prefabs/Act Description.prefab.meta create mode 100644 Assets/Drawing/Prefabs/Act Name.prefab create mode 100644 Assets/Drawing/Prefabs/Act Name.prefab.meta rename Assets/Drawing/{Drawable Frame => Prefabs}/Drawable Frame.prefab (72%) rename Assets/Drawing/{Drawable Frame => Prefabs}/Drawable Frame.prefab.meta (74%) create mode 100644 Assets/Drawing/Prefabs/Palette Button.prefab create mode 100644 Assets/Drawing/Prefabs/Palette Button.prefab.meta create mode 100644 Assets/Drawing/Prefabs/Radius Slider.prefab create mode 100644 Assets/Drawing/Prefabs/Radius Slider.prefab.meta create mode 100644 Assets/Drawing/Prefabs/Timer.prefab create mode 100644 Assets/Drawing/Prefabs/Timer.prefab.meta rename Assets/{UI.meta => Drawing/Scripts.meta} (77%) rename Assets/Drawing/{Drawable Frame => Scripts}/DrawTool.cs (100%) rename Assets/Drawing/{Drawable Frame => Scripts}/DrawTool.cs.meta (83%) rename Assets/Drawing/{Drawable Frame => Scripts}/DrawableFrame.cs (58%) rename Assets/Drawing/{Drawable Frame => Scripts}/DrawableFrame.cs.meta (84%) create mode 100644 Assets/Drawing/Scripts/DrawingManager.cs create mode 100644 Assets/Drawing/Scripts/DrawingManager.cs.meta rename Assets/Drawing/{PencilColorFromButtonColor.cs => Scripts/PaletteButton.cs} (85%) rename Assets/Drawing/{DrawingManager.cs.meta => Scripts/PaletteButton.cs.meta} (83%) rename Assets/Drawing/{Drawable Frame => Scripts}/PencilTool.cs (100%) rename Assets/Drawing/{Drawable Frame => Scripts}/PencilTool.cs.meta (83%) rename Assets/Drawing/{PencilSizeFromSlider.cs => Scripts/RadiusSlider.cs} (86%) rename Assets/Drawing/{PencilSizeFromSlider.cs.meta => Scripts/RadiusSlider.cs.meta} (100%) rename Assets/Drawing/{Drawable Frame => Scripts}/SetSpriteFromDrawableFrame.cs (100%) rename Assets/Drawing/{Drawable Frame => Scripts}/SetSpriteFromDrawableFrame.cs.meta (83%) create mode 100644 Assets/Drawing/Scripts/Timer.cs rename Assets/Drawing/{PencilColorFromButtonColor.cs.meta => Scripts/Timer.cs.meta} (83%) create mode 100644 Assets/Drawing/Scripts/TimerToText.cs create mode 100644 Assets/Drawing/Scripts/TimerToText.cs.meta create mode 100644 Assets/Plugins.meta create mode 100644 used_licenses.md diff --git a/Assets/Drawing/Drawing Manager.prefab b/Assets/Drawing/Drawing Manager.prefab new file mode 100644 index 0000000..84e1150 --- /dev/null +++ b/Assets/Drawing/Drawing Manager.prefab @@ -0,0 +1,64 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &3241962964773812264 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3241962964773812267} + - component: {fileID: 3241962964773812269} + m_Layer: 0 + m_Name: Drawing Manager + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &3241962964773812267 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3241962964773812264} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &3241962964773812269 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3241962964773812264} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0d10524dc2d96954e90c57e2eaf1fd10, type: 3} + m_Name: + m_EditorClassIdentifier: + jsonString: + settings: + startingColor: {r: 1, g: 1, b: 1, a: 1} + palette: [] + timeLimit: 99 + actName: Untitled + actDescription: This Act is missing a description. + drawableFramePrefab: {fileID: 6807415978649219547, guid: 3f791bed5834e114495d6160942e2463, + type: 3} + paletteButtonPrefab: {fileID: 6296685147594998485, guid: b6078e3d1014e1d4abcb9fb07e6dac68, + type: 3} + radiusSliderPrefab: {fileID: 262769963510312142, guid: ab003174e303481428457549f8ca0c3f, + type: 3} + actNamePrefab: {fileID: 5201592901269269097, guid: 303cf7d85a1269245a58347705a275b0, + type: 3} + actDescriptionPrefab: {fileID: 7083582236406838683, guid: 13cfb8f4345bdcb459f2dd90ac554850, + type: 3} + timerPrefab: {fileID: 8049216009855113645, guid: 2ecb10bfea7885e40ad4340fa7eaa265, + type: 3} diff --git a/Assets/Drawing/Drawing Manager.prefab.meta b/Assets/Drawing/Drawing Manager.prefab.meta new file mode 100644 index 0000000..4af3c0f --- /dev/null +++ b/Assets/Drawing/Drawing Manager.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 4fd713402edcc1c43b82d4d86a713998 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Drawing/DrawingManager.cs b/Assets/Drawing/DrawingManager.cs deleted file mode 100644 index 160323f..0000000 --- a/Assets/Drawing/DrawingManager.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -public class DrawingSettings { - public Color backgroundColor; - public Color[] palette; - public float minSize; - public float maxSize; - public Vector2Int resolution; -} - -public class DrawingManager : MonoBehaviour -{ -} diff --git a/Assets/Drawing/Drawable Frame.meta b/Assets/Drawing/Prefabs.meta similarity index 77% rename from Assets/Drawing/Drawable Frame.meta rename to Assets/Drawing/Prefabs.meta index 8cb013e..12019d6 100644 --- a/Assets/Drawing/Drawable Frame.meta +++ b/Assets/Drawing/Prefabs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 1388f5ffb2f409443adadbc58d0033a0 +guid: c02724b1784f03f40a7baedb29804069 folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/Assets/Drawing/Prefabs/Act Description.prefab b/Assets/Drawing/Prefabs/Act Description.prefab new file mode 100644 index 0000000..6919343 --- /dev/null +++ b/Assets/Drawing/Prefabs/Act Description.prefab @@ -0,0 +1,80 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &7083582236406838683 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7083582236406838682} + - component: {fileID: 7083582236406838684} + - component: {fileID: 7083582236406838685} + m_Layer: 5 + m_Name: Act Description + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7083582236406838682 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7083582236406838683} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 19.97461, y: -212} + m_SizeDelta: {x: 1000, y: 204} + m_Pivot: {x: 0, y: 1} +--- !u!222 &7083582236406838684 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7083582236406838683} + m_CullTransparentMesh: 0 +--- !u!114 &7083582236406838685 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7083582236406838683} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 45 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 3 + m_MaxSize: 111 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Long act description, the boring one, where the game tells you things you + don't care about diff --git a/Assets/Drawing/Prefabs/Act Description.prefab.meta b/Assets/Drawing/Prefabs/Act Description.prefab.meta new file mode 100644 index 0000000..327a06e --- /dev/null +++ b/Assets/Drawing/Prefabs/Act Description.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 13cfb8f4345bdcb459f2dd90ac554850 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Drawing/Prefabs/Act Name.prefab b/Assets/Drawing/Prefabs/Act Name.prefab new file mode 100644 index 0000000..191961b --- /dev/null +++ b/Assets/Drawing/Prefabs/Act Name.prefab @@ -0,0 +1,79 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &5201592901269269097 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5201592901269269096} + - component: {fileID: 5201592901269269098} + - component: {fileID: 5201592901269269099} + m_Layer: 5 + m_Name: Act Name + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &5201592901269269096 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5201592901269269097} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 19.97461, y: -12} + m_SizeDelta: {x: 800, y: 200} + m_Pivot: {x: 0, y: 1} +--- !u!222 &5201592901269269098 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5201592901269269097} + m_CullTransparentMesh: 0 +--- !u!114 &5201592901269269099 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5201592901269269097} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 80 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 3 + m_MaxSize: 111 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Act Name diff --git a/Assets/Drawing/Prefabs/Act Name.prefab.meta b/Assets/Drawing/Prefabs/Act Name.prefab.meta new file mode 100644 index 0000000..76dc319 --- /dev/null +++ b/Assets/Drawing/Prefabs/Act Name.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 303cf7d85a1269245a58347705a275b0 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Drawing/Drawable Frame/Drawable Frame.prefab b/Assets/Drawing/Prefabs/Drawable Frame.prefab similarity index 72% rename from Assets/Drawing/Drawable Frame/Drawable Frame.prefab rename to Assets/Drawing/Prefabs/Drawable Frame.prefab index e59068c..37fd897 100644 --- a/Assets/Drawing/Drawable Frame/Drawable Frame.prefab +++ b/Assets/Drawing/Prefabs/Drawable Frame.prefab @@ -1,6 +1,6 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: ---- !u!1 &4833107060060655765 +--- !u!1 &6807415978649219547 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -8,11 +8,11 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 4833107060060655767} - - component: {fileID: 4833107060060655764} - - component: {fileID: 4833107060060655752} - - component: {fileID: 4833107060060655753} - - component: {fileID: 4833107060060655766} + - component: {fileID: 6807415978649219551} + - component: {fileID: 6807415978649219550} + - component: {fileID: 6807415978649219545} + - component: {fileID: 6807415978649219544} + - component: {fileID: 6807415977000239074} m_Layer: 0 m_Name: Drawable Frame m_TagString: Untagged @@ -20,13 +20,13 @@ GameObject: m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!4 &4833107060060655767 +--- !u!4 &6807415978649219551 Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4833107060060655765} + m_GameObject: {fileID: 6807415978649219547} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 5, y: 5, z: 1} @@ -34,13 +34,13 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!212 &4833107060060655764 +--- !u!212 &6807415978649219550 SpriteRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4833107060060655765} + m_GameObject: {fileID: 6807415978649219547} m_Enabled: 1 m_CastShadows: 0 m_ReceiveShadows: 0 @@ -84,43 +84,45 @@ SpriteRenderer: m_WasSpriteAssigned: 0 m_MaskInteraction: 0 m_SpriteSortPoint: 0 ---- !u!114 &4833107060060655752 +--- !u!114 &6807415978649219545 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4833107060060655765} + m_GameObject: {fileID: 6807415978649219547} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 67129fd77baafe64a9e677f15772db45, type: 3} + m_Script: {fileID: 11500000, guid: b070869e91178234e87a9d5aa488824c, type: 3} m_Name: m_EditorClassIdentifier: resolution: {x: 500, y: 500} + startingColor: {r: 0, g: 0, b: 0, a: 0} texture: {fileID: 0} ---- !u!114 &4833107060060655753 + sprite: {fileID: 0} +--- !u!114 &6807415978649219544 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4833107060060655765} + m_GameObject: {fileID: 6807415978649219547} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: af9a3a82a38b2654db18233be6689f55, type: 3} + m_Script: {fileID: 11500000, guid: 21d58fc36c2296c4787f0492c99a5d2c, type: 3} m_Name: m_EditorClassIdentifier: ---- !u!114 &4833107060060655766 +--- !u!114 &6807415977000239074 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4833107060060655765} + m_GameObject: {fileID: 6807415978649219547} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: c16934d4d3f425a47904cdd2deb96213, type: 3} + m_Script: {fileID: 11500000, guid: 5cb2d6fcf96e09a4a8cc27c66f0f99dc, type: 3} m_Name: m_EditorClassIdentifier: - color: {r: 0, g: 0, b: 0, a: 1} + selectedColor: {r: 0, g: 0, b: 0, a: 1} size: 10 diff --git a/Assets/Drawing/Drawable Frame/Drawable Frame.prefab.meta b/Assets/Drawing/Prefabs/Drawable Frame.prefab.meta similarity index 74% rename from Assets/Drawing/Drawable Frame/Drawable Frame.prefab.meta rename to Assets/Drawing/Prefabs/Drawable Frame.prefab.meta index e2d6e02..92d9ad3 100644 --- a/Assets/Drawing/Drawable Frame/Drawable Frame.prefab.meta +++ b/Assets/Drawing/Prefabs/Drawable Frame.prefab.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 8e77ff0cbae87e244b0b9332ffca0360 +guid: 3f791bed5834e114495d6160942e2463 PrefabImporter: externalObjects: {} userData: diff --git a/Assets/Drawing/Prefabs/Palette Button.prefab b/Assets/Drawing/Prefabs/Palette Button.prefab new file mode 100644 index 0000000..4d89435 --- /dev/null +++ b/Assets/Drawing/Prefabs/Palette Button.prefab @@ -0,0 +1,144 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &6296685147594998485 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6296685147594998484} + - component: {fileID: 6296685147594998472} + - component: {fileID: 6296685147594998473} + - component: {fileID: 6296685147594998474} + - component: {fileID: 8028895321175071435} + m_Layer: 5 + m_Name: Palette Button + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &6296685147594998484 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6296685147594998485} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0} + m_AnchorMax: {x: 0.5, y: 0} + m_AnchoredPosition: {x: -420, y: 150} + m_SizeDelta: {x: 100, y: 100} + m_Pivot: {x: 0.5, y: 0} +--- !u!222 &6296685147594998472 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6296685147594998485} + m_CullTransparentMesh: 0 +--- !u!114 &6296685147594998473 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6296685147594998485} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.10980392, g: 0.16862746, b: 0.30980393, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &6296685147594998474 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6296685147594998485} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 6296685147594998473} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 8028895321175071435} + m_MethodName: OnClick + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 +--- !u!114 &8028895321175071435 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6296685147594998485} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 9014b8c8b8892e74d9d7d06d940043c9, type: 3} + m_Name: + m_EditorClassIdentifier: + pencil: {fileID: 0} diff --git a/Assets/Drawing/Prefabs/Palette Button.prefab.meta b/Assets/Drawing/Prefabs/Palette Button.prefab.meta new file mode 100644 index 0000000..3d517ef --- /dev/null +++ b/Assets/Drawing/Prefabs/Palette Button.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: b6078e3d1014e1d4abcb9fb07e6dac68 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Drawing/Prefabs/Radius Slider.prefab b/Assets/Drawing/Prefabs/Radius Slider.prefab new file mode 100644 index 0000000..b1571ac --- /dev/null +++ b/Assets/Drawing/Prefabs/Radius Slider.prefab @@ -0,0 +1,407 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &262769963510312142 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 262769963510312143} + - component: {fileID: 262769963510312140} + - component: {fileID: 262769963510312141} + m_Layer: 5 + m_Name: Size Slider + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &262769963510312143 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 262769963510312142} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 4, y: 4, z: 4} + m_Children: + - {fileID: 262769964192533823} + - {fileID: 262769964384736532} + - {fileID: 262769963618856909} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0} + m_AnchorMax: {x: 0.5, y: 0} + m_AnchoredPosition: {x: 0, y: 48} + m_SizeDelta: {x: 236, y: 20} + m_Pivot: {x: 0.5, y: 0} +--- !u!114 &262769963510312140 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 262769963510312142} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 67db9e8f0e2ae9c40bc1e2b64352a6b4, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 262769964338092697} + m_FillRect: {fileID: 262769963877171874} + m_HandleRect: {fileID: 262769964338092696} + m_Direction: 0 + m_MinValue: 1 + m_MaxValue: 50 + m_WholeNumbers: 0 + m_Value: 12 + m_OnValueChanged: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 262769963510312141} + m_MethodName: OnValueChange + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 +--- !u!114 &262769963510312141 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 262769963510312142} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8db7563e4404ce94289f591f8c90f478, type: 3} + m_Name: + m_EditorClassIdentifier: + pencil: {fileID: 0} +--- !u!1 &262769963618856908 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 262769963618856909} + m_Layer: 5 + m_Name: Handle Slide Area + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &262769963618856909 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 262769963618856908} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 262769964338092696} + m_Father: {fileID: 262769963510312143} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: -20, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!1 &262769963877171869 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 262769963877171874} + - component: {fileID: 262769963877171872} + - component: {fileID: 262769963877171875} + m_Layer: 5 + m_Name: Fill + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &262769963877171874 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 262769963877171869} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 262769964384736532} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 10, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &262769963877171872 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 262769963877171869} + m_CullTransparentMesh: 0 +--- !u!114 &262769963877171875 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 262769963877171869} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.627451, g: 0.8, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1 &262769964192533822 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 262769964192533823} + - component: {fileID: 262769964192533821} + - component: {fileID: 262769964192533820} + m_Layer: 5 + m_Name: Background + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &262769964192533823 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 262769964192533822} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 262769963510312143} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0.25} + m_AnchorMax: {x: 1, y: 0.75} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &262769964192533821 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 262769964192533822} + m_CullTransparentMesh: 0 +--- !u!114 &262769964192533820 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 262769964192533822} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.047058824, g: 0.09803922, b: 0.23137255, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1 &262769964338092699 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 262769964338092696} + - component: {fileID: 262769964338092702} + - component: {fileID: 262769964338092697} + m_Layer: 5 + m_Name: Handle + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &262769964338092696 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 262769964338092699} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 262769963618856909} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 20, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &262769964338092702 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 262769964338092699} + m_CullTransparentMesh: 0 +--- !u!114 &262769964338092697 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 262769964338092699} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10913, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1 &262769964384736535 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 262769964384736532} + m_Layer: 5 + m_Name: Fill Area + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &262769964384736532 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 262769964384736535} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 262769963877171874} + m_Father: {fileID: 262769963510312143} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0.25} + m_AnchorMax: {x: 1, y: 0.75} + m_AnchoredPosition: {x: -5.0000305, y: 0} + m_SizeDelta: {x: -20, y: 0} + m_Pivot: {x: 0.5, y: 0.5} diff --git a/Assets/Drawing/Prefabs/Radius Slider.prefab.meta b/Assets/Drawing/Prefabs/Radius Slider.prefab.meta new file mode 100644 index 0000000..78dcb06 --- /dev/null +++ b/Assets/Drawing/Prefabs/Radius Slider.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: ab003174e303481428457549f8ca0c3f +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Drawing/Prefabs/Timer.prefab b/Assets/Drawing/Prefabs/Timer.prefab new file mode 100644 index 0000000..fd34462 --- /dev/null +++ b/Assets/Drawing/Prefabs/Timer.prefab @@ -0,0 +1,109 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &8049216009855113645 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8049216009855113644} + - component: {fileID: 8049216009855113646} + - component: {fileID: 8049216009855113647} + - component: {fileID: 5444294768605868681} + - component: {fileID: 8159594153790644181} + m_Layer: 5 + m_Name: Timer + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &8049216009855113644 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8049216009855113645} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 1} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: -12, y: -12} + m_SizeDelta: {x: 200, y: 200} + m_Pivot: {x: 1, y: 1} +--- !u!222 &8049216009855113646 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8049216009855113645} + m_CullTransparentMesh: 0 +--- !u!114 &8049216009855113647 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8049216009855113645} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 80 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 3 + m_MaxSize: 111 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: 99 +--- !u!114 &5444294768605868681 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8049216009855113645} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a7c45ddace297a54081e872022db68bd, type: 3} + m_Name: + m_EditorClassIdentifier: + startingTime: 0 + time: 0 + isTriggered: 0 + isRunning: 0 +--- !u!114 &8159594153790644181 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8049216009855113645} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 29981655a32a0e643809a1050b09b910, type: 3} + m_Name: + m_EditorClassIdentifier: diff --git a/Assets/Drawing/Prefabs/Timer.prefab.meta b/Assets/Drawing/Prefabs/Timer.prefab.meta new file mode 100644 index 0000000..010db80 --- /dev/null +++ b/Assets/Drawing/Prefabs/Timer.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 2ecb10bfea7885e40ad4340fa7eaa265 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/UI.meta b/Assets/Drawing/Scripts.meta similarity index 77% rename from Assets/UI.meta rename to Assets/Drawing/Scripts.meta index 47d3faf..d4f9856 100644 --- a/Assets/UI.meta +++ b/Assets/Drawing/Scripts.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 4d158873290d07d4a9ebb9899dafa96d +guid: 186a6e11dc16c5b459e791a437fafd62 folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/Assets/Drawing/Drawable Frame/DrawTool.cs b/Assets/Drawing/Scripts/DrawTool.cs similarity index 100% rename from Assets/Drawing/Drawable Frame/DrawTool.cs rename to Assets/Drawing/Scripts/DrawTool.cs diff --git a/Assets/Drawing/Drawable Frame/DrawTool.cs.meta b/Assets/Drawing/Scripts/DrawTool.cs.meta similarity index 83% rename from Assets/Drawing/Drawable Frame/DrawTool.cs.meta rename to Assets/Drawing/Scripts/DrawTool.cs.meta index ff0276f..d54d214 100644 --- a/Assets/Drawing/Drawable Frame/DrawTool.cs.meta +++ b/Assets/Drawing/Scripts/DrawTool.cs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 2ae0629d1cbacbe42ac8586a24eaad6d +guid: 4a0fcef86dc3042478d33b0309c76418 MonoImporter: externalObjects: {} serializedVersion: 2 diff --git a/Assets/Drawing/Drawable Frame/DrawableFrame.cs b/Assets/Drawing/Scripts/DrawableFrame.cs similarity index 58% rename from Assets/Drawing/Drawable Frame/DrawableFrame.cs rename to Assets/Drawing/Scripts/DrawableFrame.cs index 74b6887..b84297b 100644 --- a/Assets/Drawing/Drawable Frame/DrawableFrame.cs +++ b/Assets/Drawing/Scripts/DrawableFrame.cs @@ -4,8 +4,15 @@ using UnityEngine; public class DrawableFrame : MonoBehaviour { + [Header("Configuration")] public Vector2Int resolution; - public Texture2D texture; + public Color startingColor = Color.white; + + [Header("References")] + public Texture2D texture = null; + public Sprite sprite = null; + + private SpriteRenderer spriteRenderer; public Rect Bounds { get { @@ -25,6 +32,17 @@ public class DrawableFrame : MonoBehaviour else { texture.filterMode = FilterMode.Trilinear; } + + Color[] colors = texture.GetPixels(); + for(int i = 0; i < colors.Length; i++) { + colors[i] = startingColor; + } + texture.SetPixels(colors); + texture.Apply(); + + spriteRenderer = GetComponent(); + sprite = Sprite.Create(texture, new Rect(0, 0, resolution.x, resolution.y), new Vector2(0.5f, 0.5f), resolution.x); + spriteRenderer.sprite = sprite; } protected void OnDrawGizmos() diff --git a/Assets/Drawing/Drawable Frame/DrawableFrame.cs.meta b/Assets/Drawing/Scripts/DrawableFrame.cs.meta similarity index 84% rename from Assets/Drawing/Drawable Frame/DrawableFrame.cs.meta rename to Assets/Drawing/Scripts/DrawableFrame.cs.meta index c04e23f..849865c 100644 --- a/Assets/Drawing/Drawable Frame/DrawableFrame.cs.meta +++ b/Assets/Drawing/Scripts/DrawableFrame.cs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 67129fd77baafe64a9e677f15772db45 +guid: b070869e91178234e87a9d5aa488824c MonoImporter: externalObjects: {} serializedVersion: 2 diff --git a/Assets/Drawing/Scripts/DrawingManager.cs b/Assets/Drawing/Scripts/DrawingManager.cs new file mode 100644 index 0000000..cfc7ad4 --- /dev/null +++ b/Assets/Drawing/Scripts/DrawingManager.cs @@ -0,0 +1,82 @@ +using System; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.UI; + +[Serializable] +public class DrawingSettings { + public Color startingColor = Color.white; + public List palette = new List(); + public float timeLimit = 99f; + public string actName = "Untitled"; + public string actDescription = "This Act is missing a description."; +} + +public class DrawingManager : MonoBehaviour +{ + [Header("Settings")] + public string jsonString = ""; + public DrawingSettings settings = null; + + [Header("Prefabs")] + public GameObject drawableFramePrefab; + public GameObject paletteButtonPrefab; + public GameObject radiusSliderPrefab; + public GameObject actNamePrefab; + public GameObject actDescriptionPrefab; + public GameObject timerPrefab; + + [Header("Objects")] + protected Canvas canvas; + protected PencilTool pencil; + protected DrawableFrame drawableFrame; + protected List paletteButtons; + protected RadiusSlider radiusSlider; + protected Text actName; + protected Text actDescription; + protected Timer timer; + + void Start() { + if(jsonString != "") { + JsonUtility.FromJsonOverwrite(jsonString, settings); + if(settings == null) { + Debug.LogWarning("Invalid settings json string, using defaults."); + } + } + + canvas = GameObject.FindGameObjectWithTag("Canvas").GetComponent(); + + drawableFrame = Instantiate(drawableFramePrefab, transform).GetComponent(); + drawableFrame.startingColor = settings.startingColor; + + pencil = drawableFrame.GetComponent(); + try { + pencil.selectedColor = settings.palette[0]; + } catch(ArgumentOutOfRangeException) { + pencil.selectedColor = settings.startingColor; + } + + paletteButtons = new List(); + for(int i = 0; i < settings.palette.Count; i++) { + PaletteButton button = Instantiate(paletteButtonPrefab, canvas.transform).GetComponent(); + RectTransform btnTransform = button.GetComponent(); + Image btnImage = button.GetComponent(); + button.pencil = pencil; + btnImage.color = settings.palette[i]; + btnTransform.anchoredPosition = new Vector2(-420 + i * 110, 150); + paletteButtons.Add(button); + } + + radiusSlider = Instantiate(radiusSliderPrefab, canvas.transform).GetComponent(); + radiusSlider.pencil = pencil; + + actName = Instantiate(actNamePrefab, canvas.transform).GetComponent(); + actName.text = settings.actName; + + actDescription = Instantiate(actDescriptionPrefab, canvas.transform).GetComponent(); + actDescription.text = settings.actDescription; + + timer = Instantiate(timerPrefab, canvas.transform).GetComponent(); + timer.StartTimer(settings.timeLimit); + } +} diff --git a/Assets/Drawing/Scripts/DrawingManager.cs.meta b/Assets/Drawing/Scripts/DrawingManager.cs.meta new file mode 100644 index 0000000..d8e6827 --- /dev/null +++ b/Assets/Drawing/Scripts/DrawingManager.cs.meta @@ -0,0 +1,23 @@ +fileFormatVersion: 2 +guid: 0d10524dc2d96954e90c57e2eaf1fd10 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: + - drawableFramePrefab: {fileID: 6807415978649219547, guid: 3f791bed5834e114495d6160942e2463, + type: 3} + - paletteButtonPrefab: {fileID: 6296685147594998485, guid: b6078e3d1014e1d4abcb9fb07e6dac68, + type: 3} + - radiusSliderPrefab: {fileID: 262769963510312142, guid: ab003174e303481428457549f8ca0c3f, + type: 3} + - actNamePrefab: {fileID: 5201592901269269097, guid: 303cf7d85a1269245a58347705a275b0, + type: 3} + - actDescriptionPrefab: {fileID: 7083582236406838683, guid: 13cfb8f4345bdcb459f2dd90ac554850, + type: 3} + - timerPrefab: {fileID: 8049216009855113645, guid: 2ecb10bfea7885e40ad4340fa7eaa265, + type: 3} + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Drawing/PencilColorFromButtonColor.cs b/Assets/Drawing/Scripts/PaletteButton.cs similarity index 85% rename from Assets/Drawing/PencilColorFromButtonColor.cs rename to Assets/Drawing/Scripts/PaletteButton.cs index fe8dfe0..6e15b20 100644 --- a/Assets/Drawing/PencilColorFromButtonColor.cs +++ b/Assets/Drawing/Scripts/PaletteButton.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; -public class PencilColorFromButtonColor : MonoBehaviour +public class PaletteButton : MonoBehaviour { public PencilTool pencil; diff --git a/Assets/Drawing/DrawingManager.cs.meta b/Assets/Drawing/Scripts/PaletteButton.cs.meta similarity index 83% rename from Assets/Drawing/DrawingManager.cs.meta rename to Assets/Drawing/Scripts/PaletteButton.cs.meta index 06b9204..35ba98a 100644 --- a/Assets/Drawing/DrawingManager.cs.meta +++ b/Assets/Drawing/Scripts/PaletteButton.cs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 0d10524dc2d96954e90c57e2eaf1fd10 +guid: 9014b8c8b8892e74d9d7d06d940043c9 MonoImporter: externalObjects: {} serializedVersion: 2 diff --git a/Assets/Drawing/Drawable Frame/PencilTool.cs b/Assets/Drawing/Scripts/PencilTool.cs similarity index 100% rename from Assets/Drawing/Drawable Frame/PencilTool.cs rename to Assets/Drawing/Scripts/PencilTool.cs diff --git a/Assets/Drawing/Drawable Frame/PencilTool.cs.meta b/Assets/Drawing/Scripts/PencilTool.cs.meta similarity index 83% rename from Assets/Drawing/Drawable Frame/PencilTool.cs.meta rename to Assets/Drawing/Scripts/PencilTool.cs.meta index 363f2d3..987655e 100644 --- a/Assets/Drawing/Drawable Frame/PencilTool.cs.meta +++ b/Assets/Drawing/Scripts/PencilTool.cs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: c16934d4d3f425a47904cdd2deb96213 +guid: 5cb2d6fcf96e09a4a8cc27c66f0f99dc MonoImporter: externalObjects: {} serializedVersion: 2 diff --git a/Assets/Drawing/PencilSizeFromSlider.cs b/Assets/Drawing/Scripts/RadiusSlider.cs similarity index 86% rename from Assets/Drawing/PencilSizeFromSlider.cs rename to Assets/Drawing/Scripts/RadiusSlider.cs index e65cea0..0ed1a9b 100644 --- a/Assets/Drawing/PencilSizeFromSlider.cs +++ b/Assets/Drawing/Scripts/RadiusSlider.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; -public class PencilSizeFromSlider : MonoBehaviour +public class RadiusSlider : MonoBehaviour { public PencilTool pencil; diff --git a/Assets/Drawing/PencilSizeFromSlider.cs.meta b/Assets/Drawing/Scripts/RadiusSlider.cs.meta similarity index 100% rename from Assets/Drawing/PencilSizeFromSlider.cs.meta rename to Assets/Drawing/Scripts/RadiusSlider.cs.meta diff --git a/Assets/Drawing/Drawable Frame/SetSpriteFromDrawableFrame.cs b/Assets/Drawing/Scripts/SetSpriteFromDrawableFrame.cs similarity index 100% rename from Assets/Drawing/Drawable Frame/SetSpriteFromDrawableFrame.cs rename to Assets/Drawing/Scripts/SetSpriteFromDrawableFrame.cs diff --git a/Assets/Drawing/Drawable Frame/SetSpriteFromDrawableFrame.cs.meta b/Assets/Drawing/Scripts/SetSpriteFromDrawableFrame.cs.meta similarity index 83% rename from Assets/Drawing/Drawable Frame/SetSpriteFromDrawableFrame.cs.meta rename to Assets/Drawing/Scripts/SetSpriteFromDrawableFrame.cs.meta index 0bac31e..2f3b3f1 100644 --- a/Assets/Drawing/Drawable Frame/SetSpriteFromDrawableFrame.cs.meta +++ b/Assets/Drawing/Scripts/SetSpriteFromDrawableFrame.cs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: af9a3a82a38b2654db18233be6689f55 +guid: 21d58fc36c2296c4787f0492c99a5d2c MonoImporter: externalObjects: {} serializedVersion: 2 diff --git a/Assets/Drawing/Scripts/Timer.cs b/Assets/Drawing/Scripts/Timer.cs new file mode 100644 index 0000000..37687fd --- /dev/null +++ b/Assets/Drawing/Scripts/Timer.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.UI; + +public class Timer : MonoBehaviour +{ + public float startingTime = 0f; + public float time = 0f; + public bool isTriggered = false; + public bool isRunning = false; + + protected void Update() { + if(time >= 0f) { + if(isRunning) { + time -= Time.deltaTime; + } + } + else { + time = 0f; + if(isTriggered) { + OnTimeOut(EventArgs.Empty); + isTriggered = false; + } + } + } + + public void StartTimer(float startingTime) { + isTriggered = true; + isRunning = true; + this.startingTime = startingTime; + time = startingTime; + } + + public event EventHandler TimeOut; + protected virtual void OnTimeOut(EventArgs e) + { + EventHandler handler = TimeOut; + handler?.Invoke(this, e); + } +} diff --git a/Assets/Drawing/PencilColorFromButtonColor.cs.meta b/Assets/Drawing/Scripts/Timer.cs.meta similarity index 83% rename from Assets/Drawing/PencilColorFromButtonColor.cs.meta rename to Assets/Drawing/Scripts/Timer.cs.meta index 038b97b..465c084 100644 --- a/Assets/Drawing/PencilColorFromButtonColor.cs.meta +++ b/Assets/Drawing/Scripts/Timer.cs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: bde43f5e03d97d34ca130ffbe42185ae +guid: a7c45ddace297a54081e872022db68bd MonoImporter: externalObjects: {} serializedVersion: 2 diff --git a/Assets/Drawing/Scripts/TimerToText.cs b/Assets/Drawing/Scripts/TimerToText.cs new file mode 100644 index 0000000..6b872b4 --- /dev/null +++ b/Assets/Drawing/Scripts/TimerToText.cs @@ -0,0 +1,21 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.UI; + +public class TimerToText : MonoBehaviour +{ + protected Timer timer; + protected Text text; + + protected void Start() + { + timer = GetComponent(); + text = GetComponent(); + } + + public void Update() + { + text.text = Mathf.CeilToInt(timer.time).ToString(); + } +} diff --git a/Assets/Drawing/Scripts/TimerToText.cs.meta b/Assets/Drawing/Scripts/TimerToText.cs.meta new file mode 100644 index 0000000..a753f2e --- /dev/null +++ b/Assets/Drawing/Scripts/TimerToText.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 29981655a32a0e643809a1050b09b910 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Plugins.meta b/Assets/Plugins.meta new file mode 100644 index 0000000..a223725 --- /dev/null +++ b/Assets/Plugins.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: aaf9bd224abbcaf4ea735306b30dab0f +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/SampleScene.unity b/Assets/Scenes/SampleScene.unity index 2a9c519..c3bab48 100644 --- a/Assets/Scenes/SampleScene.unity +++ b/Assets/Scenes/SampleScene.unity @@ -121,485 +121,6 @@ NavMeshSettings: debug: m_Flags: 0 m_NavMeshData: {fileID: 0} ---- !u!1 &47822284 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 47822285} - - component: {fileID: 47822286} - - component: {fileID: 47822287} - m_Layer: 5 - m_Name: Pencil Size (Slider) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &47822285 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 47822284} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 4, y: 4, z: 4} - m_Children: - - {fileID: 1529058365} - - {fileID: 1321094166} - - {fileID: 2102523599} - m_Father: {fileID: 625959121} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 0, y: 48} - m_SizeDelta: {x: 236, y: 20} - m_Pivot: {x: 0.5, y: 0} ---- !u!114 &47822286 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 47822284} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 67db9e8f0e2ae9c40bc1e2b64352a6b4, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 1349944219} - m_FillRect: {fileID: 1828690848} - m_HandleRect: {fileID: 1349944218} - m_Direction: 0 - m_MinValue: 1 - m_MaxValue: 100 - m_WholeNumbers: 0 - m_Value: 20 - m_OnValueChanged: - m_PersistentCalls: - m_Calls: - - m_Target: {fileID: 47822287} - m_MethodName: OnValueChange - m_Mode: 1 - m_Arguments: - m_ObjectArgument: {fileID: 0} - m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine - m_IntArgument: 0 - m_FloatArgument: 0 - m_StringArgument: - m_BoolArgument: 0 - m_CallState: 2 ---- !u!114 &47822287 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 47822284} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 8db7563e4404ce94289f591f8c90f478, type: 3} - m_Name: - m_EditorClassIdentifier: - pencil: {fileID: 1208158024} ---- !u!1 &136722155 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 136722156} - - component: {fileID: 136722160} - - component: {fileID: 136722159} - - component: {fileID: 136722158} - - component: {fileID: 136722157} - m_Layer: 5 - m_Name: White (Button) (3) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &136722156 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 136722155} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 625959121} - m_RootOrder: 4 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: -200, y: 150} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0} ---- !u!114 &136722157 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 136722155} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: bde43f5e03d97d34ca130ffbe42185ae, type: 3} - m_Name: - m_EditorClassIdentifier: - pencil: {fileID: 1208158024} ---- !u!114 &136722158 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 136722155} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 136722159} - m_OnClick: - m_PersistentCalls: - m_Calls: - - m_Target: {fileID: 136722157} - m_MethodName: OnClick - m_Mode: 1 - m_Arguments: - m_ObjectArgument: {fileID: 0} - m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine - m_IntArgument: 0 - m_FloatArgument: 0 - m_StringArgument: - m_BoolArgument: 0 - m_CallState: 2 ---- !u!114 &136722159 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 136722155} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.627451, g: 0.8, b: 1, a: 1} - m_RaycastTarget: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} - m_Type: 1 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!222 &136722160 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 136722155} - m_CullTransparentMesh: 0 ---- !u!1 &381769856 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 381769857} - - component: {fileID: 381769859} - - component: {fileID: 381769858} - m_Layer: 5 - m_Name: Player Name (Text) (1) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &381769857 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 381769856} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 625959121} - m_RootOrder: 5 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 1, y: 1} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: -12, y: -12} - m_SizeDelta: {x: 200, y: 200} - m_Pivot: {x: 1, y: 1} ---- !u!114 &381769858 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 381769856} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 80 - m_FontStyle: 0 - m_BestFit: 0 - m_MinSize: 3 - m_MaxSize: 111 - m_Alignment: 4 - m_AlignByGeometry: 0 - m_RichText: 1 - m_HorizontalOverflow: 0 - m_VerticalOverflow: 0 - m_LineSpacing: 1 - m_Text: 99 ---- !u!222 &381769859 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 381769856} - m_CullTransparentMesh: 0 ---- !u!1 &428247859 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 428247860} - - component: {fileID: 428247862} - - component: {fileID: 428247861} - m_Layer: 5 - m_Name: Player Name (Text) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &428247860 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 428247859} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 625959121} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 19.97461, y: -12} - m_SizeDelta: {x: 800, y: 200} - m_Pivot: {x: 0, y: 1} ---- !u!114 &428247861 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 428247859} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 80 - m_FontStyle: 0 - m_BestFit: 0 - m_MinSize: 3 - m_MaxSize: 111 - m_Alignment: 4 - m_AlignByGeometry: 0 - m_RichText: 1 - m_HorizontalOverflow: 0 - m_VerticalOverflow: 0 - m_LineSpacing: 1 - m_Text: PLAYER_NAME ---- !u!222 &428247862 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 428247859} - m_CullTransparentMesh: 0 ---- !u!1001 &445777798 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 0} - m_Modifications: - - target: {fileID: 4833107060060655765, guid: 8e77ff0cbae87e244b0b9332ffca0360, - type: 3} - propertyPath: m_Name - value: Drawable Frame - objectReference: {fileID: 0} - - target: {fileID: 4833107060060655767, guid: 8e77ff0cbae87e244b0b9332ffca0360, - type: 3} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4833107060060655767, guid: 8e77ff0cbae87e244b0b9332ffca0360, - type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4833107060060655767, guid: 8e77ff0cbae87e244b0b9332ffca0360, - type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4833107060060655767, guid: 8e77ff0cbae87e244b0b9332ffca0360, - type: 3} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4833107060060655767, guid: 8e77ff0cbae87e244b0b9332ffca0360, - type: 3} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4833107060060655767, guid: 8e77ff0cbae87e244b0b9332ffca0360, - type: 3} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4833107060060655767, guid: 8e77ff0cbae87e244b0b9332ffca0360, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 4833107060060655767, guid: 8e77ff0cbae87e244b0b9332ffca0360, - type: 3} - propertyPath: m_RootOrder - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 4833107060060655767, guid: 8e77ff0cbae87e244b0b9332ffca0360, - type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4833107060060655767, guid: 8e77ff0cbae87e244b0b9332ffca0360, - type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4833107060060655767, guid: 8e77ff0cbae87e244b0b9332ffca0360, - type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 8e77ff0cbae87e244b0b9332ffca0360, type: 3} --- !u!1 &519420028 GameObject: m_ObjectHideFlags: 0 @@ -683,148 +204,6 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &609865934 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 609865935} - - component: {fileID: 609865939} - - component: {fileID: 609865938} - - component: {fileID: 609865937} - - component: {fileID: 609865936} - m_Layer: 5 - m_Name: White (Button) (1) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &609865935 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 609865934} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 625959121} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: -420, y: 150} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0} ---- !u!114 &609865936 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 609865934} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: bde43f5e03d97d34ca130ffbe42185ae, type: 3} - m_Name: - m_EditorClassIdentifier: - pencil: {fileID: 1208158024} ---- !u!114 &609865937 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 609865934} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 609865938} - m_OnClick: - m_PersistentCalls: - m_Calls: - - m_Target: {fileID: 609865936} - m_MethodName: OnClick - m_Mode: 1 - m_Arguments: - m_ObjectArgument: {fileID: 0} - m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine - m_IntArgument: 0 - m_FloatArgument: 0 - m_StringArgument: - m_BoolArgument: 0 - m_CallState: 2 ---- !u!114 &609865938 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 609865934} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.10980392, g: 0.16862746, b: 0.30980393, a: 1} - m_RaycastTarget: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} - m_Type: 1 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!222 &609865939 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 609865934} - m_CullTransparentMesh: 0 --- !u!1 &625959117 GameObject: m_ObjectHideFlags: 0 @@ -839,7 +218,7 @@ GameObject: - component: {fileID: 625959118} m_Layer: 5 m_Name: Canvas - m_TagString: Untagged + m_TagString: Canvas m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 @@ -914,13 +293,7 @@ RectTransform: m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 0, y: 0, z: 0} - m_Children: - - {fileID: 428247860} - - {fileID: 47822285} - - {fileID: 609865935} - - {fileID: 1715064786} - - {fileID: 136722156} - - {fileID: 381769857} + m_Children: [] m_Father: {fileID: 0} m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -995,448 +368,72 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!114 &1208158024 stripped -MonoBehaviour: - m_CorrespondingSourceObject: {fileID: 4833107060060655766, guid: 8e77ff0cbae87e244b0b9332ffca0360, - type: 3} - m_PrefabInstance: {fileID: 445777798} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: c16934d4d3f425a47904cdd2deb96213, type: 3} - m_Name: - m_EditorClassIdentifier: ---- !u!1 &1321094165 -GameObject: +--- !u!1001 &3241962965509540481 +PrefabInstance: m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1321094166} - m_Layer: 5 - m_Name: Fill Area - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1321094166 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1321094165} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: - - {fileID: 1828690848} - m_Father: {fileID: 47822285} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0.25} - m_AnchorMax: {x: 1, y: 0.75} - m_AnchoredPosition: {x: -5.0000305, y: 0} - m_SizeDelta: {x: -20, y: 0} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &1349944217 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1349944218} - - component: {fileID: 1349944220} - - component: {fileID: 1349944219} - m_Layer: 5 - m_Name: Handle - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1349944218 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1349944217} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 2102523599} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 20, y: 0} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &1349944219 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1349944217} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 10913, guid: 0000000000000000f000000000000000, type: 0} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!222 &1349944220 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1349944217} - m_CullTransparentMesh: 0 ---- !u!1 &1529058364 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1529058365} - - component: {fileID: 1529058367} - - component: {fileID: 1529058366} - m_Layer: 5 - m_Name: Background - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1529058365 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1529058364} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 47822285} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0.25} - m_AnchorMax: {x: 1, y: 0.75} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &1529058366 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1529058364} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.047058824, g: 0.09803922, b: 0.23137255, a: 1} - m_RaycastTarget: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} - m_Type: 1 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!222 &1529058367 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1529058364} - m_CullTransparentMesh: 0 ---- !u!1 &1715064785 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1715064786} - - component: {fileID: 1715064790} - - component: {fileID: 1715064789} - - component: {fileID: 1715064788} - - component: {fileID: 1715064787} - m_Layer: 5 - m_Name: White (Button) (2) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1715064786 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1715064785} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 625959121} - m_RootOrder: 3 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: -310, y: 150} - m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0.5, y: 0} ---- !u!114 &1715064787 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1715064785} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: bde43f5e03d97d34ca130ffbe42185ae, type: 3} - m_Name: - m_EditorClassIdentifier: - pencil: {fileID: 1208158024} ---- !u!114 &1715064788 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1715064785} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 1715064789} - m_OnClick: - m_PersistentCalls: - m_Calls: - - m_Target: {fileID: 1715064787} - m_MethodName: OnClick - m_Mode: 1 - m_Arguments: - m_ObjectArgument: {fileID: 0} - m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine - m_IntArgument: 0 - m_FloatArgument: 0 - m_StringArgument: - m_BoolArgument: 0 - m_CallState: 2 ---- !u!114 &1715064789 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1715064785} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.16470589, g: 0.23921569, b: 0.38431373, a: 1} - m_RaycastTarget: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} - m_Type: 1 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!222 &1715064790 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1715064785} - m_CullTransparentMesh: 0 ---- !u!1 &1828690847 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1828690848} - - component: {fileID: 1828690850} - - component: {fileID: 1828690849} - m_Layer: 5 - m_Name: Fill - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1828690848 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1828690847} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 1321094166} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 10, y: 0} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &1828690849 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1828690847} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.627451, g: 0.8, b: 1, a: 1} - m_RaycastTarget: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} - m_Type: 1 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!222 &1828690850 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1828690847} - m_CullTransparentMesh: 0 ---- !u!1 &2102523598 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 2102523599} - m_Layer: 5 - m_Name: Handle Slide Area - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &2102523599 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2102523598} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: - - {fileID: 1349944218} - m_Father: {fileID: 47822285} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: -20, y: 0} - m_Pivot: {x: 0.5, y: 0.5} + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 3241962964773812264, guid: 4fd713402edcc1c43b82d4d86a713998, + type: 3} + propertyPath: m_Name + value: Drawing Manager + objectReference: {fileID: 0} + - target: {fileID: 3241962964773812267, guid: 4fd713402edcc1c43b82d4d86a713998, + type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3241962964773812267, guid: 4fd713402edcc1c43b82d4d86a713998, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3241962964773812267, guid: 4fd713402edcc1c43b82d4d86a713998, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3241962964773812267, guid: 4fd713402edcc1c43b82d4d86a713998, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3241962964773812267, guid: 4fd713402edcc1c43b82d4d86a713998, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3241962964773812267, guid: 4fd713402edcc1c43b82d4d86a713998, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3241962964773812267, guid: 4fd713402edcc1c43b82d4d86a713998, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3241962964773812267, guid: 4fd713402edcc1c43b82d4d86a713998, + type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3241962964773812267, guid: 4fd713402edcc1c43b82d4d86a713998, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3241962964773812267, guid: 4fd713402edcc1c43b82d4d86a713998, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3241962964773812267, guid: 4fd713402edcc1c43b82d4d86a713998, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 4fd713402edcc1c43b82d4d86a713998, type: 3} diff --git a/ProjectSettings/TagManager.asset b/ProjectSettings/TagManager.asset index 1c92a78..17644a6 100644 --- a/ProjectSettings/TagManager.asset +++ b/ProjectSettings/TagManager.asset @@ -3,7 +3,8 @@ --- !u!78 &1 TagManager: serializedVersion: 2 - tags: [] + tags: + - Canvas layers: - Default - TransparentFX diff --git a/used_licenses.md b/used_licenses.md new file mode 100644 index 0000000..31f271c --- /dev/null +++ b/used_licenses.md @@ -0,0 +1,2 @@ +# Licenses +