Compare commits
14 Commits
e63fea3712
...
386760842c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
386760842c | ||
|
|
166128fa8f | ||
|
|
940fed41be | ||
|
|
aa51dd3882 | ||
|
|
9e1eea664c | ||
|
|
f970210e64 | ||
|
|
6872158d2d | ||
|
|
b39d2a798c | ||
|
|
c899da030a | ||
|
|
44bdb3286c | ||
|
|
6c14eaaacf | ||
|
|
b4d10f62cb | ||
|
|
7a4bd29b57 | ||
| 378b00096a |
@@ -15,12 +15,24 @@ MonoBehaviour:
|
|||||||
m_GroupName: Drawing
|
m_GroupName: Drawing
|
||||||
m_GUID: 2c56f39dfa281426bbb0636a757c203b
|
m_GUID: 2c56f39dfa281426bbb0636a757c203b
|
||||||
m_SerializeEntries:
|
m_SerializeEntries:
|
||||||
|
- m_GUID: 2d55441a1a6751c45bb9af623301426e
|
||||||
|
m_Address: Car
|
||||||
|
m_ReadOnly: 0
|
||||||
|
m_SerializedLabels:
|
||||||
|
- drawing
|
||||||
|
FlaggedDuringContentUpdateRestriction: 0
|
||||||
- m_GUID: 364f644d962504fa7ac2f382800014ea
|
- m_GUID: 364f644d962504fa7ac2f382800014ea
|
||||||
m_Address: apple
|
m_Address: apple
|
||||||
m_ReadOnly: 0
|
m_ReadOnly: 0
|
||||||
m_SerializedLabels:
|
m_SerializedLabels:
|
||||||
- drawing
|
- drawing
|
||||||
FlaggedDuringContentUpdateRestriction: 0
|
FlaggedDuringContentUpdateRestriction: 0
|
||||||
|
- m_GUID: 977dc7dac5ee6b543b8ed47c2299919e
|
||||||
|
m_Address: Airplane
|
||||||
|
m_ReadOnly: 0
|
||||||
|
m_SerializedLabels:
|
||||||
|
- drawing
|
||||||
|
FlaggedDuringContentUpdateRestriction: 0
|
||||||
m_ReadOnly: 0
|
m_ReadOnly: 0
|
||||||
m_Settings: {fileID: 11400000, guid: 4a94ef317c3674edd8270e4ed15031f6, type: 2}
|
m_Settings: {fileID: 11400000, guid: 4a94ef317c3674edd8270e4ed15031f6, type: 2}
|
||||||
m_SchemaSet:
|
m_SchemaSet:
|
||||||
|
|||||||
@@ -13,5 +13,8 @@ public interface IColoringController
|
|||||||
|
|
||||||
void PaintRegion(string regionId, Color color);
|
void PaintRegion(string regionId, Color color);
|
||||||
IReadOnlyDictionary<string, Color> GetCurrentColors();
|
IReadOnlyDictionary<string, Color> GetCurrentColors();
|
||||||
|
UniTask PlayCompletionAnimationAsync(CancellationToken ct);
|
||||||
|
bool HasNonAuthoredColors { get; }
|
||||||
|
void ResetAll();
|
||||||
void Clear();
|
void Clear();
|
||||||
}
|
}
|
||||||
@@ -12,6 +12,7 @@ namespace Darkmatter.Core.Contracts.Features.DrawingCatalog
|
|||||||
Sprite DefaultThumbnail { get; }
|
Sprite DefaultThumbnail { get; }
|
||||||
GameObject DrawingPrefab { get; }
|
GameObject DrawingPrefab { get; }
|
||||||
GameObject ColoringPrefab { get; }
|
GameObject ColoringPrefab { get; }
|
||||||
|
GameObject CompletionAnimationPrefab { get; }
|
||||||
IReadOnlyList<ShapeSO> Pieces { get; }
|
IReadOnlyList<ShapeSO> Pieces { get; }
|
||||||
IReadOnlyList<ColorRegionDTO> Regions { get; }
|
IReadOnlyList<ColorRegionDTO> Regions { get; }
|
||||||
string ColorPaletteId { get; }
|
string ColorPaletteId { get; }
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
namespace Darkmatter.Core.Data.Signals.Features.Coloring
|
||||||
|
{
|
||||||
|
public record struct RegionsInitializedSignal;
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2fa8b37ac847d4387b9289a4da8a07f4
|
||||||
@@ -15,6 +15,7 @@ namespace Darkmatter.Core.Data.Static.Features.DrawingTemplate
|
|||||||
[SerializeField] private Sprite defaultThumbnail;
|
[SerializeField] private Sprite defaultThumbnail;
|
||||||
[SerializeField] private GameObject drawingPrefab;
|
[SerializeField] private GameObject drawingPrefab;
|
||||||
[SerializeField] private GameObject coloringPrefab;
|
[SerializeField] private GameObject coloringPrefab;
|
||||||
|
[SerializeField] private GameObject completionAnimationPrefab;
|
||||||
[SerializeField] private List<ShapeSO> pieces = new();
|
[SerializeField] private List<ShapeSO> pieces = new();
|
||||||
[SerializeField] private List<RegionAuthoring> regions = new();
|
[SerializeField] private List<RegionAuthoring> regions = new();
|
||||||
[SerializeField] private string colorPaletteId = "defaultPalette";
|
[SerializeField] private string colorPaletteId = "defaultPalette";
|
||||||
@@ -24,6 +25,7 @@ namespace Darkmatter.Core.Data.Static.Features.DrawingTemplate
|
|||||||
public Sprite DefaultThumbnail => defaultThumbnail;
|
public Sprite DefaultThumbnail => defaultThumbnail;
|
||||||
public GameObject DrawingPrefab => drawingPrefab;
|
public GameObject DrawingPrefab => drawingPrefab;
|
||||||
public GameObject ColoringPrefab => coloringPrefab;
|
public GameObject ColoringPrefab => coloringPrefab;
|
||||||
|
public GameObject CompletionAnimationPrefab => completionAnimationPrefab;
|
||||||
public IReadOnlyList<ShapeSO> Pieces => pieces;
|
public IReadOnlyList<ShapeSO> Pieces => pieces;
|
||||||
public IReadOnlyList<ColorRegionDTO> Regions => Array.Empty<ColorRegionDTO>();
|
public IReadOnlyList<ColorRegionDTO> Regions => Array.Empty<ColorRegionDTO>();
|
||||||
public string ColorPaletteId => colorPaletteId;
|
public string ColorPaletteId => colorPaletteId;
|
||||||
@@ -32,7 +34,8 @@ namespace Darkmatter.Core.Data.Static.Features.DrawingTemplate
|
|||||||
|
|
||||||
#if UNITY_EDITOR
|
#if UNITY_EDITOR
|
||||||
public void EditorSet(string newId, string newDisplayName, Sprite thumbnail,
|
public void EditorSet(string newId, string newDisplayName, Sprite thumbnail,
|
||||||
GameObject drawing, GameObject coloring, List<ShapeSO> newPieces,
|
GameObject drawing, GameObject coloring, GameObject completionAnimation,
|
||||||
|
List<ShapeSO> newPieces,
|
||||||
List<RegionAuthoring> newRegions, string paletteId)
|
List<RegionAuthoring> newRegions, string paletteId)
|
||||||
{
|
{
|
||||||
id = newId;
|
id = newId;
|
||||||
@@ -40,6 +43,7 @@ namespace Darkmatter.Core.Data.Static.Features.DrawingTemplate
|
|||||||
defaultThumbnail = thumbnail;
|
defaultThumbnail = thumbnail;
|
||||||
drawingPrefab = drawing;
|
drawingPrefab = drawing;
|
||||||
coloringPrefab = coloring;
|
coloringPrefab = coloring;
|
||||||
|
completionAnimationPrefab = completionAnimation;
|
||||||
pieces = newPieces ?? new List<ShapeSO>();
|
pieces = newPieces ?? new List<ShapeSO>();
|
||||||
regions = newRegions ?? new List<RegionAuthoring>();
|
regions = newRegions ?? new List<RegionAuthoring>();
|
||||||
colorPaletteId = paletteId;
|
colorPaletteId = paletteId;
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ public class ColorbookFlowController : IAsyncStartable, IDisposable
|
|||||||
|
|
||||||
private IDisposable _selectedSub;
|
private IDisposable _selectedSub;
|
||||||
private IDisposable _returnToMainMenuSubscription;
|
private IDisposable _returnToMainMenuSubscription;
|
||||||
|
private bool _navigatingToGameplay;
|
||||||
|
|
||||||
public ColorbookFlowController(
|
public ColorbookFlowController(
|
||||||
IDrawingCatalogController drawingCatalog,
|
IDrawingCatalogController drawingCatalog,
|
||||||
@@ -37,6 +38,7 @@ public class ColorbookFlowController : IAsyncStartable, IDisposable
|
|||||||
_progression = progression;
|
_progression = progression;
|
||||||
_scenes = scenes;
|
_scenes = scenes;
|
||||||
_bus = bus;
|
_bus = bus;
|
||||||
|
_selectedSub = _bus.Subscribe<DrawingSelectedSignal>(OnDrawingSelected);
|
||||||
}
|
}
|
||||||
|
|
||||||
public async UniTask StartAsync(CancellationToken cancellation = new CancellationToken())
|
public async UniTask StartAsync(CancellationToken cancellation = new CancellationToken())
|
||||||
@@ -44,8 +46,7 @@ public class ColorbookFlowController : IAsyncStartable, IDisposable
|
|||||||
_returnToMainMenuSubscription = _bus.Subscribe<ReturnToMainMenuSignal>(OnReturnToMainMenu);
|
_returnToMainMenuSubscription = _bus.Subscribe<ReturnToMainMenuSignal>(OnReturnToMainMenu);
|
||||||
_loadingScreen.SetProgress(1f);
|
_loadingScreen.SetProgress(1f);
|
||||||
await _drawingCatalog.InitializeAsync(cancellation);
|
await _drawingCatalog.InitializeAsync(cancellation);
|
||||||
_selectedSub = _bus.Subscribe<DrawingSelectedSignal>(OnDrawingSelected);
|
if (!_navigatingToGameplay) _loadingScreen.Hide();
|
||||||
_loadingScreen.Hide();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnReturnToMainMenu(ReturnToMainMenuSignal signal)
|
private void OnReturnToMainMenu(ReturnToMainMenuSignal signal)
|
||||||
@@ -65,6 +66,7 @@ public class ColorbookFlowController : IAsyncStartable, IDisposable
|
|||||||
|
|
||||||
private void OnDrawingSelected(DrawingSelectedSignal signal)
|
private void OnDrawingSelected(DrawingSelectedSignal signal)
|
||||||
{
|
{
|
||||||
|
_navigatingToGameplay = true;
|
||||||
HandleSelectionAsync(signal.TemplateId).Forget();
|
HandleSelectionAsync(signal.TemplateId).Forget();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -31,8 +31,10 @@ public class ColoringController : IColoringController, IDisposable
|
|||||||
|
|
||||||
private GameObject _colorInstance;
|
private GameObject _colorInstance;
|
||||||
private GameObject _colorButtonPrefab;
|
private GameObject _colorButtonPrefab;
|
||||||
|
private GameObject _completionAnimationPrefab;
|
||||||
private readonly List<ColorRegionView> _regions = new();
|
private readonly List<ColorRegionView> _regions = new();
|
||||||
private readonly List<ColorButton> _buttons = new();
|
private readonly List<ColorButton> _buttons = new();
|
||||||
|
private readonly Dictionary<string, Color> _authoredColors = new();
|
||||||
|
|
||||||
public ColoringController(
|
public ColoringController(
|
||||||
ColoringStateRepository repository,
|
ColoringStateRepository repository,
|
||||||
@@ -63,6 +65,7 @@ public class ColoringController : IColoringController, IDisposable
|
|||||||
ct.ThrowIfCancellationRequested();
|
ct.ThrowIfCancellationRequested();
|
||||||
CreateColorButtonInstances();
|
CreateColorButtonInstances();
|
||||||
InitializeColorRegions(template, savedColors);
|
InitializeColorRegions(template, savedColors);
|
||||||
|
_bus.Publish(new RegionsInitializedSignal());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void PaintRegion(string regionId, Color color)
|
public void PaintRegion(string regionId, Color color)
|
||||||
@@ -84,6 +87,48 @@ public class ColoringController : IColoringController, IDisposable
|
|||||||
return snapshot;
|
return snapshot;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public async UniTask PlayCompletionAnimationAsync(CancellationToken ct)
|
||||||
|
{
|
||||||
|
if (_completionAnimationPrefab == null) return;
|
||||||
|
var instance = UnityEngine.Object.Instantiate(_completionAnimationPrefab, _refs.PaperRoot);
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var view = instance.GetComponentInChildren<CompletionAnimationView>();
|
||||||
|
if (view == null) return;
|
||||||
|
await view.PlayAsync(ct);
|
||||||
|
}
|
||||||
|
finally
|
||||||
|
{
|
||||||
|
if (instance != null) UnityEngine.Object.Destroy(instance);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool HasNonAuthoredColors
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
foreach (var region in _regions)
|
||||||
|
{
|
||||||
|
if (region == null) continue;
|
||||||
|
if (_authoredColors.TryGetValue(region.RegionId, out var authored) && region.Color != authored)
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void ResetAll()
|
||||||
|
{
|
||||||
|
if (_regions.Count == 0) return;
|
||||||
|
foreach (var region in _regions)
|
||||||
|
{
|
||||||
|
if (region == null) continue;
|
||||||
|
if (_authoredColors.TryGetValue(region.RegionId, out var authored))
|
||||||
|
region.SetColor(authored);
|
||||||
|
}
|
||||||
|
_history.Drop();
|
||||||
|
}
|
||||||
|
|
||||||
public void Clear()
|
public void Clear()
|
||||||
{
|
{
|
||||||
_history.Drop();
|
_history.Drop();
|
||||||
@@ -94,6 +139,8 @@ public class ColoringController : IColoringController, IDisposable
|
|||||||
_buttons.Clear();
|
_buttons.Clear();
|
||||||
|
|
||||||
_regions.Clear();
|
_regions.Clear();
|
||||||
|
_authoredColors.Clear();
|
||||||
|
_completionAnimationPrefab = null;
|
||||||
|
|
||||||
if (_colorInstance != null)
|
if (_colorInstance != null)
|
||||||
{
|
{
|
||||||
@@ -107,12 +154,14 @@ public class ColoringController : IColoringController, IDisposable
|
|||||||
private void InitializeColorRegions(IDrawingTemplate template, IReadOnlyDictionary<string, Color> savedColors)
|
private void InitializeColorRegions(IDrawingTemplate template, IReadOnlyDictionary<string, Color> savedColors)
|
||||||
{
|
{
|
||||||
_colorInstance = UnityEngine.Object.Instantiate(template.ColoringPrefab, _refs.PaperRoot);
|
_colorInstance = UnityEngine.Object.Instantiate(template.ColoringPrefab, _refs.PaperRoot);
|
||||||
|
_completionAnimationPrefab = template.CompletionAnimationPrefab;
|
||||||
var views = _colorInstance.GetComponentsInChildren<ColorRegionView>(includeInactive: true);
|
var views = _colorInstance.GetComponentsInChildren<ColorRegionView>(includeInactive: true);
|
||||||
|
|
||||||
foreach (var region in views)
|
foreach (var region in views)
|
||||||
{
|
{
|
||||||
var id = region.RegionId;
|
var id = region.RegionId;
|
||||||
var authoredColor = region.Color;
|
var authoredColor = region.Color;
|
||||||
|
_authoredColors[id] = authoredColor;
|
||||||
var resumeColor = savedColors != null && savedColors.TryGetValue(id, out var saved)
|
var resumeColor = savedColors != null && savedColors.TryGetValue(id, out var saved)
|
||||||
? saved
|
? saved
|
||||||
: authoredColor;
|
: authoredColor;
|
||||||
|
|||||||
@@ -34,7 +34,6 @@ namespace Darkmatter.Features.Coloring.UI
|
|||||||
|
|
||||||
public void OnPointerClick(PointerEventData eventData)
|
public void OnPointerClick(PointerEventData eventData)
|
||||||
{
|
{
|
||||||
Debug.Log($"[ColorRegion] clicked '{RegionId}' on '{gameObject.name}'");
|
|
||||||
OnRegionClicked?.Invoke();
|
OnRegionClicked?.Invoke();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,30 @@
|
|||||||
|
using System.Threading;
|
||||||
|
using Cysharp.Threading.Tasks;
|
||||||
|
using PrimeTween;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace Darkmatter.Features.Coloring.UI
|
||||||
|
{
|
||||||
|
public class CompletionAnimationView : MonoBehaviour
|
||||||
|
{
|
||||||
|
[SerializeField] private RectTransform target;
|
||||||
|
[SerializeField] private float duration = 0.6f;
|
||||||
|
[SerializeField] private Vector3 startScale = Vector3.zero;
|
||||||
|
[SerializeField] private Vector3 endScale = Vector3.one;
|
||||||
|
[SerializeField] private Ease ease = Ease.OutBack;
|
||||||
|
|
||||||
|
public async UniTask PlayAsync(CancellationToken ct)
|
||||||
|
{
|
||||||
|
var rt = target != null ? target : transform as RectTransform;
|
||||||
|
if (rt == null) return;
|
||||||
|
rt.localScale = startScale;
|
||||||
|
await Tween.Scale(rt, endScale, duration, ease).ToUniTask(cancellationToken: ct);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnDestroy()
|
||||||
|
{
|
||||||
|
var rt = target != null ? target : transform as RectTransform;
|
||||||
|
if (rt != null) Tween.StopAll(onTarget: rt);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 01fc8d24088db42b3a76d40120f81a9c
|
||||||
@@ -212,6 +212,7 @@ namespace Darkmatter.Features.DrawingTemplates.Editor
|
|||||||
EditorGUILayout.LabelField("Prefabs", EditorStyles.boldLabel);
|
EditorGUILayout.LabelField("Prefabs", EditorStyles.boldLabel);
|
||||||
EditorGUILayout.PropertyField(so.FindProperty("drawingPrefab"), new GUIContent("Drawing Prefab (SlotMarkers)"));
|
EditorGUILayout.PropertyField(so.FindProperty("drawingPrefab"), new GUIContent("Drawing Prefab (SlotMarkers)"));
|
||||||
EditorGUILayout.PropertyField(so.FindProperty("coloringPrefab"), new GUIContent("Coloring Prefab (ColorRegionViews)"));
|
EditorGUILayout.PropertyField(so.FindProperty("coloringPrefab"), new GUIContent("Coloring Prefab (ColorRegionViews)"));
|
||||||
|
EditorGUILayout.PropertyField(so.FindProperty("completionAnimationPrefab"), new GUIContent("Completion Animation Prefab"));
|
||||||
|
|
||||||
EditorGUILayout.Space(6);
|
EditorGUILayout.Space(6);
|
||||||
EditorGUILayout.LabelField("Palette", EditorStyles.boldLabel);
|
EditorGUILayout.LabelField("Palette", EditorStyles.boldLabel);
|
||||||
@@ -231,7 +232,7 @@ namespace Darkmatter.Features.DrawingTemplates.Editor
|
|||||||
Undo.RecordObject(t, "Clear Pieces");
|
Undo.RecordObject(t, "Clear Pieces");
|
||||||
var emptyPieces = new List<ShapeSO>();
|
var emptyPieces = new List<ShapeSO>();
|
||||||
t.EditorSet(t.Id, t.DisplayName, t.DefaultThumbnail, t.DrawingPrefab, t.ColoringPrefab,
|
t.EditorSet(t.Id, t.DisplayName, t.DefaultThumbnail, t.DrawingPrefab, t.ColoringPrefab,
|
||||||
emptyPieces, t.AuthoredRegions.ToList(), t.ColorPaletteId);
|
t.CompletionAnimationPrefab, emptyPieces, t.AuthoredRegions.ToList(), t.ColorPaletteId);
|
||||||
EditorUtility.SetDirty(t);
|
EditorUtility.SetDirty(t);
|
||||||
so.Update();
|
so.Update();
|
||||||
}
|
}
|
||||||
@@ -263,7 +264,7 @@ namespace Darkmatter.Features.DrawingTemplates.Editor
|
|||||||
{
|
{
|
||||||
Undo.RecordObject(t, "Clear Regions");
|
Undo.RecordObject(t, "Clear Regions");
|
||||||
t.EditorSet(t.Id, t.DisplayName, t.DefaultThumbnail, t.DrawingPrefab, t.ColoringPrefab,
|
t.EditorSet(t.Id, t.DisplayName, t.DefaultThumbnail, t.DrawingPrefab, t.ColoringPrefab,
|
||||||
t.Pieces.ToList(), new List<RegionAuthoring>(), t.ColorPaletteId);
|
t.CompletionAnimationPrefab, t.Pieces.ToList(), new List<RegionAuthoring>(), t.ColorPaletteId);
|
||||||
EditorUtility.SetDirty(t);
|
EditorUtility.SetDirty(t);
|
||||||
so.Update();
|
so.Update();
|
||||||
}
|
}
|
||||||
@@ -327,11 +328,11 @@ namespace Darkmatter.Features.DrawingTemplates.Editor
|
|||||||
foreach (var m in markers)
|
foreach (var m in markers)
|
||||||
{
|
{
|
||||||
if (m.Shape == null) { missing++; continue; }
|
if (m.Shape == null) { missing++; continue; }
|
||||||
if (!pieces.Contains(m.Shape)) pieces.Add(m.Shape);
|
pieces.Add(m.Shape);
|
||||||
}
|
}
|
||||||
Undo.RecordObject(t, "Scan Drawing Prefab");
|
Undo.RecordObject(t, "Scan Drawing Prefab");
|
||||||
t.EditorSet(t.Id, t.DisplayName, t.DefaultThumbnail, t.DrawingPrefab, t.ColoringPrefab,
|
t.EditorSet(t.Id, t.DisplayName, t.DefaultThumbnail, t.DrawingPrefab, t.ColoringPrefab,
|
||||||
pieces, t.AuthoredRegions.ToList(), t.ColorPaletteId);
|
t.CompletionAnimationPrefab, pieces, t.AuthoredRegions.ToList(), t.ColorPaletteId);
|
||||||
EditorUtility.SetDirty(t);
|
EditorUtility.SetDirty(t);
|
||||||
_lastScanReport = $"Found {markers.Length} SlotMarker(s), {pieces.Count} unique ShapeSO. {missing} marker(s) had no ShapeSO assigned.";
|
_lastScanReport = $"Found {markers.Length} SlotMarker(s), {pieces.Count} unique ShapeSO. {missing} marker(s) had no ShapeSO assigned.";
|
||||||
Validate();
|
Validate();
|
||||||
@@ -411,7 +412,7 @@ namespace Darkmatter.Features.DrawingTemplates.Editor
|
|||||||
|
|
||||||
Undo.RecordObject(t, "Scan Coloring Prefab");
|
Undo.RecordObject(t, "Scan Coloring Prefab");
|
||||||
t.EditorSet(t.Id, t.DisplayName, t.DefaultThumbnail, t.DrawingPrefab, t.ColoringPrefab,
|
t.EditorSet(t.Id, t.DisplayName, t.DefaultThumbnail, t.DrawingPrefab, t.ColoringPrefab,
|
||||||
t.Pieces.ToList(), regions, t.ColorPaletteId);
|
t.CompletionAnimationPrefab, t.Pieces.ToList(), regions, t.ColorPaletteId);
|
||||||
EditorUtility.SetDirty(t);
|
EditorUtility.SetDirty(t);
|
||||||
|
|
||||||
var report = new System.Text.StringBuilder();
|
var report = new System.Text.StringBuilder();
|
||||||
@@ -611,7 +612,7 @@ namespace Darkmatter.Features.DrawingTemplates.Editor
|
|||||||
if (string.IsNullOrEmpty(path)) return;
|
if (string.IsNullOrEmpty(path)) return;
|
||||||
var t = CreateInstance<DrawingTemplateSO>();
|
var t = CreateInstance<DrawingTemplateSO>();
|
||||||
var name = Path.GetFileNameWithoutExtension(path);
|
var name = Path.GetFileNameWithoutExtension(path);
|
||||||
t.EditorSet(name, name, null, null, null, new List<ShapeSO>(), new List<RegionAuthoring>(), "defaultPalette");
|
t.EditorSet(name, name, null, null, null, null, new List<ShapeSO>(), new List<RegionAuthoring>(), "defaultPalette");
|
||||||
AssetDatabase.CreateAsset(t, path);
|
AssetDatabase.CreateAsset(t, path);
|
||||||
AssetDatabase.SaveAssets();
|
AssetDatabase.SaveAssets();
|
||||||
Refresh();
|
Refresh();
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
using Darkmatter.Core.Contracts.Features.GameplayFlow;
|
using Darkmatter.Core.Contracts.Features.GameplayFlow;
|
||||||
using Darkmatter.Features.GameplayFlow.SceneRefs;
|
using Darkmatter.Features.GameplayFlow.SceneRefs;
|
||||||
using Darkmatter.Features.GameplayFlow.Systems;
|
using Darkmatter.Features.GameplayFlow.Systems;
|
||||||
|
using Darkmatter.Features.GameplayFlow.UI;
|
||||||
using Darkmatter.Libs.Installers;
|
using Darkmatter.Libs.Installers;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using VContainer;
|
using VContainer;
|
||||||
@@ -11,6 +12,8 @@ namespace Darkmatter.Features.GameplayFlow
|
|||||||
public class GameplayFlowFeatureModule : MonoBehaviour, IModule
|
public class GameplayFlowFeatureModule : MonoBehaviour, IModule
|
||||||
{
|
{
|
||||||
[SerializeField] private GameplaySceneRefs sceneRefs;
|
[SerializeField] private GameplaySceneRefs sceneRefs;
|
||||||
|
[SerializeField] private NextButtonView nextButtonView;
|
||||||
|
[SerializeField] private BackButtonView backButtonView;
|
||||||
|
|
||||||
public void Register(IContainerBuilder builder)
|
public void Register(IContainerBuilder builder)
|
||||||
{
|
{
|
||||||
@@ -20,6 +23,12 @@ namespace Darkmatter.Features.GameplayFlow
|
|||||||
builder.Register<GameplayFlowController>(Lifetime.Singleton)
|
builder.Register<GameplayFlowController>(Lifetime.Singleton)
|
||||||
.As<IGameplayFlowController>()
|
.As<IGameplayFlowController>()
|
||||||
.As<IAsyncStartable>();
|
.As<IAsyncStartable>();
|
||||||
|
|
||||||
|
if (nextButtonView != null)
|
||||||
|
builder.RegisterEntryPoint<NextButtonPresenter>().WithParameter(nextButtonView);
|
||||||
|
|
||||||
|
if (backButtonView != null)
|
||||||
|
builder.RegisterEntryPoint<BackButtonPresenter>().WithParameter(backButtonView);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ using Darkmatter.Core.Contracts.Services.Gallery;
|
|||||||
using Darkmatter.Core.Contracts.Services.Scenes;
|
using Darkmatter.Core.Contracts.Services.Scenes;
|
||||||
using Darkmatter.Core.Data.Dynamic.Features.Progression;
|
using Darkmatter.Core.Data.Dynamic.Features.Progression;
|
||||||
using Darkmatter.Core.Data.Signals.Features.Coloring;
|
using Darkmatter.Core.Data.Signals.Features.Coloring;
|
||||||
|
using Darkmatter.Core.Data.Signals.Features.Drawing;
|
||||||
using Darkmatter.Core.Data.Signals.Features.ShapeBuilder;
|
using Darkmatter.Core.Data.Signals.Features.ShapeBuilder;
|
||||||
using Darkmatter.Core.Enums.Features.Progression;
|
using Darkmatter.Core.Enums.Features.Progression;
|
||||||
using Darkmatter.Core.Enums.Services.Scenes;
|
using Darkmatter.Core.Enums.Services.Scenes;
|
||||||
@@ -106,9 +107,11 @@ namespace Darkmatter.Features.GameplayFlow.Systems
|
|||||||
public async UniTask BackAsync(CancellationToken ct)
|
public async UniTask BackAsync(CancellationToken ct)
|
||||||
{
|
{
|
||||||
await SaveCurrentAsync(CancellationToken.None);
|
await SaveCurrentAsync(CancellationToken.None);
|
||||||
|
_loadingScreen.Show();
|
||||||
_shapeBuilder.Clear();
|
_shapeBuilder.Clear();
|
||||||
_coloring.Clear();
|
_coloring.Clear();
|
||||||
await _scenes.LoadSceneAsync(GameScene.Colorbook, progress: null, cancellationToken: ct);
|
await _scenes.LoadSceneAsync(nameof(GameScene.Colorbook), progress: null, cancellationToken: ct);
|
||||||
|
await _scenes.UnloadSceneAsync(nameof(GameScene.Gameplay), progress: null, cancellationToken: ct);
|
||||||
}
|
}
|
||||||
|
|
||||||
public async UniTask SaveAsync(CancellationToken ct)
|
public async UniTask SaveAsync(CancellationToken ct)
|
||||||
@@ -120,19 +123,26 @@ namespace Darkmatter.Features.GameplayFlow.Systems
|
|||||||
public async UniTask NextAsync(CancellationToken ct)
|
public async UniTask NextAsync(CancellationToken ct)
|
||||||
{
|
{
|
||||||
await SaveCurrentAsync(ct);
|
await SaveCurrentAsync(ct);
|
||||||
|
await _coloring.PlayCompletionAnimationAsync(ct);
|
||||||
_progression.MarkCompleted(_templateId);
|
_progression.MarkCompleted(_templateId);
|
||||||
|
|
||||||
var nextId = _catalog.GetNextTemplate(_templateId);
|
var nextId = _catalog.GetNextTemplate(_templateId);
|
||||||
if (string.IsNullOrEmpty(nextId))
|
if (string.IsNullOrEmpty(nextId))
|
||||||
{
|
{
|
||||||
await _scenes.LoadSceneAsync(GameScene.Colorbook, progress: null, cancellationToken: default);
|
_loadingScreen.Show();
|
||||||
|
_shapeBuilder.Clear();
|
||||||
|
_coloring.Clear();
|
||||||
|
await _scenes.LoadSceneAsync(nameof(GameScene.Colorbook), progress: null, cancellationToken: default);
|
||||||
|
await _scenes.UnloadSceneAsync(nameof(GameScene.Gameplay), progress: null, cancellationToken: default);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
await _progression.SetLastOpenedAsync(nextId);
|
_loadingScreen.Show();
|
||||||
_shapeBuilder.Clear();
|
_shapeBuilder.Clear();
|
||||||
_coloring.Clear();
|
_coloring.Clear();
|
||||||
await _scenes.LoadSceneAsync(GameScene.Gameplay, progress: null, cancellationToken: default);
|
await _scenes.LoadSceneAsync(nameof(GameScene.Colorbook), progress: null, cancellationToken: default);
|
||||||
|
await _scenes.UnloadSceneAsync(nameof(GameScene.Gameplay), progress: null, cancellationToken: default);
|
||||||
|
_bus.Publish(new DrawingSelectedSignal(nextId));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnApplicationPaused()
|
public void OnApplicationPaused()
|
||||||
|
|||||||
8
Assets/Darkmatter/Code/Features/GameplayFlow/UI.meta
Normal file
8
Assets/Darkmatter/Code/Features/GameplayFlow/UI.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 0d25e0f770e2843b1bfcfc70127113a5
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,44 @@
|
|||||||
|
using System;
|
||||||
|
using Cysharp.Threading.Tasks;
|
||||||
|
using Darkmatter.Core.Contracts.Features.GameplayFlow;
|
||||||
|
using VContainer.Unity;
|
||||||
|
|
||||||
|
namespace Darkmatter.Features.GameplayFlow.UI
|
||||||
|
{
|
||||||
|
public class BackButtonPresenter : IStartable, IDisposable
|
||||||
|
{
|
||||||
|
private readonly BackButtonView _view;
|
||||||
|
private readonly IGameplayFlowController _flow;
|
||||||
|
|
||||||
|
public BackButtonPresenter(BackButtonView view, IGameplayFlowController flow)
|
||||||
|
{
|
||||||
|
_view = view;
|
||||||
|
_flow = flow;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Start()
|
||||||
|
{
|
||||||
|
_view.OnBackClicked += HandleBackClicked;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void HandleBackClicked() => BackAsync().Forget();
|
||||||
|
|
||||||
|
private async UniTaskVoid BackAsync()
|
||||||
|
{
|
||||||
|
_view.SetInteractable(false);
|
||||||
|
try
|
||||||
|
{
|
||||||
|
await _flow.BackAsync(default);
|
||||||
|
}
|
||||||
|
finally
|
||||||
|
{
|
||||||
|
_view.SetInteractable(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Dispose()
|
||||||
|
{
|
||||||
|
_view.OnBackClicked -= HandleBackClicked;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c389d35e3758a429abbf74013ad72c68
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
using System;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
|
namespace Darkmatter.Features.GameplayFlow.UI
|
||||||
|
{
|
||||||
|
public class BackButtonView : MonoBehaviour
|
||||||
|
{
|
||||||
|
[SerializeField] private Button backButton;
|
||||||
|
|
||||||
|
public event Action OnBackClicked;
|
||||||
|
|
||||||
|
private void Awake()
|
||||||
|
{
|
||||||
|
if (backButton != null)
|
||||||
|
backButton.onClick.AddListener(() => OnBackClicked?.Invoke());
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetInteractable(bool value)
|
||||||
|
{
|
||||||
|
if (backButton != null) backButton.interactable = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnDestroy()
|
||||||
|
{
|
||||||
|
if (backButton != null) backButton.onClick.RemoveAllListeners();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b7254cdaad34b4d6fa607b0520ea5b4c
|
||||||
@@ -0,0 +1,52 @@
|
|||||||
|
using System;
|
||||||
|
using Cysharp.Threading.Tasks;
|
||||||
|
using Darkmatter.Core.Contracts.Features.GameplayFlow;
|
||||||
|
using Darkmatter.Core.Data.Signals.Features.Coloring;
|
||||||
|
using Darkmatter.Libs.Observer;
|
||||||
|
using VContainer.Unity;
|
||||||
|
|
||||||
|
namespace Darkmatter.Features.GameplayFlow.UI
|
||||||
|
{
|
||||||
|
public class NextButtonPresenter : IStartable, IDisposable
|
||||||
|
{
|
||||||
|
private readonly NextButtonView _view;
|
||||||
|
private readonly IGameplayFlowController _flow;
|
||||||
|
private readonly IEventBus _bus;
|
||||||
|
private IDisposable _colorSub;
|
||||||
|
|
||||||
|
public NextButtonPresenter(NextButtonView view, IGameplayFlowController flow, IEventBus bus)
|
||||||
|
{
|
||||||
|
_view = view;
|
||||||
|
_flow = flow;
|
||||||
|
_bus = bus;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Start()
|
||||||
|
{
|
||||||
|
_view.Hide();
|
||||||
|
_view.OnNextClicked += HandleNextClicked;
|
||||||
|
_colorSub = _bus.Subscribe<ColorAppliedSignal>(_ => _view.Show());
|
||||||
|
}
|
||||||
|
|
||||||
|
private void HandleNextClicked() => NextAsync().Forget();
|
||||||
|
|
||||||
|
private async UniTaskVoid NextAsync()
|
||||||
|
{
|
||||||
|
_view.SetInteractable(false);
|
||||||
|
try
|
||||||
|
{
|
||||||
|
await _flow.NextAsync(default);
|
||||||
|
}
|
||||||
|
finally
|
||||||
|
{
|
||||||
|
_view.SetInteractable(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Dispose()
|
||||||
|
{
|
||||||
|
_view.OnNextClicked -= HandleNextClicked;
|
||||||
|
_colorSub?.Dispose();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 06e4d4a98bf0e45de98a7960005542a0
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
using System;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
|
namespace Darkmatter.Features.GameplayFlow.UI
|
||||||
|
{
|
||||||
|
public class NextButtonView : MonoBehaviour
|
||||||
|
{
|
||||||
|
[SerializeField] private Button nextButton;
|
||||||
|
|
||||||
|
public event Action OnNextClicked;
|
||||||
|
|
||||||
|
private void Awake()
|
||||||
|
{
|
||||||
|
if (nextButton != null)
|
||||||
|
nextButton.onClick.AddListener(() => OnNextClicked?.Invoke());
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Show() => gameObject.SetActive(true);
|
||||||
|
public void Hide() => gameObject.SetActive(false);
|
||||||
|
|
||||||
|
public void SetInteractable(bool value)
|
||||||
|
{
|
||||||
|
if (nextButton != null) nextButton.interactable = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnDestroy()
|
||||||
|
{
|
||||||
|
if (nextButton != null) nextButton.onClick.RemoveAllListeners();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e41584b03d9144e55b851c6db449aadb
|
||||||
@@ -4,7 +4,8 @@
|
|||||||
"references": [
|
"references": [
|
||||||
"GUID:6a0a834eb41764f12ba55c3fb04a40cb",
|
"GUID:6a0a834eb41764f12ba55c3fb04a40cb",
|
||||||
"GUID:b0214a6008ed146ff8f122a6a9c2f6cc",
|
"GUID:b0214a6008ed146ff8f122a6a9c2f6cc",
|
||||||
"GUID:c1c03c0e5b2f4412b9f2be1c20d6a9b1"
|
"GUID:c1c03c0e5b2f4412b9f2be1c20d6a9b1",
|
||||||
|
"GUID:b4c9f7fbf1e144933a1797dc208ece5f"
|
||||||
],
|
],
|
||||||
"includePlatforms": [],
|
"includePlatforms": [],
|
||||||
"excludePlatforms": [],
|
"excludePlatforms": [],
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using Darkmatter.Core.Contracts.Features.Coloring;
|
||||||
using Darkmatter.Core.Contracts.Features.History;
|
using Darkmatter.Core.Contracts.Features.History;
|
||||||
|
using Darkmatter.Core.Data.Signals.Features.Coloring;
|
||||||
|
using Darkmatter.Libs.Observer;
|
||||||
using VContainer.Unity;
|
using VContainer.Unity;
|
||||||
|
|
||||||
namespace Darkmatter.Features.History
|
namespace Darkmatter.Features.History
|
||||||
@@ -8,11 +11,18 @@ namespace Darkmatter.Features.History
|
|||||||
{
|
{
|
||||||
private readonly HistoryButtonsView _view;
|
private readonly HistoryButtonsView _view;
|
||||||
private readonly IUndoStack _undoStack;
|
private readonly IUndoStack _undoStack;
|
||||||
|
private readonly IColoringController _coloring;
|
||||||
|
private readonly IEventBus _bus;
|
||||||
|
private IDisposable _initSub;
|
||||||
|
private IDisposable _colorAppliedSub;
|
||||||
|
|
||||||
public HistoryButtonsPresenter(IUndoStack undoStack, HistoryButtonsView view)
|
public HistoryButtonsPresenter(IUndoStack undoStack, HistoryButtonsView view, IColoringController coloring,
|
||||||
|
IEventBus bus)
|
||||||
{
|
{
|
||||||
_undoStack = undoStack;
|
_undoStack = undoStack;
|
||||||
_view = view;
|
_view = view;
|
||||||
|
_coloring = coloring;
|
||||||
|
_bus = bus;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Start()
|
public void Start()
|
||||||
@@ -22,11 +32,14 @@ namespace Darkmatter.Features.History
|
|||||||
_view.OnClearClicked += HandleClearClicked;
|
_view.OnClearClicked += HandleClearClicked;
|
||||||
UpdateButtonUI();
|
UpdateButtonUI();
|
||||||
_undoStack.OnStackChanged += UpdateButtonUI;
|
_undoStack.OnStackChanged += UpdateButtonUI;
|
||||||
|
_initSub = _bus.Subscribe<RegionsInitializedSignal>(_ => UpdateButtonUI());
|
||||||
|
_colorAppliedSub = _bus.Subscribe<ColorAppliedSignal>(_ => UpdateButtonUI());
|
||||||
}
|
}
|
||||||
|
|
||||||
private void HandleClearClicked()
|
private void HandleClearClicked()
|
||||||
{
|
{
|
||||||
_undoStack.Clear();
|
_undoStack.Clear();
|
||||||
|
_coloring.ResetAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void HandleRedoClicked()
|
private void HandleRedoClicked()
|
||||||
@@ -43,7 +56,7 @@ namespace Darkmatter.Features.History
|
|||||||
{
|
{
|
||||||
_view.SetUndoInteractable(_undoStack.CanUndo);
|
_view.SetUndoInteractable(_undoStack.CanUndo);
|
||||||
_view.SetRedoInteractable(_undoStack.CanRedo);
|
_view.SetRedoInteractable(_undoStack.CanRedo);
|
||||||
_view.SetClearInteractable(_undoStack.CanUndo);
|
_view.SetClearInteractable(_undoStack.CanUndo || _coloring.HasNonAuthoredColors);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
@@ -52,6 +65,8 @@ namespace Darkmatter.Features.History
|
|||||||
_view.OnRedoClicked -= HandleRedoClicked;
|
_view.OnRedoClicked -= HandleRedoClicked;
|
||||||
_view.OnClearClicked -= HandleClearClicked;
|
_view.OnClearClicked -= HandleClearClicked;
|
||||||
_undoStack.OnStackChanged -= UpdateButtonUI;
|
_undoStack.OnStackChanged -= UpdateButtonUI;
|
||||||
|
_initSub?.Dispose();
|
||||||
|
_colorAppliedSub?.Dispose();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -12,6 +12,7 @@ namespace Darkmatter.Features.ShapeBuilder.Commands
|
|||||||
private readonly Quaternion _prevRot;
|
private readonly Quaternion _prevRot;
|
||||||
private readonly Transform _prevParent;
|
private readonly Transform _prevParent;
|
||||||
private readonly int _prevSiblingIndex;
|
private readonly int _prevSiblingIndex;
|
||||||
|
private SlotMarker _snappedSlot;
|
||||||
|
|
||||||
public SnapPieceCommand(ShapePiece piece)
|
public SnapPieceCommand(ShapePiece piece)
|
||||||
{
|
{
|
||||||
@@ -23,7 +24,12 @@ namespace Darkmatter.Features.ShapeBuilder.Commands
|
|||||||
_prevRot = Quaternion.identity;
|
_prevRot = Quaternion.identity;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Execute() => _piece.SnapInternal();
|
public void Execute()
|
||||||
|
{
|
||||||
|
if (_snappedSlot != null) _piece.ReassignActiveSlot(_snappedSlot);
|
||||||
|
_piece.SnapInternal();
|
||||||
|
if (_snappedSlot == null) _snappedSlot = _piece.ActiveSlot;
|
||||||
|
}
|
||||||
|
|
||||||
public void Undo() => _piece.UnsnapInternal(_prevParent, _prevSiblingIndex, _prevPos, _prevSize, _prevRot);
|
public void Undo() => _piece.UnsnapInternal(_prevParent, _prevSiblingIndex, _prevPos, _prevSize, _prevRot);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,6 @@ namespace Darkmatter.Features.ShapeBuilder.Systems
|
|||||||
{
|
{
|
||||||
public interface IShapePieceFactory
|
public interface IShapePieceFactory
|
||||||
{
|
{
|
||||||
ShapePiece Create(GameObject prefab, ShapeSO shape, SlotMarker slot, Vector2 trayPos);
|
ShapePiece Create(GameObject prefab, ShapeSO shape, SlotMarker[] candidateSlots, Vector2 trayPos);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -108,37 +108,68 @@ namespace Darkmatter.Features.ShapeBuilder.Systems
|
|||||||
|
|
||||||
_bus.Publish(new ShapeBuilderStartedSignal(template.Id));
|
_bus.Publish(new ShapeBuilderStartedSignal(template.Id));
|
||||||
|
|
||||||
CreateShapePieceInstances(template, preSnappedIds, count, slots, pitch, trayW);
|
var colorByShapeId = BuildColorMap(template, slots);
|
||||||
|
foreach (var s in slots)
|
||||||
|
if (s != null && s.Shape != null && colorByShapeId.TryGetValue(s.Shape.Id, out var c))
|
||||||
|
s.SetColor(c);
|
||||||
|
|
||||||
|
CreateShapePieceInstances(template, preSnappedIds, count, slots, pitch, trayW, colorByShapeId);
|
||||||
|
|
||||||
CheckIfShapeAssembled();
|
CheckIfShapeAssembled();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static Dictionary<string, Color> BuildColorMap(IDrawingTemplate template, SlotMarker[] slots)
|
||||||
|
{
|
||||||
|
var map = new Dictionary<string, Color>();
|
||||||
|
foreach (var p in template.Pieces)
|
||||||
|
if (p != null && !string.IsNullOrEmpty(p.Id) && !map.ContainsKey(p.Id))
|
||||||
|
map[p.Id] = Color.HSVToRGB(UnityEngine.Random.value, 0.7f, 0.95f);
|
||||||
|
foreach (var s in slots)
|
||||||
|
if (s != null && s.Shape != null && !string.IsNullOrEmpty(s.Shape.Id) && !map.ContainsKey(s.Shape.Id))
|
||||||
|
map[s.Shape.Id] = Color.HSVToRGB(UnityEngine.Random.value, 0.7f, 0.95f);
|
||||||
|
return map;
|
||||||
|
}
|
||||||
|
|
||||||
private void CreateShapePieceInstances(IDrawingTemplate template, IReadOnlyCollection<string> preSnappedIds,
|
private void CreateShapePieceInstances(IDrawingTemplate template, IReadOnlyCollection<string> preSnappedIds,
|
||||||
int count,
|
int count,
|
||||||
SlotMarker[] slots, float pitch, float trayW)
|
SlotMarker[] slots, float pitch, float trayW, Dictionary<string, Color> colorByShapeId)
|
||||||
{
|
{
|
||||||
|
var preSnapCounts = new Dictionary<string, int>();
|
||||||
|
if (preSnappedIds != null)
|
||||||
|
foreach (var id in preSnappedIds)
|
||||||
|
{
|
||||||
|
if (string.IsNullOrEmpty(id)) continue;
|
||||||
|
preSnapCounts[id] = preSnapCounts.GetValueOrDefault(id) + 1;
|
||||||
|
}
|
||||||
|
|
||||||
for (int i = 0; i < count; i++)
|
for (int i = 0; i < count; i++)
|
||||||
{
|
{
|
||||||
var shape = template.Pieces[i];
|
var shape = template.Pieces[i];
|
||||||
var slot = FindSlotForShape(slots, shape);
|
var candidates = FindSlotsForShape(slots, shape);
|
||||||
if (slot == null)
|
if (candidates.Length == 0)
|
||||||
{
|
{
|
||||||
Debug.LogError($"[ShapeBuilder] No SlotMarker for '{shape.Id}' in '{template.Id}'");
|
Debug.LogError($"[ShapeBuilder] No SlotMarker for '{shape.Id}' in '{template.Id}'");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
var trayPos = new Vector2(pitch * (i + 1) - trayW * 0.5f, 0f);
|
var trayPos = new Vector2(pitch * (i + 1) - trayW * 0.5f, 0f);
|
||||||
bool preSnapped = preSnappedIds != null && preSnappedIds.Contains(shape.Id);
|
var piece = _factory.Create(_piecePrefab, shape, candidates, trayPos);
|
||||||
|
if (colorByShapeId != null && colorByShapeId.TryGetValue(shape.Id, out var c))
|
||||||
var piece = _factory.Create(_piecePrefab, shape, slot, trayPos);
|
piece.SetColor(c);
|
||||||
_pieces.Add(piece);
|
_pieces.Add(piece);
|
||||||
|
|
||||||
if (preSnapped)
|
if (preSnapCounts.TryGetValue(shape.Id, out var remaining) && remaining > 0)
|
||||||
{
|
{
|
||||||
_undo.Append(new SnapPieceCommand(piece));
|
var unoccupied = FindFirstUnoccupied(candidates);
|
||||||
piece.SnapInstantly();
|
if (unoccupied != null)
|
||||||
_snapped++;
|
{
|
||||||
_snappedPieceIds.Add(shape.Id);
|
_undo.Append(new SnapPieceCommand(piece));
|
||||||
|
piece.SnapInstantlyTo(unoccupied);
|
||||||
|
unoccupied.SetOccupied(true);
|
||||||
|
_snapped++;
|
||||||
|
_snappedPieceIds.Add(shape.Id);
|
||||||
|
preSnapCounts[shape.Id] = remaining - 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -160,10 +191,19 @@ namespace Darkmatter.Features.ShapeBuilder.Systems
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static SlotMarker FindSlotForShape(SlotMarker[] slots, ShapeSO shape)
|
private static SlotMarker[] FindSlotsForShape(SlotMarker[] slots, ShapeSO shape)
|
||||||
|
{
|
||||||
|
var list = new List<SlotMarker>();
|
||||||
|
foreach (var s in slots)
|
||||||
|
if (s != null && s.Shape == shape)
|
||||||
|
list.Add(s);
|
||||||
|
return list.ToArray();
|
||||||
|
}
|
||||||
|
|
||||||
|
private static SlotMarker FindFirstUnoccupied(SlotMarker[] slots)
|
||||||
{
|
{
|
||||||
foreach (var s in slots)
|
foreach (var s in slots)
|
||||||
if (s.Shape == shape)
|
if (s != null && !s.IsOccupied)
|
||||||
return s;
|
return s;
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,13 +33,13 @@ namespace Darkmatter.Features.ShapeBuilder.Systems
|
|||||||
_refs = refs;
|
_refs = refs;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ShapePiece Create(GameObject prefab, ShapeSO shape, SlotMarker slot, Vector2 trayPos)
|
public ShapePiece Create(GameObject prefab, ShapeSO shape, SlotMarker[] candidateSlots, Vector2 trayPos)
|
||||||
{
|
{
|
||||||
var go = Object.Instantiate(prefab, _holder.SpawnRoot);
|
var go = Object.Instantiate(prefab, _holder.SpawnRoot);
|
||||||
go.name = $"Piece_{shape.Id}";
|
go.name = $"Piece_{shape.Id}";
|
||||||
|
|
||||||
var piece = go.GetComponent<ShapePiece>();
|
var piece = go.GetComponent<ShapePiece>();
|
||||||
piece.Setup(shape, slot, _cfg, _sfx, _bus, _undo, trayPos, _refs.PaperRoot);
|
piece.Setup(shape, candidateSlots, _cfg, _sfx, _bus, _undo, trayPos, _refs.PaperRoot);
|
||||||
return piece;
|
return piece;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,7 +20,8 @@ namespace Darkmatter.Features.ShapeBuilder.UI
|
|||||||
|
|
||||||
// Bound by Setup
|
// Bound by Setup
|
||||||
private ShapeSO _shape;
|
private ShapeSO _shape;
|
||||||
private SlotMarker _slot;
|
private SlotMarker[] _candidateSlots;
|
||||||
|
private SlotMarker _activeSlot;
|
||||||
private ShapeBuilderConfig _cfg;
|
private ShapeBuilderConfig _cfg;
|
||||||
private ISfxPlayer _sfx;
|
private ISfxPlayer _sfx;
|
||||||
private IEventBus _bus;
|
private IEventBus _bus;
|
||||||
@@ -30,6 +31,9 @@ namespace Darkmatter.Features.ShapeBuilder.UI
|
|||||||
private RectTransform _dragRoot;
|
private RectTransform _dragRoot;
|
||||||
private Transform _homeParent;
|
private Transform _homeParent;
|
||||||
private int _homeSiblingIndex;
|
private int _homeSiblingIndex;
|
||||||
|
private Vector2 _origAnchorMin;
|
||||||
|
private Vector2 _origAnchorMax;
|
||||||
|
private Vector2 _origPivot;
|
||||||
|
|
||||||
// Per-drag state
|
// Per-drag state
|
||||||
private RectTransform _rt;
|
private RectTransform _rt;
|
||||||
@@ -51,10 +55,18 @@ namespace Darkmatter.Features.ShapeBuilder.UI
|
|||||||
public int HomeSiblingIndex => _homeSiblingIndex;
|
public int HomeSiblingIndex => _homeSiblingIndex;
|
||||||
public Vector2 TrayPosition => _trayPos;
|
public Vector2 TrayPosition => _trayPos;
|
||||||
public Vector2 TraySize => _traySize;
|
public Vector2 TraySize => _traySize;
|
||||||
|
public SlotMarker ActiveSlot => _activeSlot;
|
||||||
|
|
||||||
|
public void ReassignActiveSlot(SlotMarker slot) => _activeSlot = slot;
|
||||||
|
|
||||||
|
public void SetColor(Color color)
|
||||||
|
{
|
||||||
|
if (image != null) image.color = color;
|
||||||
|
}
|
||||||
|
|
||||||
public void Setup(
|
public void Setup(
|
||||||
ShapeSO shape,
|
ShapeSO shape,
|
||||||
SlotMarker slot,
|
SlotMarker[] candidateSlots,
|
||||||
ShapeBuilderConfig cfg,
|
ShapeBuilderConfig cfg,
|
||||||
ISfxPlayer sfx,
|
ISfxPlayer sfx,
|
||||||
IEventBus bus,
|
IEventBus bus,
|
||||||
@@ -62,9 +74,10 @@ namespace Darkmatter.Features.ShapeBuilder.UI
|
|||||||
Vector2 trayPos,
|
Vector2 trayPos,
|
||||||
RectTransform dragRoot)
|
RectTransform dragRoot)
|
||||||
{
|
{
|
||||||
_shape = shape;
|
_shape = shape;
|
||||||
_slot = slot;
|
_candidateSlots = candidateSlots;
|
||||||
_cfg = cfg;
|
_activeSlot = null;
|
||||||
|
_cfg = cfg;
|
||||||
_sfx = sfx;
|
_sfx = sfx;
|
||||||
_bus = bus;
|
_bus = bus;
|
||||||
_undo = undo;
|
_undo = undo;
|
||||||
@@ -74,6 +87,9 @@ namespace Darkmatter.Features.ShapeBuilder.UI
|
|||||||
|
|
||||||
_homeParent = RectTransform.parent;
|
_homeParent = RectTransform.parent;
|
||||||
_homeSiblingIndex = RectTransform.GetSiblingIndex();
|
_homeSiblingIndex = RectTransform.GetSiblingIndex();
|
||||||
|
_origAnchorMin = RectTransform.anchorMin;
|
||||||
|
_origAnchorMax = RectTransform.anchorMax;
|
||||||
|
_origPivot = RectTransform.pivot;
|
||||||
|
|
||||||
image.sprite = shape.Sprite;
|
image.sprite = shape.Sprite;
|
||||||
ApplyTrayPose();
|
ApplyTrayPose();
|
||||||
@@ -103,17 +119,25 @@ namespace Darkmatter.Features.ShapeBuilder.UI
|
|||||||
if (_locked) return;
|
if (_locked) return;
|
||||||
|
|
||||||
var pointerLocal = ScreenToLocal(e.position) + _grabOffset;
|
var pointerLocal = ScreenToLocal(e.position) + _grabOffset;
|
||||||
bool insidePreview = IsOverSlot(e.position);
|
var hovered = FindSlotUnder(e.position);
|
||||||
|
bool insidePreview = hovered != null;
|
||||||
|
|
||||||
if (insidePreview && !_inPreview)
|
if (insidePreview && !_inPreview)
|
||||||
{
|
{
|
||||||
|
_activeSlot = hovered;
|
||||||
_inPreview = true;
|
_inPreview = true;
|
||||||
_sfx.Play(SfxId.ShapeHover);
|
_sfx.Play(SfxId.ShapeHover);
|
||||||
AnimatePreviewPose(toSlot: true);
|
AnimatePreviewPose(toSlot: true);
|
||||||
}
|
}
|
||||||
|
else if (insidePreview && _inPreview && hovered != _activeSlot)
|
||||||
|
{
|
||||||
|
_activeSlot = hovered;
|
||||||
|
AnimatePreviewPose(toSlot: true);
|
||||||
|
}
|
||||||
else if (!insidePreview && _inPreview)
|
else if (!insidePreview && _inPreview)
|
||||||
{
|
{
|
||||||
_inPreview = false;
|
_inPreview = false;
|
||||||
|
_activeSlot = null;
|
||||||
AnimatePreviewPose(toSlot: false);
|
AnimatePreviewPose(toSlot: false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -125,25 +149,39 @@ namespace Darkmatter.Features.ShapeBuilder.UI
|
|||||||
{
|
{
|
||||||
if (_locked) return;
|
if (_locked) return;
|
||||||
|
|
||||||
if (IsOverSlot(e.position))
|
var target = FindSlotUnder(e.position);
|
||||||
|
if (target != null)
|
||||||
|
{
|
||||||
|
_activeSlot = target;
|
||||||
_undo.Push(new SnapPieceCommand(this));
|
_undo.Push(new SnapPieceCommand(this));
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
_activeSlot = null;
|
||||||
ReturnToTray();
|
ReturnToTray();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool IsOverSlot(Vector2 screenPos)
|
private SlotMarker FindSlotUnder(Vector2 screenPos)
|
||||||
{
|
{
|
||||||
return RectTransformUtility.RectangleContainsScreenPoint(
|
if (_candidateSlots == null) return null;
|
||||||
_slot.RectTransform, screenPos, _eventCam);
|
foreach (var s in _candidateSlots)
|
||||||
|
{
|
||||||
|
if (s == null) continue;
|
||||||
|
if (s.IsOccupied && s != _activeSlot) continue;
|
||||||
|
if (RectTransformUtility.RectangleContainsScreenPoint(s.RectTransform, screenPos, _eventCam))
|
||||||
|
return s;
|
||||||
|
}
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void AnimatePreviewPose(bool toSlot)
|
private void AnimatePreviewPose(bool toSlot)
|
||||||
{
|
{
|
||||||
if (_previewSeq.isAlive) _previewSeq.Stop();
|
if (_previewSeq.isAlive) _previewSeq.Stop();
|
||||||
|
|
||||||
if (toSlot)
|
if (toSlot && _activeSlot != null)
|
||||||
{
|
{
|
||||||
var slot = _slot.RectTransform;
|
var slot = _activeSlot.RectTransform;
|
||||||
_previewSeq = Sequence.Create()
|
_previewSeq = Sequence.Create()
|
||||||
.Group(Tween.UIAnchoredPosition(RectTransform, SlotPosInDragSpace(), _cfg.SnapDuration, Ease.OutQuad))
|
.Group(Tween.UIAnchoredPosition(RectTransform, SlotPosInDragSpace(), _cfg.SnapDuration, Ease.OutQuad))
|
||||||
.Group(Tween.LocalScale(RectTransform, SlotScaleInDragSpace(), _cfg.SnapDuration, Ease.OutQuad))
|
.Group(Tween.LocalScale(RectTransform, SlotScaleInDragSpace(), _cfg.SnapDuration, Ease.OutQuad))
|
||||||
@@ -161,7 +199,7 @@ namespace Darkmatter.Features.ShapeBuilder.UI
|
|||||||
|
|
||||||
private Vector2 SlotPosInDragSpace()
|
private Vector2 SlotPosInDragSpace()
|
||||||
{
|
{
|
||||||
Vector3 worldPos = _slot.RectTransform.position;
|
Vector3 worldPos = _activeSlot.RectTransform.position;
|
||||||
Vector3 local = _parentRect.InverseTransformPoint(worldPos);
|
Vector3 local = _parentRect.InverseTransformPoint(worldPos);
|
||||||
Vector2 parentSize = _parentRect.rect.size;
|
Vector2 parentSize = _parentRect.rect.size;
|
||||||
Vector2 anchorRef = (RectTransform.anchorMin - _parentRect.pivot) * parentSize;
|
Vector2 anchorRef = (RectTransform.anchorMin - _parentRect.pivot) * parentSize;
|
||||||
@@ -177,13 +215,13 @@ namespace Darkmatter.Features.ShapeBuilder.UI
|
|||||||
|
|
||||||
private Quaternion SlotRotInDragSpace()
|
private Quaternion SlotRotInDragSpace()
|
||||||
{
|
{
|
||||||
return Quaternion.Inverse(_parentRect.rotation) * _slot.RectTransform.rotation;
|
return Quaternion.Inverse(_parentRect.rotation) * _activeSlot.RectTransform.rotation;
|
||||||
}
|
}
|
||||||
|
|
||||||
private Vector3 SlotScaleInDragSpace()
|
private Vector3 SlotScaleInDragSpace()
|
||||||
{
|
{
|
||||||
Vector3 parentLossy = _parentRect.lossyScale;
|
Vector3 parentLossy = _parentRect.lossyScale;
|
||||||
Vector3 slotLossy = _slot.RectTransform.lossyScale;
|
Vector3 slotLossy = _activeSlot.RectTransform.lossyScale;
|
||||||
return new Vector3(
|
return new Vector3(
|
||||||
slotLossy.x / Mathf.Max(0.0001f, parentLossy.x),
|
slotLossy.x / Mathf.Max(0.0001f, parentLossy.x),
|
||||||
slotLossy.y / Mathf.Max(0.0001f, parentLossy.y),
|
slotLossy.y / Mathf.Max(0.0001f, parentLossy.y),
|
||||||
@@ -194,27 +232,40 @@ namespace Darkmatter.Features.ShapeBuilder.UI
|
|||||||
{
|
{
|
||||||
StopPreviewTweens();
|
StopPreviewTweens();
|
||||||
Lock();
|
Lock();
|
||||||
var slot = _slot.RectTransform;
|
FillSlot();
|
||||||
|
|
||||||
Tween.Position(RectTransform, slot.position, _cfg.SnapDuration, Ease.OutBack);
|
|
||||||
Tween.Rotation(RectTransform, slot.rotation, _cfg.SnapDuration, Ease.OutBack);
|
|
||||||
Tween.LocalScale(RectTransform, slot.localScale, _cfg.SnapDuration, Ease.OutBack);
|
|
||||||
Tween.UISizeDelta(RectTransform, slot.sizeDelta, _cfg.SnapDuration, Ease.OutBack);
|
|
||||||
|
|
||||||
_sfx.Play(SfxId.ShapeSnap);
|
_sfx.Play(SfxId.ShapeSnap);
|
||||||
_bus.Publish(new PieceSnappedSignal(_shape.Id));
|
_bus.Publish(new PieceSnappedSignal(_shape.Id));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void FillSlot()
|
||||||
|
{
|
||||||
|
var rt = RectTransform;
|
||||||
|
rt.anchorMin = Vector2.zero;
|
||||||
|
rt.anchorMax = Vector2.one;
|
||||||
|
rt.pivot = new Vector2(0.5f, 0.5f);
|
||||||
|
rt.anchoredPosition = Vector2.zero;
|
||||||
|
rt.sizeDelta = Vector2.zero;
|
||||||
|
rt.localRotation = Quaternion.identity;
|
||||||
|
rt.localScale = Vector3.one;
|
||||||
|
}
|
||||||
|
|
||||||
internal void UnsnapInternal(Transform parent, int siblingIndex, Vector2 pos, Vector2 size, Quaternion rot)
|
internal void UnsnapInternal(Transform parent, int siblingIndex, Vector2 pos, Vector2 size, Quaternion rot)
|
||||||
{
|
{
|
||||||
_locked = false;
|
_locked = false;
|
||||||
image.raycastTarget = true;
|
image.raycastTarget = true;
|
||||||
|
|
||||||
|
if (_activeSlot != null) _activeSlot.SetOccupied(false);
|
||||||
|
_activeSlot = null;
|
||||||
|
|
||||||
Tween.StopAll(onTarget: RectTransform);
|
Tween.StopAll(onTarget: RectTransform);
|
||||||
|
|
||||||
RectTransform.SetParent(parent, worldPositionStays: false);
|
RectTransform.SetParent(parent, worldPositionStays: false);
|
||||||
if (siblingIndex >= 0) RectTransform.SetSiblingIndex(siblingIndex);
|
if (siblingIndex >= 0) RectTransform.SetSiblingIndex(siblingIndex);
|
||||||
|
|
||||||
|
RectTransform.anchorMin = _origAnchorMin;
|
||||||
|
RectTransform.anchorMax = _origAnchorMax;
|
||||||
|
RectTransform.pivot = _origPivot;
|
||||||
RectTransform.anchoredPosition = pos;
|
RectTransform.anchoredPosition = pos;
|
||||||
RectTransform.sizeDelta = size;
|
RectTransform.sizeDelta = size;
|
||||||
RectTransform.localRotation = rot;
|
RectTransform.localRotation = rot;
|
||||||
@@ -224,14 +275,11 @@ namespace Darkmatter.Features.ShapeBuilder.UI
|
|||||||
_bus.Publish(new PieceUnsnappedSignal(_shape.Id));
|
_bus.Publish(new PieceUnsnappedSignal(_shape.Id));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SnapInstantly()
|
public void SnapInstantlyTo(SlotMarker slot)
|
||||||
{
|
{
|
||||||
|
_activeSlot = slot;
|
||||||
Lock();
|
Lock();
|
||||||
var slot = _slot.RectTransform;
|
FillSlot();
|
||||||
RectTransform.position = slot.position;
|
|
||||||
RectTransform.rotation = slot.rotation;
|
|
||||||
RectTransform.localScale = slot.localScale;
|
|
||||||
RectTransform.sizeDelta = slot.sizeDelta;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ReturnToTray()
|
private void ReturnToTray()
|
||||||
@@ -258,7 +306,11 @@ namespace Darkmatter.Features.ShapeBuilder.UI
|
|||||||
{
|
{
|
||||||
_locked = true;
|
_locked = true;
|
||||||
image.raycastTarget = false;
|
image.raycastTarget = false;
|
||||||
RectTransform.SetParent(_slot.RectTransform.parent, worldPositionStays: true);
|
if (_activeSlot != null)
|
||||||
|
{
|
||||||
|
_activeSlot.SetOccupied(true);
|
||||||
|
RectTransform.SetParent(_activeSlot.RectTransform, worldPositionStays: true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ApplyTrayPose()
|
private void ApplyTrayPose()
|
||||||
|
|||||||
@@ -12,10 +12,18 @@ namespace Darkmatter.Features.ShapeBuilder.UI
|
|||||||
public ShapeSO Shape => shape;
|
public ShapeSO Shape => shape;
|
||||||
public string SlotId => shape != null ? shape.Id : null;
|
public string SlotId => shape != null ? shape.Id : null;
|
||||||
public RectTransform RectTransform => (RectTransform)transform;
|
public RectTransform RectTransform => (RectTransform)transform;
|
||||||
|
public bool IsOccupied { get; private set; }
|
||||||
|
|
||||||
|
public void SetOccupied(bool value) => IsOccupied = value;
|
||||||
|
|
||||||
public void SetOutlineVisible(bool visible)
|
public void SetOutlineVisible(bool visible)
|
||||||
{
|
{
|
||||||
if (outline != null) outline.enabled = visible;
|
if (outline != null) outline.enabled = visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void SetColor(Color color)
|
||||||
|
{
|
||||||
|
if (outline != null) outline.color = color;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using Cysharp.Threading.Tasks;
|
using Cysharp.Threading.Tasks;
|
||||||
using Darkmatter.Core.Contracts.Services.Capture;
|
using Darkmatter.Core.Contracts.Services.Capture;
|
||||||
@@ -10,6 +11,19 @@ namespace Darkmatter.Services.Capture
|
|||||||
public async UniTask<byte[]> CapturePngAsync(GameObject captureObject, float scale,
|
public async UniTask<byte[]> CapturePngAsync(GameObject captureObject, float scale,
|
||||||
CancellationToken cancellationToken = default)
|
CancellationToken cancellationToken = default)
|
||||||
{
|
{
|
||||||
|
var paperCanvas = GetRootCanvas(captureObject);
|
||||||
|
var disabledCanvases = DisableOtherRootCanvases(paperCanvas);
|
||||||
|
var cam = Camera.main;
|
||||||
|
CameraClearFlags prevFlags = default;
|
||||||
|
Color prevBg = default;
|
||||||
|
if (cam != null)
|
||||||
|
{
|
||||||
|
prevFlags = cam.clearFlags;
|
||||||
|
prevBg = cam.backgroundColor;
|
||||||
|
cam.clearFlags = CameraClearFlags.SolidColor;
|
||||||
|
cam.backgroundColor = new Color(0f, 0f, 0f, 0f);
|
||||||
|
}
|
||||||
|
|
||||||
await UniTask.WaitForEndOfFrame(cancellationToken);
|
await UniTask.WaitForEndOfFrame(cancellationToken);
|
||||||
|
|
||||||
var fullScreen = ScreenCapture.CaptureScreenshotAsTexture();
|
var fullScreen = ScreenCapture.CaptureScreenshotAsTexture();
|
||||||
@@ -48,9 +62,35 @@ namespace Darkmatter.Services.Capture
|
|||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
Object.Destroy(fullScreen);
|
Object.Destroy(fullScreen);
|
||||||
|
foreach (var c in disabledCanvases) if (c != null) c.enabled = true;
|
||||||
|
if (cam != null)
|
||||||
|
{
|
||||||
|
cam.clearFlags = prevFlags;
|
||||||
|
cam.backgroundColor = prevBg;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static Canvas GetRootCanvas(GameObject go)
|
||||||
|
{
|
||||||
|
if (go == null) return null;
|
||||||
|
var c = go.GetComponentInParent<Canvas>();
|
||||||
|
return c != null ? c.rootCanvas : null;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static List<Canvas> DisableOtherRootCanvases(Canvas keep)
|
||||||
|
{
|
||||||
|
var disabled = new List<Canvas>();
|
||||||
|
var all = Object.FindObjectsByType<Canvas>(FindObjectsSortMode.None);
|
||||||
|
foreach (var c in all)
|
||||||
|
{
|
||||||
|
if (c == null || !c.isRootCanvas || c == keep || !c.enabled) continue;
|
||||||
|
c.enabled = false;
|
||||||
|
disabled.Add(c);
|
||||||
|
}
|
||||||
|
return disabled;
|
||||||
|
}
|
||||||
|
|
||||||
private static Rect ComputeCropRect(GameObject target, int screenW, int screenH)
|
private static Rect ComputeCropRect(GameObject target, int screenW, int screenH)
|
||||||
{
|
{
|
||||||
if (target == null || target.transform is not RectTransform rt)
|
if (target == null || target.transform is not RectTransform rt)
|
||||||
|
|||||||
BIN
Assets/Darkmatter/Content/.DS_Store
vendored
Normal file
BIN
Assets/Darkmatter/Content/.DS_Store
vendored
Normal file
Binary file not shown.
@@ -6,7 +6,7 @@ TextureImporter:
|
|||||||
serializedVersion: 13
|
serializedVersion: 13
|
||||||
mipmaps:
|
mipmaps:
|
||||||
mipMapMode: 0
|
mipMapMode: 0
|
||||||
enableMipMap: 1
|
enableMipMap: 0
|
||||||
sRGBTexture: 1
|
sRGBTexture: 1
|
||||||
linearTexture: 0
|
linearTexture: 0
|
||||||
fadeOut: 0
|
fadeOut: 0
|
||||||
@@ -37,13 +37,13 @@ TextureImporter:
|
|||||||
filterMode: 1
|
filterMode: 1
|
||||||
aniso: 1
|
aniso: 1
|
||||||
mipBias: 0
|
mipBias: 0
|
||||||
wrapU: 0
|
wrapU: 1
|
||||||
wrapV: 0
|
wrapV: 1
|
||||||
wrapW: 0
|
wrapW: 0
|
||||||
nPOTScale: 1
|
nPOTScale: 0
|
||||||
lightmap: 0
|
lightmap: 0
|
||||||
compressionQuality: 50
|
compressionQuality: 50
|
||||||
spriteMode: 0
|
spriteMode: 1
|
||||||
spriteExtrude: 1
|
spriteExtrude: 1
|
||||||
spriteMeshType: 1
|
spriteMeshType: 1
|
||||||
alignment: 0
|
alignment: 0
|
||||||
@@ -52,9 +52,9 @@ TextureImporter:
|
|||||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
spriteGenerateFallbackPhysicsShape: 1
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
alphaUsage: 1
|
alphaUsage: 1
|
||||||
alphaIsTransparency: 0
|
alphaIsTransparency: 1
|
||||||
spriteTessellationDetail: -1
|
spriteTessellationDetail: -1
|
||||||
textureType: 0
|
textureType: 8
|
||||||
textureShape: 1
|
textureShape: 1
|
||||||
singleChannelComponent: 0
|
singleChannelComponent: 0
|
||||||
flipbookRows: 1
|
flipbookRows: 1
|
||||||
@@ -67,7 +67,7 @@ TextureImporter:
|
|||||||
swizzle: 50462976
|
swizzle: 50462976
|
||||||
cookieLightType: 0
|
cookieLightType: 0
|
||||||
platformSettings:
|
platformSettings:
|
||||||
- serializedVersion: 3
|
- serializedVersion: 4
|
||||||
buildTarget: DefaultTexturePlatform
|
buildTarget: DefaultTexturePlatform
|
||||||
maxTextureSize: 2048
|
maxTextureSize: 2048
|
||||||
resizeAlgorithm: 0
|
resizeAlgorithm: 0
|
||||||
@@ -80,7 +80,7 @@ TextureImporter:
|
|||||||
ignorePlatformSupport: 0
|
ignorePlatformSupport: 0
|
||||||
androidETC2FallbackOverride: 0
|
androidETC2FallbackOverride: 0
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
- serializedVersion: 3
|
- serializedVersion: 4
|
||||||
buildTarget: Standalone
|
buildTarget: Standalone
|
||||||
maxTextureSize: 2048
|
maxTextureSize: 2048
|
||||||
resizeAlgorithm: 0
|
resizeAlgorithm: 0
|
||||||
@@ -93,7 +93,7 @@ TextureImporter:
|
|||||||
ignorePlatformSupport: 0
|
ignorePlatformSupport: 0
|
||||||
androidETC2FallbackOverride: 0
|
androidETC2FallbackOverride: 0
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
- serializedVersion: 3
|
- serializedVersion: 4
|
||||||
buildTarget: WebGL
|
buildTarget: WebGL
|
||||||
maxTextureSize: 2048
|
maxTextureSize: 2048
|
||||||
resizeAlgorithm: 0
|
resizeAlgorithm: 0
|
||||||
@@ -106,7 +106,7 @@ TextureImporter:
|
|||||||
ignorePlatformSupport: 0
|
ignorePlatformSupport: 0
|
||||||
androidETC2FallbackOverride: 0
|
androidETC2FallbackOverride: 0
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
- serializedVersion: 3
|
- serializedVersion: 4
|
||||||
buildTarget: Android
|
buildTarget: Android
|
||||||
maxTextureSize: 2048
|
maxTextureSize: 2048
|
||||||
resizeAlgorithm: 0
|
resizeAlgorithm: 0
|
||||||
@@ -123,15 +123,18 @@ TextureImporter:
|
|||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
sprites: []
|
sprites: []
|
||||||
outline: []
|
outline: []
|
||||||
|
customData:
|
||||||
physicsShape: []
|
physicsShape: []
|
||||||
bones: []
|
bones: []
|
||||||
spriteID:
|
spriteID: 5e97eb03825dee720800000000000000
|
||||||
internalID: 0
|
internalID: 0
|
||||||
vertices: []
|
vertices: []
|
||||||
indices:
|
indices:
|
||||||
edges: []
|
edges: []
|
||||||
weights: []
|
weights: []
|
||||||
secondaryTextures: []
|
secondaryTextures: []
|
||||||
|
spriteCustomMetadata:
|
||||||
|
entries: []
|
||||||
nameFileIdTable: {}
|
nameFileIdTable: {}
|
||||||
mipmapLimitGroupName:
|
mipmapLimitGroupName:
|
||||||
pSDRemoveMatte: 0
|
pSDRemoveMatte: 0
|
||||||
|
|||||||
@@ -0,0 +1,759 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &474942857091390737
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 5651751824541460286}
|
||||||
|
- component: {fileID: 2949520196760874724}
|
||||||
|
- component: {fileID: 6336029477387835561}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Outline
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &5651751824541460286
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 474942857091390737}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1.9722, y: 1.9722, z: 1.9722}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 2465129496938262680}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 801, y: 398}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &2949520196760874724
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 474942857091390737}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &6336029477387835561
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 474942857091390737}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 0
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: 4985baba855db644ca181da896248105, type: 3}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 1
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!1 &599520215172923647
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 86201234489763977}
|
||||||
|
- component: {fileID: 8017255775711771913}
|
||||||
|
- component: {fileID: 604009230139677844}
|
||||||
|
- component: {fileID: 2639438619899829528}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Image (4)
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &86201234489763977
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 599520215172923647}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1.9691573, y: 1.9691573, z: 1.9691573}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 2465129496938262680}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: -13, y: 33}
|
||||||
|
m_SizeDelta: {x: 787, y: 244}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &8017255775711771913
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 599520215172923647}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &604009230139677844
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 599520215172923647}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: dd3f8be3149ea964b977adf03d388448, type: 3}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 1
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!114 &2639438619899829528
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 599520215172923647}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 7667901d8aea645d28b5125a2ed546ce, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: Features.Coloring::Darkmatter.Features.Coloring.UI.ColorRegionView
|
||||||
|
<RegionId>k__BackingField: Image__4
|
||||||
|
alphaHitThreshold: 0.5
|
||||||
|
--- !u!1 &1327883274805810017
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 5181108106422498748}
|
||||||
|
- component: {fileID: 4328127235006231729}
|
||||||
|
- component: {fileID: 97241699267290381}
|
||||||
|
- component: {fileID: 6251188496741089348}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Image (6)
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &5181108106422498748
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1327883274805810017}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1.9691573, y: 1.9691573, z: 1.9691573}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 2465129496938262680}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: -468, y: 107}
|
||||||
|
m_SizeDelta: {x: 186, y: 88}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &4328127235006231729
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1327883274805810017}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &97241699267290381
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1327883274805810017}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: 59de5b3a44169814388a033ae7806ca4, type: 3}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 1
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!114 &6251188496741089348
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1327883274805810017}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 7667901d8aea645d28b5125a2ed546ce, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: Features.Coloring::Darkmatter.Features.Coloring.UI.ColorRegionView
|
||||||
|
<RegionId>k__BackingField: Image__6
|
||||||
|
alphaHitThreshold: 0.5
|
||||||
|
--- !u!1 &2018849806684805117
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 2465129496938262680}
|
||||||
|
- component: {fileID: 5279747755089475574}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Airplane Coloring
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &2465129496938262680
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2018849806684805117}
|
||||||
|
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_ConstrainProportionsScale: 0
|
||||||
|
m_Children:
|
||||||
|
- {fileID: 109331856778429183}
|
||||||
|
- {fileID: 6267056972877482867}
|
||||||
|
- {fileID: 4996267931415822967}
|
||||||
|
- {fileID: 3673482587419650650}
|
||||||
|
- {fileID: 86201234489763977}
|
||||||
|
- {fileID: 8874230641307267297}
|
||||||
|
- {fileID: 5181108106422498748}
|
||||||
|
- {fileID: 5651751824541460286}
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
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: 0, y: 0}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &5279747755089475574
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2018849806684805117}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!1 &2940684701743435734
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 109331856778429183}
|
||||||
|
- component: {fileID: 5060998372535077210}
|
||||||
|
- component: {fileID: 4146661877175051445}
|
||||||
|
- component: {fileID: 4939774185473858017}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Image
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &109331856778429183
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2940684701743435734}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1.9615967, y: 1.9615967, z: 1.9615967}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 2465129496938262680}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: -374, y: 299}
|
||||||
|
m_SizeDelta: {x: 207, y: 87}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &5060998372535077210
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2940684701743435734}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &4146661877175051445
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2940684701743435734}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: 40be5bc83c35cf34f96bd76831300f15, type: 3}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 1
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!114 &4939774185473858017
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2940684701743435734}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 7667901d8aea645d28b5125a2ed546ce, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: Features.Coloring::Darkmatter.Features.Coloring.UI.ColorRegionView
|
||||||
|
<RegionId>k__BackingField: Image
|
||||||
|
alphaHitThreshold: 0.5
|
||||||
|
--- !u!1 &3232983541870242140
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 4996267931415822967}
|
||||||
|
- component: {fileID: 1496201310021471783}
|
||||||
|
- component: {fileID: 8905058365837500056}
|
||||||
|
- component: {fileID: 2274253535452400810}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Image (2)
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &4996267931415822967
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3232983541870242140}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 0.53261936, y: 0.53261936, z: 0.53261936}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 2465129496938262680}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: -68, y: 96}
|
||||||
|
m_SizeDelta: {x: 402, y: 186}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &1496201310021471783
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3232983541870242140}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &8905058365837500056
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3232983541870242140}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: 0fd32fe815fb82c48abc99502515711e, type: 3}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 1
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!114 &2274253535452400810
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3232983541870242140}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 7667901d8aea645d28b5125a2ed546ce, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: Features.Coloring::Darkmatter.Features.Coloring.UI.ColorRegionView
|
||||||
|
<RegionId>k__BackingField: Image__2
|
||||||
|
alphaHitThreshold: 0.5
|
||||||
|
--- !u!1 &3381159131249965195
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 3673482587419650650}
|
||||||
|
- component: {fileID: 813276002470923125}
|
||||||
|
- component: {fileID: 8905896021061469677}
|
||||||
|
- component: {fileID: 2618297317462852309}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Image (3)
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &3673482587419650650
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3381159131249965195}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 0.53261936, y: 0.53261936, z: 0.53261936}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 2465129496938262680}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 157, y: 71}
|
||||||
|
m_SizeDelta: {x: 402, y: 186}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &813276002470923125
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3381159131249965195}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &8905896021061469677
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3381159131249965195}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: 0fd32fe815fb82c48abc99502515711e, type: 3}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 1
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!114 &2618297317462852309
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3381159131249965195}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 7667901d8aea645d28b5125a2ed546ce, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: Features.Coloring::Darkmatter.Features.Coloring.UI.ColorRegionView
|
||||||
|
<RegionId>k__BackingField: Image__3
|
||||||
|
alphaHitThreshold: 0.5
|
||||||
|
--- !u!1 &5155858842284774101
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 8874230641307267297}
|
||||||
|
- component: {fileID: 861103728487685270}
|
||||||
|
- component: {fileID: 2083943589217737315}
|
||||||
|
- component: {fileID: 2751167989641037194}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Image (5)
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &8874230641307267297
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5155858842284774101}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1.9691573, y: 1.9691573, z: 1.9691573}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 2465129496938262680}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 631, y: 33}
|
||||||
|
m_SizeDelta: {x: 152, y: 45}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &861103728487685270
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5155858842284774101}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &2083943589217737315
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5155858842284774101}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: b1289a77d82708e488c42871766d193d, type: 3}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 1
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!114 &2751167989641037194
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5155858842284774101}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 7667901d8aea645d28b5125a2ed546ce, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: Features.Coloring::Darkmatter.Features.Coloring.UI.ColorRegionView
|
||||||
|
<RegionId>k__BackingField: Image__5
|
||||||
|
alphaHitThreshold: 0.5
|
||||||
|
--- !u!1 &9008613733467901100
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 6267056972877482867}
|
||||||
|
- component: {fileID: 1881601151144730500}
|
||||||
|
- component: {fileID: 66976380197016852}
|
||||||
|
- component: {fileID: 5318398346669987612}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Image (1)
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &6267056972877482867
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 9008613733467901100}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1.9615967, y: 1.9615967, z: 1.9615967}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 2465129496938262680}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 156, y: -206}
|
||||||
|
m_SizeDelta: {x: 402, y: 186}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &1881601151144730500
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 9008613733467901100}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &66976380197016852
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 9008613733467901100}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: 6909725a57105054391065660c990906, type: 3}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 1
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!114 &5318398346669987612
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 9008613733467901100}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 7667901d8aea645d28b5125a2ed546ce, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: Features.Coloring::Darkmatter.Features.Coloring.UI.ColorRegionView
|
||||||
|
<RegionId>k__BackingField: Image__1
|
||||||
|
alphaHitThreshold: 0.5
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8c1a621fe81eee5418d130d9f1969a0b
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -35,7 +35,7 @@ RectTransform:
|
|||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 1}
|
m_AnchorMin: {x: 0.5, y: 1}
|
||||||
m_AnchorMax: {x: 0.5, y: 1}
|
m_AnchorMax: {x: 0.5, y: 1}
|
||||||
m_AnchoredPosition: {x: 54, y: -326}
|
m_AnchoredPosition: {x: 56.7, y: -326.5}
|
||||||
m_SizeDelta: {x: 31, y: 69}
|
m_SizeDelta: {x: 31, y: 69}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &1883818561078558899
|
--- !u!222 &1883818561078558899
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 454ff87f9a7a7f145a7847c9df1910d5
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 551c1277e1e665e438dfb89b78f4b376
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,903 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &6607426729946045973
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 4073077316770257903}
|
||||||
|
- component: {fileID: 1832302006908025785}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: CarDrawing
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &4073077316770257903
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 6607426729946045973}
|
||||||
|
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_ConstrainProportionsScale: 0
|
||||||
|
m_Children:
|
||||||
|
- {fileID: 6611875033723683325}
|
||||||
|
- {fileID: 7337772703468584638}
|
||||||
|
- {fileID: 8664110465403997740}
|
||||||
|
- {fileID: 4113502841893853815}
|
||||||
|
- {fileID: 609128672243181164}
|
||||||
|
- {fileID: 137939896112729054}
|
||||||
|
- {fileID: 2223299313670528}
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
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: 0, y: 0}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &1832302006908025785
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 6607426729946045973}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!1001 &3544319611359432726
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 4073077316770257903}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_Pivot.x
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_Pivot.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.x
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.x
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 361.526
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 933.67
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_LocalScale.x
|
||||||
|
value: 0.78764963
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_LocalScale.y
|
||||||
|
value: 0.3334689
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_LocalScale.z
|
||||||
|
value: 0.43189433
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: -456.3802
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 238.82918
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3053322834512969673, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Triangle (1)
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3053322834512969673, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_IsActive
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3308324307825193136, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_PreserveAspect
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
--- !u!224 &4113502841893853815 stripped
|
||||||
|
RectTransform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 3544319611359432726}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!1001 &3695619534353287997
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 4073077316770257903}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 1825175764228994942, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_PreserveAspect
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_Pivot.x
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_Pivot.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.x
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.x
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 381
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 381
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_LocalScale.x
|
||||||
|
value: 0.71582896
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_LocalScale.y
|
||||||
|
value: 0.71582896
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_LocalScale.z
|
||||||
|
value: 0.71582896
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 507.34076
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: -253.56241
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4388206011285020732, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Circle (1)
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4388206011285020732, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_IsActive
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
--- !u!224 &137939896112729054 stripped
|
||||||
|
RectTransform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 3695619534353287997}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!1001 &4239992491961968271
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 4073077316770257903}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 1825175764228994942, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_PreserveAspect
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_Pivot.x
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_Pivot.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.x
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.x
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 381
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 381
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_LocalScale.x
|
||||||
|
value: 0.71582896
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_LocalScale.y
|
||||||
|
value: 0.71582896
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_LocalScale.z
|
||||||
|
value: 0.71582896
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: -522.9133
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: -253.56241
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4388206011285020732, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Circle
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4388206011285020732, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
propertyPath: m_IsActive
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
--- !u!224 &609128672243181164 stripped
|
||||||
|
RectTransform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 3648889831887995107, guid: ed3abc5b1c6bc43938850705ab3e4d4b, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 4239992491961968271}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!1001 &6363732275166626122
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 4073077316770257903}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 4279528263583881541, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Recatngle (1)
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4279528263583881541, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_IsActive
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_Pivot.x
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_Pivot.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.x
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.x
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 719.388
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 381
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_LocalScale.x
|
||||||
|
value: 0.9157051
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_LocalScale.y
|
||||||
|
value: 0.9157051
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_LocalScale.z
|
||||||
|
value: 0.9157051
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 636.27924
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: -87.16804
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8665832532240036901, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_PreserveAspect
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
--- !u!224 &7337772703468584638 stripped
|
||||||
|
RectTransform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 6363732275166626122}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!1001 &7141740410767478498
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 4073077316770257903}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 3388453239853753565, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Square
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7141417102443485026, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
propertyPath: m_Pivot.x
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7141417102443485026, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
propertyPath: m_Pivot.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7141417102443485026, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.x
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7141417102443485026, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7141417102443485026, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.x
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7141417102443485026, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7141417102443485026, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 389.278
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7141417102443485026, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 408.079
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7141417102443485026, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
propertyPath: m_LocalScale.x
|
||||||
|
value: 1.6144629
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7141417102443485026, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
propertyPath: m_LocalScale.y
|
||||||
|
value: 1.6144629
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7141417102443485026, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
propertyPath: m_LocalScale.z
|
||||||
|
value: 1.6144629
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7141417102443485026, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7141417102443485026, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7141417102443485026, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7141417102443485026, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7141417102443485026, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7141417102443485026, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7141417102443485026, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7141417102443485026, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: -2.05974
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7141417102443485026, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 65.08728
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7141417102443485026, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7141417102443485026, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7141417102443485026, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7793443009330116033, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
propertyPath: m_PreserveAspect
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
--- !u!224 &2223299313670528 stripped
|
||||||
|
RectTransform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 7141417102443485026, guid: 4d7801ac4730f46b6ba82c8025ebd177, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 7141740410767478498}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!1001 &7370031818255138313
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 4073077316770257903}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 4279528263583881541, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Recatngle
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4279528263583881541, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_IsActive
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_Pivot.x
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_Pivot.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.x
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.x
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 711.337
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 381
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_LocalScale.x
|
||||||
|
value: 0.9157051
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_LocalScale.y
|
||||||
|
value: 0.9157051
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_LocalScale.z
|
||||||
|
value: 0.9157051
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: -637.35455
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: -87.16804
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8665832532240036901, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
propertyPath: m_PreserveAspect
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
--- !u!224 &6611875033723683325 stripped
|
||||||
|
RectTransform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 4433096382570807284, guid: 70aa2daf45f0649c2823d1930e906f59, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 7370031818255138313}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!1001 &8071840806400771149
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 4073077316770257903}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_Pivot.x
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_Pivot.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.x
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.x
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 398.758
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 872.81
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_LocalScale.x
|
||||||
|
value: 0.78764987
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_LocalScale.y
|
||||||
|
value: 0.33346906
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_LocalScale.z
|
||||||
|
value: 0.43189433
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 0.7071068
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: -0.7071068
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 452.31976
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 237.45436
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: -90
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3053322834512969673, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Triangle
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3053322834512969673, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_IsActive
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3308324307825193136, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
propertyPath: m_PreserveAspect
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
--- !u!224 &8664110465403997740 stripped
|
||||||
|
RectTransform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 592763083234151009, guid: f734f1a4f3d05fb4680f42933ad2a434, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 8071840806400771149}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a167e2a346c01c844974e9378b17e70f
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,92 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &4018315547665848156
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 7744307764399824425}
|
||||||
|
- component: {fileID: 6365559784855574788}
|
||||||
|
- component: {fileID: 5619168769716611897}
|
||||||
|
- component: {fileID: 1426813748225321167}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Semi Circle
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &7744307764399824425
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4018315547665848156}
|
||||||
|
m_LocalRotation: {x: -0, y: -0, z: 0.9459242, w: 0.3243876}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 0.62555456, y: 0.62555456, z: 0.62555456}
|
||||||
|
m_ConstrainProportionsScale: 1
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 142.143}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 0, y: 0}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &6365559784855574788
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4018315547665848156}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &5619168769716611897
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4018315547665848156}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: ec25d9f38cb5b9e4e8137867ab2fdba5, type: 3}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 1
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!114 &1426813748225321167
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4018315547665848156}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 5d79b18d536324085b58d842648372a8, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: Features.ShapeBuilder::Darkmatter.Features.ShapeBuilder.UI.SlotMarker
|
||||||
|
shape: {fileID: 11400000, guid: f5c929a6f977347d0ad820f3c75fad22, type: 2}
|
||||||
|
outline: {fileID: 0}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 672d03f1267bd475e8e13138745d7a26
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,92 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &3131919094368649507
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 6065956399601147459}
|
||||||
|
- component: {fileID: 8696052209776578822}
|
||||||
|
- component: {fileID: 2246199958633846422}
|
||||||
|
- component: {fileID: 2943043780804435268}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Semi Oval
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &6065956399601147459
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3131919094368649507}
|
||||||
|
m_LocalRotation: {x: -0, y: -0, z: 0.9459242, w: 0.3243876}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 0.62555456, y: 0.62555456, z: 0.62555456}
|
||||||
|
m_ConstrainProportionsScale: 1
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 142.143}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 0, y: 0}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &8696052209776578822
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3131919094368649507}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &2246199958633846422
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3131919094368649507}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: 1beff6daa2ae430489c42e4a555da441, type: 3}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 1
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!114 &2943043780804435268
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3131919094368649507}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 5d79b18d536324085b58d842648372a8, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: Features.ShapeBuilder::Darkmatter.Features.ShapeBuilder.UI.SlotMarker
|
||||||
|
shape: {fileID: 11400000, guid: 5cf3e58088f124445b00423cf68c01aa, type: 2}
|
||||||
|
outline: {fileID: 0}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 1f67e787040f74945b4094368d0ba215
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,92 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &3388453239853753565
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 7141417102443485026}
|
||||||
|
- component: {fileID: 1022797824599580644}
|
||||||
|
- component: {fileID: 7793443009330116033}
|
||||||
|
- component: {fileID: 2829602331308694695}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Square
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &7141417102443485026
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3388453239853753565}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0.7071068, w: 0.7071068}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 0.4978243, y: 0.4978243, z: 0.4978243}
|
||||||
|
m_ConstrainProportionsScale: 1
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 90}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 170, y: 449}
|
||||||
|
m_SizeDelta: {x: 375, y: 386}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &1022797824599580644
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3388453239853753565}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &7793443009330116033
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3388453239853753565}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: c3293fddd457324499e794c843736653, type: 3}
|
||||||
|
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!114 &2829602331308694695
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3388453239853753565}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 5d79b18d536324085b58d842648372a8, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: Features.ShapeBuilder::Darkmatter.Features.ShapeBuilder.UI.SlotMarker
|
||||||
|
shape: {fileID: 11400000, guid: 4a67406eb6fe043628d2b6a4e0c970ba, type: 2}
|
||||||
|
outline: {fileID: 0}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 4d7801ac4730f46b6ba82c8025ebd177
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,92 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &3053322834512969673
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 592763083234151009}
|
||||||
|
- component: {fileID: 7065549689243831870}
|
||||||
|
- component: {fileID: 3308324307825193136}
|
||||||
|
- component: {fileID: 879632870433278761}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Triangle
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &592763083234151009
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3053322834512969673}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0.9999987, w: 0.0016319134}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 0.53963405, y: 0.228466, z: 0.29589912}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 179.813}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 14, y: -2}
|
||||||
|
m_SizeDelta: {x: 386, y: 387}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &7065549689243831870
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3053322834512969673}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &3308324307825193136
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3053322834512969673}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: cbc63d77c9f7c8448b6ff8900b09cc3f, type: 3}
|
||||||
|
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!114 &879632870433278761
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3053322834512969673}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 5d79b18d536324085b58d842648372a8, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: Features.ShapeBuilder::Darkmatter.Features.ShapeBuilder.UI.SlotMarker
|
||||||
|
shape: {fileID: 11400000, guid: 888b6a7cd3cae42099e8793f2e486dfd, type: 2}
|
||||||
|
outline: {fileID: 0}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f734f1a4f3d05fb4680f42933ad2a434
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
File diff suppressed because one or more lines are too long
@@ -887,7 +887,7 @@ AnimationClip:
|
|||||||
m_PostInfinity: 2
|
m_PostInfinity: 2
|
||||||
m_RotationOrder: 4
|
m_RotationOrder: 4
|
||||||
attribute: m_LocalEulerAngles.z
|
attribute: m_LocalEulerAngles.z
|
||||||
path: ' Apple Steam (1)'
|
path: ' Apple Leaf (1)'
|
||||||
classID: 224
|
classID: 224
|
||||||
script: {fileID: 0}
|
script: {fileID: 0}
|
||||||
flags: 0
|
flags: 0
|
||||||
@@ -899,19 +899,7 @@ AnimationClip:
|
|||||||
m_PostInfinity: 2
|
m_PostInfinity: 2
|
||||||
m_RotationOrder: 4
|
m_RotationOrder: 4
|
||||||
attribute: m_LocalEulerAngles.y
|
attribute: m_LocalEulerAngles.y
|
||||||
path: ' Apple Steam (1)'
|
path: ' Apple Leaf (1)'
|
||||||
classID: 224
|
|
||||||
script: {fileID: 0}
|
|
||||||
flags: 0
|
|
||||||
- serializedVersion: 2
|
|
||||||
curve:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Curve: []
|
|
||||||
m_PreInfinity: 2
|
|
||||||
m_PostInfinity: 2
|
|
||||||
m_RotationOrder: 4
|
|
||||||
attribute: m_LocalEulerAngles.x
|
|
||||||
path: ' Apple Steam (1)'
|
|
||||||
classID: 224
|
classID: 224
|
||||||
script: {fileID: 0}
|
script: {fileID: 0}
|
||||||
flags: 0
|
flags: 0
|
||||||
@@ -927,6 +915,18 @@ AnimationClip:
|
|||||||
classID: 224
|
classID: 224
|
||||||
script: {fileID: 0}
|
script: {fileID: 0}
|
||||||
flags: 0
|
flags: 0
|
||||||
|
- serializedVersion: 2
|
||||||
|
curve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve: []
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
attribute: m_LocalEulerAngles.x
|
||||||
|
path: ' Apple Steam (1)'
|
||||||
|
classID: 224
|
||||||
|
script: {fileID: 0}
|
||||||
|
flags: 0
|
||||||
- serializedVersion: 2
|
- serializedVersion: 2
|
||||||
curve:
|
curve:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
@@ -935,7 +935,7 @@ AnimationClip:
|
|||||||
m_PostInfinity: 2
|
m_PostInfinity: 2
|
||||||
m_RotationOrder: 4
|
m_RotationOrder: 4
|
||||||
attribute: m_LocalEulerAngles.y
|
attribute: m_LocalEulerAngles.y
|
||||||
path: ' Apple Leaf (1)'
|
path: ' Apple Steam (1)'
|
||||||
classID: 224
|
classID: 224
|
||||||
script: {fileID: 0}
|
script: {fileID: 0}
|
||||||
flags: 0
|
flags: 0
|
||||||
@@ -947,7 +947,7 @@ AnimationClip:
|
|||||||
m_PostInfinity: 2
|
m_PostInfinity: 2
|
||||||
m_RotationOrder: 4
|
m_RotationOrder: 4
|
||||||
attribute: m_LocalEulerAngles.z
|
attribute: m_LocalEulerAngles.z
|
||||||
path: ' Apple Leaf (1)'
|
path: ' Apple Steam (1)'
|
||||||
classID: 224
|
classID: 224
|
||||||
script: {fileID: 0}
|
script: {fileID: 0}
|
||||||
flags: 0
|
flags: 0
|
||||||
|
|||||||
17
Assets/Darkmatter/Data/Drawings/Shapes/Semi Circle.asset
Normal file
17
Assets/Darkmatter/Data/Drawings/Shapes/Semi Circle.asset
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!114 &11400000
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fd4d7742f1ae94c31b7592503ec2bc2f, type: 3}
|
||||||
|
m_Name: Semi Circle
|
||||||
|
m_EditorClassIdentifier: Core::Darkmatter.Core.Data.Static.Features.ShapeBuilder.ShapeSO
|
||||||
|
<Id>k__BackingField: Semi Circle
|
||||||
|
<Sprite>k__BackingField: {fileID: 21300000, guid: ec25d9f38cb5b9e4e8137867ab2fdba5, type: 3}
|
||||||
|
<DefaultSizeDelta>k__BackingField: {x: 256, y: 256}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f5c929a6f977347d0ad820f3c75fad22
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
17
Assets/Darkmatter/Data/Drawings/Shapes/Semi Oval.asset
Normal file
17
Assets/Darkmatter/Data/Drawings/Shapes/Semi Oval.asset
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!114 &11400000
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fd4d7742f1ae94c31b7592503ec2bc2f, type: 3}
|
||||||
|
m_Name: Semi Oval
|
||||||
|
m_EditorClassIdentifier: Core::Darkmatter.Core.Data.Static.Features.ShapeBuilder.ShapeSO
|
||||||
|
<Id>k__BackingField: Semi Oval
|
||||||
|
<Sprite>k__BackingField: {fileID: 21300000, guid: 1beff6daa2ae430489c42e4a555da441, type: 3}
|
||||||
|
<DefaultSizeDelta>k__BackingField: {x: 256, y: 256}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5cf3e58088f124445b00423cf68c01aa
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
45
Assets/Darkmatter/Data/Drawings/Templates/Airplane.asset
Normal file
45
Assets/Darkmatter/Data/Drawings/Templates/Airplane.asset
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!114 &11400000
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 712e4ea76c27b4cdaab50081d36d953a, type: 3}
|
||||||
|
m_Name: Airplane
|
||||||
|
m_EditorClassIdentifier: Core::Darkmatter.Core.Data.Static.Features.DrawingTemplate.DrawingTemplateSO
|
||||||
|
id: Airplane
|
||||||
|
displayName: Airplane
|
||||||
|
defaultThumbnail: {fileID: 21300000, guid: 4985baba855db644ca181da896248105, type: 3}
|
||||||
|
drawingPrefab: {fileID: 970882496690282873, guid: 551c1277e1e665e438dfb89b78f4b376, type: 3}
|
||||||
|
coloringPrefab: {fileID: 2018849806684805117, guid: 8c1a621fe81eee5418d130d9f1969a0b, type: 3}
|
||||||
|
completionAnimationPrefab: {fileID: 0}
|
||||||
|
pieces:
|
||||||
|
- {fileID: 11400000, guid: 4a67406eb6fe043628d2b6a4e0c970ba, type: 2}
|
||||||
|
- {fileID: 11400000, guid: a3dc108a48b1e4f2196e8d49ae8e3edd, type: 2}
|
||||||
|
- {fileID: 11400000, guid: a3dc108a48b1e4f2196e8d49ae8e3edd, type: 2}
|
||||||
|
- {fileID: 11400000, guid: 888b6a7cd3cae42099e8793f2e486dfd, type: 2}
|
||||||
|
- {fileID: 11400000, guid: 888b6a7cd3cae42099e8793f2e486dfd, type: 2}
|
||||||
|
- {fileID: 11400000, guid: 888b6a7cd3cae42099e8793f2e486dfd, type: 2}
|
||||||
|
- {fileID: 11400000, guid: 888b6a7cd3cae42099e8793f2e486dfd, type: 2}
|
||||||
|
- {fileID: 11400000, guid: 888b6a7cd3cae42099e8793f2e486dfd, type: 2}
|
||||||
|
regions:
|
||||||
|
- RegionId: Image
|
||||||
|
InitialColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- RegionId: Image__1
|
||||||
|
InitialColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- RegionId: Image__2
|
||||||
|
InitialColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- RegionId: Image__3
|
||||||
|
InitialColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- RegionId: Image__4
|
||||||
|
InitialColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- RegionId: Image__5
|
||||||
|
InitialColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- RegionId: Image__6
|
||||||
|
InitialColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
colorPaletteId: defaultPalette
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 977dc7dac5ee6b543b8ed47c2299919e
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
50
Assets/Darkmatter/Data/Drawings/Templates/Car.asset
Normal file
50
Assets/Darkmatter/Data/Drawings/Templates/Car.asset
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!114 &11400000
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 712e4ea76c27b4cdaab50081d36d953a, type: 3}
|
||||||
|
m_Name: Car
|
||||||
|
m_EditorClassIdentifier: Core::Darkmatter.Core.Data.Static.Features.DrawingTemplate.DrawingTemplateSO
|
||||||
|
id: Car
|
||||||
|
displayName: Car
|
||||||
|
defaultThumbnail: {fileID: 21300000, guid: f02311a9581cacd49b0d6e736cdbbf1c, type: 3}
|
||||||
|
drawingPrefab: {fileID: 6607426729946045973, guid: a167e2a346c01c844974e9378b17e70f, type: 3}
|
||||||
|
coloringPrefab: {fileID: 4793633044471078775, guid: 454ff87f9a7a7f145a7847c9df1910d5, type: 3}
|
||||||
|
completionAnimationPrefab: {fileID: 0}
|
||||||
|
pieces:
|
||||||
|
- {fileID: 11400000, guid: 4a67406eb6fe043628d2b6a4e0c970ba, type: 2}
|
||||||
|
- {fileID: 11400000, guid: 4a67406eb6fe043628d2b6a4e0c970ba, type: 2}
|
||||||
|
- {fileID: 11400000, guid: 888b6a7cd3cae42099e8793f2e486dfd, type: 2}
|
||||||
|
- {fileID: 11400000, guid: 888b6a7cd3cae42099e8793f2e486dfd, type: 2}
|
||||||
|
- {fileID: 11400000, guid: a3dc108a48b1e4f2196e8d49ae8e3edd, type: 2}
|
||||||
|
- {fileID: 11400000, guid: a3dc108a48b1e4f2196e8d49ae8e3edd, type: 2}
|
||||||
|
- {fileID: 11400000, guid: 4a67406eb6fe043628d2b6a4e0c970ba, type: 2}
|
||||||
|
regions:
|
||||||
|
- RegionId: Body
|
||||||
|
InitialColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- RegionId: Glass1
|
||||||
|
InitialColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- RegionId: Glass2
|
||||||
|
InitialColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- RegionId: BumperFront
|
||||||
|
InitialColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- RegionId: BumperMiddle
|
||||||
|
InitialColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- RegionId: Bumperback
|
||||||
|
InitialColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- RegionId: TireFront
|
||||||
|
InitialColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- RegionId: TireFront__1
|
||||||
|
InitialColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- RegionId: TireBack
|
||||||
|
InitialColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- RegionId: TireBack__1
|
||||||
|
InitialColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
colorPaletteId: defaultPalette
|
||||||
8
Assets/Darkmatter/Data/Drawings/Templates/Car.asset.meta
Normal file
8
Assets/Darkmatter/Data/Drawings/Templates/Car.asset.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2d55441a1a6751c45bb9af623301426e
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -274,6 +274,7 @@ RectTransform:
|
|||||||
- {fileID: 1310839949}
|
- {fileID: 1310839949}
|
||||||
- {fileID: 376589367}
|
- {fileID: 376589367}
|
||||||
- {fileID: 1143672390}
|
- {fileID: 1143672390}
|
||||||
|
- {fileID: 1340226039}
|
||||||
m_Father: {fileID: 201822947}
|
m_Father: {fileID: 201822947}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
@@ -354,7 +355,6 @@ RectTransform:
|
|||||||
- {fileID: 1518670451}
|
- {fileID: 1518670451}
|
||||||
- {fileID: 1989194441}
|
- {fileID: 1989194441}
|
||||||
- {fileID: 153461769}
|
- {fileID: 153461769}
|
||||||
- {fileID: 1340226039}
|
|
||||||
m_Father: {fileID: 2069155641}
|
m_Father: {fileID: 2069155641}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 0}
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
@@ -1395,6 +1395,8 @@ MonoBehaviour:
|
|||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier: Features.GameplayFlow::Darkmatter.Features.GameplayFlow.GameplayFlowFeatureModule
|
m_EditorClassIdentifier: Features.GameplayFlow::Darkmatter.Features.GameplayFlow.GameplayFlowFeatureModule
|
||||||
sceneRefs: {fileID: 396806867}
|
sceneRefs: {fileID: 396806867}
|
||||||
|
nextButtonView: {fileID: 259035382}
|
||||||
|
backButtonView: {fileID: 1130088203}
|
||||||
--- !u!1 &1129540368
|
--- !u!1 &1129540368
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -1689,6 +1691,14 @@ PrefabInstance:
|
|||||||
propertyPath: m_LocalEulerAnglesHint.z
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 198479350452278120, guid: 0d57e66d7df915b4aabb02005dd9f8b1, type: 3}
|
||||||
|
propertyPath: playOnAwake
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 198799323246219528, guid: 0d57e66d7df915b4aabb02005dd9f8b1, type: 3}
|
||||||
|
propertyPath: playOnAwake
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 199137177167099770, guid: 0d57e66d7df915b4aabb02005dd9f8b1, type: 3}
|
- target: {fileID: 199137177167099770, guid: 0d57e66d7df915b4aabb02005dd9f8b1, type: 3}
|
||||||
propertyPath: m_Enabled
|
propertyPath: m_Enabled
|
||||||
value: 0
|
value: 0
|
||||||
@@ -2219,17 +2229,17 @@ RectTransform:
|
|||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 1340226038}
|
m_GameObject: {fileID: 1340226038}
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 0, y: 0, z: 0}
|
m_LocalScale: {x: 0, y: 0, z: 0}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 1141121865}
|
- {fileID: 1141121865}
|
||||||
m_Father: {fileID: 201822947}
|
m_Father: {fileID: 153461769}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: -139.44305, y: 163.66599}
|
||||||
m_SizeDelta: {x: 0, y: 0}
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!114 &1340226040
|
--- !u!114 &1340226040
|
||||||
@@ -2934,8 +2944,8 @@ MonoBehaviour:
|
|||||||
m_Calls: []
|
m_Calls: []
|
||||||
m_text: Artbook
|
m_text: Artbook
|
||||||
m_isRightToLeft: 0
|
m_isRightToLeft: 0
|
||||||
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
m_fontAsset: {fileID: 11400000, guid: dde468a43b0440f4a9d121fb1d8f290e, type: 2}
|
||||||
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
m_sharedMaterial: {fileID: -1548830327015913602, guid: dde468a43b0440f4a9d121fb1d8f290e, type: 2}
|
||||||
m_fontSharedMaterials: []
|
m_fontSharedMaterials: []
|
||||||
m_fontMaterial: {fileID: 0}
|
m_fontMaterial: {fileID: 0}
|
||||||
m_fontMaterials: []
|
m_fontMaterials: []
|
||||||
|
|||||||
Reference in New Issue
Block a user