Moved some files and finished the heart script

pull/4/head
RedStealthDev 2 years ago
parent f7b1945984
commit 9deef4de96

@ -1,30 +0,0 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class HeartScript : MonoBehaviour
{
Sprite[] HeartImages;
private List<GameObject> Hearts = new List<GameObject>();
public GameObject HeartPrefab;
public int AmountOfHearts = 1;
public int HeartStrength = 14;
private void Start()
{
HeartImages = Resources.LoadAll<Sprite>("Materials/Grapic/Player Heart.png");
Hearts.Add(GameObject.Instantiate(HeartPrefab, new Vector3(0, 450, 0), this.transform.rotation, this.transform));
}
public void FixedUpdate()
{
}
}

@ -35,9 +35,9 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 5, y: -5}
m_SizeDelta: {x: 48, y: 48}
m_Pivot: {x: 0, y: 1}
--- !u!222 &3673570478624892709
CanvasRenderer:
m_ObjectHideFlags: 0

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: ef2e4b744eb18ed4388745de100c18d9
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

Before

Width:  |  Height:  |  Size: 609 B

After

Width:  |  Height:  |  Size: 609 B

@ -113,6 +113,18 @@ TextureImporter:
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: 4
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites:
@ -120,12 +132,12 @@ TextureImporter:
name: Player Heart_0
rect:
serializedVersion: 2
x: 0
y: 60
x: 15
y: 0
width: 15
height: 15
alignment: 0
pivot: {x: 0, y: 0}
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
@ -141,12 +153,12 @@ TextureImporter:
name: Player Heart_1
rect:
serializedVersion: 2
x: 15
y: 60
x: 0
y: 0
width: 15
height: 15
alignment: 0
pivot: {x: 0, y: 0}
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
@ -163,11 +175,11 @@ TextureImporter:
rect:
serializedVersion: 2
x: 30
y: 60
y: 15
width: 15
height: 15
alignment: 0
pivot: {x: 0, y: 0}
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
@ -183,12 +195,12 @@ TextureImporter:
name: Player Heart_3
rect:
serializedVersion: 2
x: 0
y: 45
x: 15
y: 15
width: 15
height: 15
alignment: 0
pivot: {x: 0, y: 0}
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
@ -204,12 +216,12 @@ TextureImporter:
name: Player Heart_4
rect:
serializedVersion: 2
x: 15
y: 45
x: 0
y: 15
width: 15
height: 15
alignment: 0
pivot: {x: 0, y: 0}
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
@ -226,11 +238,11 @@ TextureImporter:
rect:
serializedVersion: 2
x: 30
y: 45
y: 30
width: 15
height: 15
alignment: 0
pivot: {x: 0, y: 0}
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
@ -246,12 +258,12 @@ TextureImporter:
name: Player Heart_6
rect:
serializedVersion: 2
x: 0
x: 15
y: 30
width: 15
height: 15
alignment: 0
pivot: {x: 0, y: 0}
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
@ -267,12 +279,12 @@ TextureImporter:
name: Player Heart_7
rect:
serializedVersion: 2
x: 15
x: 0
y: 30
width: 15
height: 15
alignment: 0
pivot: {x: 0, y: 0}
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
@ -289,11 +301,11 @@ TextureImporter:
rect:
serializedVersion: 2
x: 30
y: 30
y: 45
width: 15
height: 15
alignment: 0
pivot: {x: 0, y: 0}
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
@ -309,12 +321,12 @@ TextureImporter:
name: Player Heart_9
rect:
serializedVersion: 2
x: 0
y: 15
x: 15
y: 45
width: 15
height: 15
alignment: 0
pivot: {x: 0, y: 0}
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
@ -330,12 +342,12 @@ TextureImporter:
name: Player Heart_10
rect:
serializedVersion: 2
x: 15
y: 15
x: 0
y: 45
width: 15
height: 15
alignment: 0
pivot: {x: 0, y: 0}
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
@ -352,11 +364,11 @@ TextureImporter:
rect:
serializedVersion: 2
x: 30
y: 15
y: 60
width: 15
height: 15
alignment: 0
pivot: {x: 0, y: 0}
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
@ -372,12 +384,12 @@ TextureImporter:
name: Player Heart_12
rect:
serializedVersion: 2
x: 0
y: 0
x: 15
y: 60
width: 15
height: 15
alignment: 0
pivot: {x: 0, y: 0}
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
@ -393,12 +405,12 @@ TextureImporter:
name: Player Heart_13
rect:
serializedVersion: 2
x: 15
y: 0
x: 0
y: 60
width: 15
height: 15
alignment: 0
pivot: {x: 0, y: 0}
pivot: {x: 0.5, y: 0.5}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []

@ -5436,8 +5436,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
HeartPrefab: {fileID: 3814295357292333890, guid: 48bd85a18b466444d828523869e4a40b, type: 3}
AmountOfHearts: 1
HeartStrength: 14
HeartStrength: 0
--- !u!114 &1433719853
MonoBehaviour:
m_ObjectHideFlags: 0
@ -5490,7 +5489,7 @@ Canvas:
m_RenderMode: 0
m_Camera: {fileID: 0}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_PixelPerfect: 1
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0

@ -0,0 +1,40 @@
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class HeartScript : MonoBehaviour
{
private Sprite[] HeartImages;
private List<GameObject> Hearts = new List<GameObject>();
public GameObject HeartPrefab;
public int HeartStrength = 0;
private void Start()
{
HeartImages = Resources.LoadAll<Sprite>("Player Heart");
AddHeart();
}
public void FixedUpdate()
{
int tempHP = HeartStrength;
foreach(var item in Hearts)
{
item.GetComponent<Image>().sprite = HeartImages[Math.Clamp(tempHP, 0, 13)];
tempHP -= 13;
}
}
private void AddHeart()
{
Hearts.Add(GameObject.Instantiate(HeartPrefab, this.transform));
Hearts[Hearts.Count-1].GetComponent<Image>().sprite = HeartImages[13];
Hearts[Hearts.Count-1].GetComponent<RectTransform>().anchoredPosition3D = new Vector3(5 + ((Hearts.Count-1) * 53), -5, 0);
HeartStrength += 14;
}
}

@ -15,17 +15,17 @@ MonoBehaviour:
m_Children:
- {fileID: 3}
- {fileID: 5}
- {fileID: 13}
- {fileID: 12}
m_Position:
serializedVersion: 2
x: 0
y: 30
width: 1920
height: 927
height: 947
m_MinSize: {x: 300, y: 200}
m_MaxSize: {x: 24288, y: 16192}
vertical: 0
controlID: 6172
controlID: 533
--- !u!114 &2
MonoBehaviour:
m_ObjectHideFlags: 52
@ -34,92 +34,29 @@ MonoBehaviour:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 1
m_Script: {fileID: 12015, guid: 0000000000000000e000000000000000, type: 0}
m_EditorHideFlags: 0
m_Script: {fileID: 12071, guid: 0000000000000000e000000000000000, type: 0}
m_Name:
m_EditorClassIdentifier:
m_MinSize: {x: 200, y: 200}
m_MinSize: {x: 100, y: 100}
m_MaxSize: {x: 4000, y: 4000}
m_TitleContent:
m_Text: Game
m_Image: {fileID: -6423792434712278376, guid: 0000000000000000d000000000000000, type: 0}
m_Text: Animation
m_Image: {fileID: -8166618308981325432, guid: 0000000000000000d000000000000000, type: 0}
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 2223
y: 89
width: 1163
height: 643
x: 302
y: 73
width: 1101
height: 640
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default
m_SaveData: []
m_SerializedViewNames:
- UnityEditor.DeviceSimulation.SimulatorWindow
m_SerializedViewValues:
- /home/red/projekts/RatAttack2D/Library/PlayModeViewStates/8c40760acb5b93949a5b619942810555
m_PlayModeViewName: GameView
m_ShowGizmos: 0
m_TargetDisplay: 0
m_ClearColor: {r: 0, g: 0, b: 0, a: 0}
m_TargetSize: {x: 1106, y: 622}
m_TextureFilterMode: 0
m_TextureHideFlags: 61
m_RenderIMGUI: 1
m_EnterPlayModeBehavior: 0
m_UseMipMap: 0
m_VSyncEnabled: 0
m_Gizmos: 0
m_Stats: 0
m_SelectedSizes: 01000000000000000000000000000000000000000000000000000000000000000000000000000000
m_ZoomArea:
m_HRangeLocked: 0
m_VRangeLocked: 0
hZoomLockedByDefault: 0
vZoomLockedByDefault: 0
m_HBaseRangeMin: -553
m_HBaseRangeMax: 553
m_VBaseRangeMin: -311
m_VBaseRangeMax: 311
m_HAllowExceedBaseRangeMin: 1
m_HAllowExceedBaseRangeMax: 1
m_VAllowExceedBaseRangeMin: 1
m_VAllowExceedBaseRangeMax: 1
m_ScaleWithWindow: 0
m_HSlider: 0
m_VSlider: 0
m_IgnoreScrollWheelUntilClicked: 0
m_EnableMouseInput: 0
m_EnableSliderZoomHorizontal: 0
m_EnableSliderZoomVertical: 0
m_UniformScale: 1
m_UpDirection: 1
m_DrawArea:
serializedVersion: 2
x: 0
y: 21
width: 1163
height: 622
m_Scale: {x: 1, y: 1}
m_Translation: {x: 581.5, y: 311}
m_MarginLeft: 0
m_MarginRight: 0
m_MarginTop: 0
m_MarginBottom: 0
m_LastShownAreaInsideMargins:
serializedVersion: 2
x: -581.5
y: -311
width: 1163
height: 622
m_MinimalGUI: 1
m_defaultScale: 1
m_LastWindowPixelSize: {x: 1163, y: 643}
m_ClearInEditMode: 1
m_NoCameraWarning: 1
m_LowResolutionForAspectRatios: 01000000000000000000
m_XRRenderMode: 0
m_RenderTexture: {fileID: 0}
m_LockTracker:
m_IsLocked: 0
m_LastSelectedObjectID: -2282
--- !u!114 &3
MonoBehaviour:
m_ObjectHideFlags: 52
@ -137,10 +74,10 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 303
height: 927
m_MinSize: {x: 201, y: 221}
m_MaxSize: {x: 4001, y: 4021}
width: 302
height: 947
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 4000, y: 4000}
m_ActualView: {fileID: 4}
m_Panes:
- {fileID: 4}
@ -166,10 +103,10 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 1920
y: 89
width: 302
height: 906
x: 0
y: 73
width: 301
height: 926
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default
@ -177,9 +114,9 @@ MonoBehaviour:
m_SceneHierarchy:
m_TreeViewState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs: 2c620000
m_LastClickedID: 25132
m_ExpandedIDs: 9ef8ffff20fbffff3462000038620000
m_SelectedIDs: 16f7ffff
m_LastClickedID: 0
m_ExpandedIDs: e8faffff
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@ -220,14 +157,14 @@ MonoBehaviour:
- {fileID: 9}
m_Position:
serializedVersion: 2
x: 303
x: 302
y: 0
width: 1165
height: 927
width: 1103
height: 947
m_MinSize: {x: 100, y: 200}
m_MaxSize: {x: 8096, y: 16192}
vertical: 1
controlID: 6173
controlID: 534
--- !u!114 &6
MonoBehaviour:
m_ObjectHideFlags: 52
@ -238,23 +175,23 @@ MonoBehaviour:
m_Enabled: 1
m_EditorHideFlags: 1
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
m_Name: GameView
m_Name: AnimationWindow
m_EditorClassIdentifier:
m_Children: []
m_Position:
serializedVersion: 2
x: 0
y: 0
width: 1165
height: 664
m_MinSize: {x: 202, y: 221}
width: 1103
height: 661
m_MinSize: {x: 102, y: 121}
m_MaxSize: {x: 4002, y: 4021}
m_ActualView: {fileID: 2}
m_Panes:
- {fileID: 7}
- {fileID: 2}
- {fileID: 8}
m_Selected: 1
- {fileID: 2}
m_Selected: 2
m_LastSelected: 0
--- !u!114 &7
MonoBehaviour:
@ -276,10 +213,10 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 2223
y: 89
width: 1163
height: 643
x: 302
y: 73
width: 1101
height: 640
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default
@ -300,9 +237,9 @@ MonoBehaviour:
floating: 0
collapsed: 0
displayed: 1
snapOffset: {x: -141, y: 149}
snapOffset: {x: 101, y: 0}
snapOffsetDelta: {x: 0, y: 0}
snapCorner: 1
snapCorner: 0
id: unity-grid-and-snap-toolbar
index: 1
layout: 1
@ -376,7 +313,7 @@ MonoBehaviour:
containerId: overlay-container--right
floating: 0
collapsed: 0
displayed: 1
displayed: 0
snapOffset: {x: 0, y: 0}
snapOffsetDelta: {x: 0, y: 0}
snapCorner: 0
@ -536,9 +473,9 @@ MonoBehaviour:
m_PlayAudio: 0
m_AudioPlay: 0
m_Position:
m_Target: {x: 1.5677803, y: -4.3286753, z: -0.12356802}
m_Target: {x: 2.2449362, y: 21.94153, z: -2.103227}
speed: 2
m_Value: {x: 1.5677803, y: -4.3286753, z: -0.12356802}
m_Value: {x: 2.2449362, y: 21.94153, z: -2.103227}
m_RenderMode: 0
m_CameraMode:
drawMode: 0
@ -589,9 +526,9 @@ MonoBehaviour:
speed: 2
m_Value: {x: 0, y: 0, z: 0, w: 1}
m_Size:
m_Target: 5.889936
m_Target: 91.50382
speed: 2
m_Value: 5.889936
m_Value: 91.50382
m_Ortho:
m_Target: 1
speed: 2
@ -624,62 +561,92 @@ MonoBehaviour:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 12914, guid: 0000000000000000e000000000000000, type: 0}
m_EditorHideFlags: 1
m_Script: {fileID: 12015, guid: 0000000000000000e000000000000000, type: 0}
m_Name:
m_EditorClassIdentifier:
m_MinSize: {x: 100, y: 100}
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 4000, y: 4000}
m_TitleContent:
m_Text: Animator
m_Image: {fileID: -1673928668082335149, guid: 0000000000000000d000000000000000, type: 0}
m_Text: Game
m_Image: {fileID: -6423792434712278376, guid: 0000000000000000d000000000000000, type: 0}
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 2223
y: 89
width: 1163
height: 643
x: 302
y: 73
width: 1102
height: 641
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default
m_SaveData: []
m_ViewTransforms:
m_KeySerializationHelper:
- {fileID: -9079914194315318268, guid: 6b0aac9c28934ea58a29403562054c6a, type: 2}
m_ValueSerializationHelper:
- e00: 1
e01: 0
e02: 0
e03: 289
e10: 0
e11: 1
e12: 0
e13: 14
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_PreviewAnimator: {fileID: 0}
m_AnimatorController: {fileID: 9100000, guid: 6b0aac9c28934ea58a29403562054c6a, type: 2}
m_BreadCrumbs:
- m_Target: {fileID: -9079914194315318268, guid: 6b0aac9c28934ea58a29403562054c6a, type: 2}
m_ScrollPosition: {x: 0, y: 0}
stateMachineGraph: {fileID: 0}
stateMachineGraphGUI: {fileID: 0}
blendTreeGraph: {fileID: 0}
blendTreeGraphGUI: {fileID: 0}
m_AutoLiveLink: 1
m_MiniTool: 0
m_LockTracker:
m_IsLocked: 0
m_CurrentEditor: 1
m_LayerEditor:
m_SelectedLayerIndex: 0
m_SerializedViewNames:
- UnityEditor.DeviceSimulation.SimulatorWindow
m_SerializedViewValues:
- /home/red/projekts/RatAttack2D/Library/PlayModeViewStates/8c40760acb5b93949a5b619942810555
m_PlayModeViewName: GameView
m_ShowGizmos: 0
m_TargetDisplay: 0
m_ClearColor: {r: 0, g: 0, b: 0, a: 0}
m_TargetSize: {x: 1102, y: 620}
m_TextureFilterMode: 0
m_TextureHideFlags: 61
m_RenderIMGUI: 1
m_EnterPlayModeBehavior: 0
m_UseMipMap: 0
m_VSyncEnabled: 1
m_Gizmos: 0
m_Stats: 0
m_SelectedSizes: 01000000000000000000000000000000000000000000000000000000000000000000000000000000
m_ZoomArea:
m_HRangeLocked: 0
m_VRangeLocked: 0
hZoomLockedByDefault: 0
vZoomLockedByDefault: 0
m_HBaseRangeMin: -551
m_HBaseRangeMax: 551
m_VBaseRangeMin: -310
m_VBaseRangeMax: 310
m_HAllowExceedBaseRangeMin: 1
m_HAllowExceedBaseRangeMax: 1
m_VAllowExceedBaseRangeMin: 1
m_VAllowExceedBaseRangeMax: 1
m_ScaleWithWindow: 0
m_HSlider: 0
m_VSlider: 0
m_IgnoreScrollWheelUntilClicked: 0
m_EnableMouseInput: 1
m_EnableSliderZoomHorizontal: 0
m_EnableSliderZoomVertical: 0
m_UniformScale: 1
m_UpDirection: 1
m_DrawArea:
serializedVersion: 2
x: 0
y: 21
width: 1102
height: 620
m_Scale: {x: 1, y: 1}
m_Translation: {x: 551, y: 310}
m_MarginLeft: 0
m_MarginRight: 0
m_MarginTop: 0
m_MarginBottom: 0
m_LastShownAreaInsideMargins:
serializedVersion: 2
x: -551
y: -310
width: 1102
height: 620
m_MinimalGUI: 1
m_defaultScale: 1
m_LastWindowPixelSize: {x: 1102, y: 641}
m_ClearInEditMode: 1
m_NoCameraWarning: 1
m_LowResolutionForAspectRatios: 01000000000000000000
m_XRRenderMode: 0
m_RenderTexture: {fileID: 0}
--- !u!114 &9
MonoBehaviour:
m_ObjectHideFlags: 52
@ -696,18 +663,17 @@ MonoBehaviour:
m_Position:
serializedVersion: 2
x: 0
y: 664
width: 1165
height: 263
y: 661
width: 1103
height: 286
m_MinSize: {x: 232, y: 271}
m_MaxSize: {x: 10002, y: 10021}
m_ActualView: {fileID: 11}
m_Panes:
- {fileID: 10}
- {fileID: 11}
- {fileID: 12}
m_Selected: 1
m_LastSelected: 0
m_LastSelected: 1
--- !u!114 &10
MonoBehaviour:
m_ObjectHideFlags: 52
@ -728,10 +694,10 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 2223
y: 753
width: 1163
height: 242
x: 302
y: 734
width: 1101
height: 265
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default
@ -756,10 +722,10 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 2223
y: 753
width: 1163
height: 242
x: 302
y: 734
width: 1101
height: 265
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default
@ -785,14 +751,14 @@ MonoBehaviour:
m_LastFolders:
- Assets/AnimatorsAnims
m_LastFoldersGridSize: -1
m_LastProjectPath: /home/red/projekts/RatAttack2D
m_LastProjectPath: D:\repos\WIP\RatAttack2D
m_LockTracker:
m_IsLocked: 0
m_FolderTreeState:
scrollPos: {x: 0, y: 22}
m_SelectedIDs: aa630000
m_LastClickedID: 25514
m_ExpandedIDs: 0000000012630000a6630000a863000000ca9a3b
scrollPos: {x: 0, y: 0}
m_SelectedIDs: fc630000
m_LastClickedID: 25596
m_ExpandedIDs: 00000000f663000000ca9a3b
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@ -820,7 +786,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 0000000012630000a863000000ca9a3b
m_ExpandedIDs: 00000000f6630000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@ -845,8 +811,8 @@ MonoBehaviour:
m_Icon: {fileID: 0}
m_ResourceFile:
m_ListAreaState:
m_SelectedInstanceIDs: 2c620000
m_LastClickedInstanceID: 25132
m_SelectedInstanceIDs: 16f7ffff
m_LastClickedInstanceID: -2282
m_HadKeyboardFocusLastEvent: 0
m_ExpandedInstanceIDs: c623000000000000
m_RenameOverlay:
@ -864,7 +830,7 @@ MonoBehaviour:
m_IsRenaming: 0
m_OriginalEventType: 11
m_IsRenamingFilename: 1
m_ClientGUIView: {fileID: 0}
m_ClientGUIView: {fileID: 9}
m_CreateAssetUtility:
m_EndAction: {fileID: 0}
m_InstanceID: 0
@ -877,37 +843,6 @@ MonoBehaviour:
m_SkipHiddenPackages: 0
m_DirectoriesAreaWidth: 123
--- !u!114 &12
MonoBehaviour:
m_ObjectHideFlags: 52
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: 12071, guid: 0000000000000000e000000000000000, type: 0}
m_Name:
m_EditorClassIdentifier:
m_MinSize: {x: 100, y: 100}
m_MaxSize: {x: 4000, y: 4000}
m_TitleContent:
m_Text: Animation
m_Image: {fileID: -8166618308981325432, guid: 0000000000000000d000000000000000, type: 0}
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 2223
y: 753
width: 1163
height: 242
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default
m_SaveData: []
m_LockTracker:
m_IsLocked: 0
m_LastSelectedObjectID: 25132
--- !u!114 &13
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@ -922,19 +857,19 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 1468
x: 1405
y: 0
width: 452
height: 927
m_MinSize: {x: 276, y: 71}
m_MaxSize: {x: 4001, y: 4021}
m_ActualView: {fileID: 14}
width: 515
height: 947
m_MinSize: {x: 275, y: 50}
m_MaxSize: {x: 4000, y: 4000}
m_ActualView: {fileID: 13}
m_Panes:
- {fileID: 13}
- {fileID: 14}
- {fileID: 15}
m_Selected: 0
m_LastSelected: 1
--- !u!114 &14
--- !u!114 &13
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@ -954,10 +889,10 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 3388
y: 89
width: 451
height: 906
x: 1405
y: 73
width: 514
height: 926
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default
@ -965,7 +900,7 @@ MonoBehaviour:
m_ObjectsLockedBeforeSerialization: []
m_InstanceIDsLockedBeforeSerialization:
m_PreviewResizer:
m_CachedPref: 342
m_CachedPref: 151
m_ControlHash: -371814159
m_PrefName: Preview_InspectorPreview
m_LastInspectedObjectInstanceID: -1
@ -975,7 +910,7 @@ MonoBehaviour:
m_LockTracker:
m_IsLocked: 0
m_PreviewWindow: {fileID: 0}
--- !u!114 &15
--- !u!114 &14
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@ -995,10 +930,10 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 3388
y: 89
width: 451
height: 906
x: 1406
y: 73
width: 513
height: 926
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default

@ -14,16 +14,16 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_PixelRect:
serializedVersion: 2
x: 240
y: 113
width: 1265
height: 663
x: 0
y: 43
width: 1920
height: 997
m_ShowMode: 4
m_Title: Inspector
m_Title: Scene
m_RootView: {fileID: 2}
m_MinSize: {x: 875, y: 350}
m_MaxSize: {x: 10000, y: 10000}
m_Maximized: 0
m_Maximized: 1
--- !u!114 &2
MonoBehaviour:
m_ObjectHideFlags: 52
@ -44,8 +44,8 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 1265
height: 663
width: 1920
height: 997
m_MinSize: {x: 875, y: 300}
m_MaxSize: {x: 10000, y: 10000}
m_UseTopView: 1
@ -69,7 +69,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 1265
width: 1920
height: 30
m_MinSize: {x: 0, y: 0}
m_MaxSize: {x: 0, y: 0}
@ -90,8 +90,8 @@ MonoBehaviour:
m_Position:
serializedVersion: 2
x: 0
y: 643
width: 1265
y: 977
width: 1920
height: 20
m_MinSize: {x: 0, y: 0}
m_MaxSize: {x: 0, y: 0}
@ -115,12 +115,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 30
width: 1265
height: 613
width: 1920
height: 947
m_MinSize: {x: 300, y: 200}
m_MaxSize: {x: 24288, y: 16192}
vertical: 0
controlID: 45
controlID: 1002
--- !u!114 &6
MonoBehaviour:
m_ObjectHideFlags: 52
@ -138,10 +138,10 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 199
height: 613
m_MinSize: {x: 201, y: 221}
m_MaxSize: {x: 4001, y: 4021}
width: 302
height: 947
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 4000, y: 4000}
m_ActualView: {fileID: 12}
m_Panes:
- {fileID: 12}
@ -164,14 +164,14 @@ MonoBehaviour:
- {fileID: 9}
m_Position:
serializedVersion: 2
x: 199
x: 302
y: 0
width: 727
height: 613
width: 1103
height: 947
m_MinSize: {x: 100, y: 200}
m_MaxSize: {x: 8096, y: 16192}
vertical: 1
controlID: 96
controlID: 890
--- !u!114 &8
MonoBehaviour:
m_ObjectHideFlags: 52
@ -189,13 +189,14 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 727
height: 428
m_MinSize: {x: 202, y: 221}
m_MaxSize: {x: 4002, y: 4021}
width: 1103
height: 661
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 4000, y: 4000}
m_ActualView: {fileID: 13}
m_Panes:
- {fileID: 13}
- {fileID: 14}
- {fileID: 11}
m_Selected: 0
m_LastSelected: 1
@ -215,17 +216,15 @@ MonoBehaviour:
m_Position:
serializedVersion: 2
x: 0
y: 428
width: 727
height: 185
y: 661
width: 1103
height: 286
m_MinSize: {x: 232, y: 271}
m_MaxSize: {x: 10002, y: 10021}
m_ActualView: {fileID: 16}
m_Panes:
- {fileID: 15}
- {fileID: 16}
- {fileID: 17}
- {fileID: 14}
m_Selected: 1
m_LastSelected: 0
--- !u!114 &10
@ -243,16 +242,16 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 926
x: 1405
y: 0
width: 339
height: 613
m_MinSize: {x: 276, y: 71}
m_MaxSize: {x: 4001, y: 4021}
m_ActualView: {fileID: 18}
width: 515
height: 947
m_MinSize: {x: 275, y: 50}
m_MaxSize: {x: 4000, y: 4000}
m_ActualView: {fileID: 17}
m_Panes:
- {fileID: 17}
- {fileID: 18}
- {fileID: 19}
m_Selected: 0
m_LastSelected: 1
--- !u!114 &11
@ -263,92 +262,29 @@ MonoBehaviour:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 1
m_Script: {fileID: 12015, guid: 0000000000000000e000000000000000, type: 0}
m_EditorHideFlags: 0
m_Script: {fileID: 12071, guid: 0000000000000000e000000000000000, type: 0}
m_Name:
m_EditorClassIdentifier:
m_MinSize: {x: 200, y: 200}
m_MinSize: {x: 100, y: 100}
m_MaxSize: {x: 4000, y: 4000}
m_TitleContent:
m_Text: Game
m_Image: {fileID: -6423792434712278376, guid: 0000000000000000d000000000000000, type: 0}
m_Text: Animation
m_Image: {fileID: -8166618308981325432, guid: 0000000000000000d000000000000000, type: 0}
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 302
y: 73
width: 1102
height: 641
width: 1101
height: 640
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default
m_SaveData: []
m_SerializedViewNames:
- UnityEditor.DeviceSimulation.SimulatorWindow
m_SerializedViewValues:
- /home/red/projekts/RatAttack2D/Library/PlayModeViewStates/8c40760acb5b93949a5b619942810555
m_PlayModeViewName: GameView
m_ShowGizmos: 0
m_TargetDisplay: 0
m_ClearColor: {r: 0, g: 0, b: 0, a: 0}
m_TargetSize: {x: 1102, y: 620}
m_TextureFilterMode: 0
m_TextureHideFlags: 61
m_RenderIMGUI: 1
m_EnterPlayModeBehavior: 0
m_UseMipMap: 0
m_VSyncEnabled: 1
m_Gizmos: 0
m_Stats: 0
m_SelectedSizes: 01000000000000000000000000000000000000000000000000000000000000000000000000000000
m_ZoomArea:
m_HRangeLocked: 0
m_VRangeLocked: 0
hZoomLockedByDefault: 0
vZoomLockedByDefault: 0
m_HBaseRangeMin: -551
m_HBaseRangeMax: 551
m_VBaseRangeMin: -310
m_VBaseRangeMax: 310
m_HAllowExceedBaseRangeMin: 1
m_HAllowExceedBaseRangeMax: 1
m_VAllowExceedBaseRangeMin: 1
m_VAllowExceedBaseRangeMax: 1
m_ScaleWithWindow: 0
m_HSlider: 0
m_VSlider: 0
m_IgnoreScrollWheelUntilClicked: 0
m_EnableMouseInput: 1
m_EnableSliderZoomHorizontal: 0
m_EnableSliderZoomVertical: 0
m_UniformScale: 1
m_UpDirection: 1
m_DrawArea:
serializedVersion: 2
x: 0
y: 21
width: 1102
height: 620
m_Scale: {x: 1, y: 1}
m_Translation: {x: 551, y: 310}
m_MarginLeft: 0
m_MarginRight: 0
m_MarginTop: 0
m_MarginBottom: 0
m_LastShownAreaInsideMargins:
serializedVersion: 2
x: -551
y: -310
width: 1102
height: 620
m_MinimalGUI: 1
m_defaultScale: 1
m_LastWindowPixelSize: {x: 1102, y: 641}
m_ClearInEditMode: 1
m_NoCameraWarning: 1
m_LowResolutionForAspectRatios: 01000000000000000000
m_XRRenderMode: 0
m_RenderTexture: {fileID: 0}
m_LockTracker:
m_IsLocked: 0
m_LastSelectedObjectID: 25282
--- !u!114 &12
MonoBehaviour:
m_ObjectHideFlags: 52
@ -369,10 +305,10 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 240
y: 143
width: 198
height: 592
x: 0
y: 73
width: 301
height: 926
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default
@ -380,9 +316,9 @@ MonoBehaviour:
m_SceneHierarchy:
m_TreeViewState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs: 84610000
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: b2faffffc6620000de620000e2620000
m_ExpandedIDs: e8faffff7e620000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@ -426,10 +362,10 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 439
y: 143
width: 725
height: 407
x: 302
y: 73
width: 1101
height: 640
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default
@ -686,9 +622,9 @@ MonoBehaviour:
m_PlayAudio: 0
m_AudioPlay: 0
m_Position:
m_Target: {x: 11.690928, y: -8.980604, z: -1.1344234}
m_Target: {x: 1.7546824, y: -20.240704, z: -1.7704557}
speed: 2
m_Value: {x: 12.255868, y: -8.683155, z: -1.147584}
m_Value: {x: 1.7546824, y: -20.240704, z: -1.7704557}
m_RenderMode: 0
m_CameraMode:
drawMode: 0
@ -725,7 +661,7 @@ MonoBehaviour:
m_Size: {x: 1, y: 1}
zGrid:
m_Fade:
m_Target: 0
m_Target: 1
speed: 2
m_Value: 1
m_Color: {r: 0.5, g: 0.5, b: 0.5, a: 0.4}
@ -739,9 +675,9 @@ MonoBehaviour:
speed: 2
m_Value: {x: 0, y: 0, z: 0, w: 1}
m_Size:
m_Target: 27.929539
m_Target: 49.61762
speed: 2
m_Value: 29.24559
m_Value: 49.61762
m_Ortho:
m_Target: 1
speed: 2
@ -774,62 +710,92 @@ MonoBehaviour:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 12914, guid: 0000000000000000e000000000000000, type: 0}
m_EditorHideFlags: 1
m_Script: {fileID: 12015, guid: 0000000000000000e000000000000000, type: 0}
m_Name:
m_EditorClassIdentifier:
m_MinSize: {x: 100, y: 100}
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 4000, y: 4000}
m_TitleContent:
m_Text: Animator
m_Image: {fileID: -1673928668082335149, guid: 0000000000000000d000000000000000, type: 0}
m_Text: Game
m_Image: {fileID: -6423792434712278376, guid: 0000000000000000d000000000000000, type: 0}
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 302
y: 735
width: 1102
height: 264
y: 73
width: 1101
height: 640
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default
m_SaveData: []
m_ViewTransforms:
m_KeySerializationHelper:
- {fileID: -9079914194315318268, guid: 6b0aac9c28934ea58a29403562054c6a, type: 2}
m_ValueSerializationHelper:
- e00: 0.8526872
e01: 0
e02: 0
e03: 214.97694
e10: 0
e11: 0.8526872
e12: 0
e13: -120.11471
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_PreviewAnimator: {fileID: 0}
m_AnimatorController: {fileID: 9100000, guid: 6b0aac9c28934ea58a29403562054c6a, type: 2}
m_BreadCrumbs:
- m_Target: {fileID: -9079914194315318268, guid: 6b0aac9c28934ea58a29403562054c6a, type: 2}
m_ScrollPosition: {x: 0, y: 0}
stateMachineGraph: {fileID: 0}
stateMachineGraphGUI: {fileID: 0}
blendTreeGraph: {fileID: 0}
blendTreeGraphGUI: {fileID: 0}
m_AutoLiveLink: 1
m_MiniTool: 0
m_LockTracker:
m_IsLocked: 0
m_CurrentEditor: 1
m_LayerEditor:
m_SelectedLayerIndex: 0
m_SerializedViewNames:
- UnityEditor.DeviceSimulation.SimulatorWindow
m_SerializedViewValues:
- /home/red/projekts/RatAttack2D/Library/PlayModeViewStates/8c40760acb5b93949a5b619942810555
m_PlayModeViewName: GameView
m_ShowGizmos: 0
m_TargetDisplay: 0
m_ClearColor: {r: 0, g: 0, b: 0, a: 0}
m_TargetSize: {x: 1100, y: 619}
m_TextureFilterMode: 0
m_TextureHideFlags: 61
m_RenderIMGUI: 1
m_EnterPlayModeBehavior: 0
m_UseMipMap: 0
m_VSyncEnabled: 1
m_Gizmos: 0
m_Stats: 0
m_SelectedSizes: 01000000000000000000000000000000000000000000000000000000000000000000000000000000
m_ZoomArea:
m_HRangeLocked: 0
m_VRangeLocked: 0
hZoomLockedByDefault: 0
vZoomLockedByDefault: 0
m_HBaseRangeMin: -550
m_HBaseRangeMax: 550
m_VBaseRangeMin: -309.5
m_VBaseRangeMax: 309.5
m_HAllowExceedBaseRangeMin: 1
m_HAllowExceedBaseRangeMax: 1
m_VAllowExceedBaseRangeMin: 1
m_VAllowExceedBaseRangeMax: 1
m_ScaleWithWindow: 0
m_HSlider: 0
m_VSlider: 0
m_IgnoreScrollWheelUntilClicked: 0
m_EnableMouseInput: 1
m_EnableSliderZoomHorizontal: 0
m_EnableSliderZoomVertical: 0
m_UniformScale: 1
m_UpDirection: 1
m_DrawArea:
serializedVersion: 2
x: 0
y: 21
width: 1101
height: 619
m_Scale: {x: 1, y: 1}
m_Translation: {x: 550.5, y: 309.5}
m_MarginLeft: 0
m_MarginRight: 0
m_MarginTop: 0
m_MarginBottom: 0
m_LastShownAreaInsideMargins:
serializedVersion: 2
x: -550.5
y: -309.5
width: 1101
height: 619
m_MinimalGUI: 1
m_defaultScale: 1
m_LastWindowPixelSize: {x: 1101, y: 640}
m_ClearInEditMode: 1
m_NoCameraWarning: 1
m_LowResolutionForAspectRatios: 01000000000000000000
m_XRRenderMode: 0
m_RenderTexture: {fileID: 0}
--- !u!114 &15
MonoBehaviour:
m_ObjectHideFlags: 52
@ -851,9 +817,9 @@ MonoBehaviour:
m_Pos:
serializedVersion: 2
x: 302
y: 735
width: 1102
height: 264
y: 734
width: 1101
height: 265
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default
@ -878,10 +844,10 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 439
y: 571
width: 725
height: 164
x: 302
y: 734
width: 1101
height: 265
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default
@ -899,22 +865,22 @@ MonoBehaviour:
m_SkipHidden: 0
m_SearchArea: 1
m_Folders:
- Assets/Materials/Grapic
- Assets/AnimatorsAnims
m_Globs: []
m_OriginalText:
m_ViewMode: 1
m_StartGridSize: 64
m_LastFolders:
- Assets/Materials/Grapic
- Assets/AnimatorsAnims
m_LastFoldersGridSize: -1
m_LastProjectPath: E:\Repos\RatAttack2D
m_LastProjectPath: D:\repos\WIP\RatAttack2D
m_LockTracker:
m_IsLocked: 0
m_FolderTreeState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs: 5a6a0000
m_LastClickedID: 27226
m_ExpandedIDs: 00000000a0630000c26300005a6a000000ca9a3b
m_SelectedIDs: fc630000
m_LastClickedID: 25596
m_ExpandedIDs: 00000000f66300000064000000ca9a3b
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@ -942,7 +908,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 00000000a0630000
m_ExpandedIDs: 00000000f663000000ca9a3b
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@ -986,7 +952,7 @@ MonoBehaviour:
m_IsRenaming: 0
m_OriginalEventType: 11
m_IsRenamingFilename: 1
m_ClientGUIView: {fileID: 0}
m_ClientGUIView: {fileID: 9}
m_CreateAssetUtility:
m_EndAction: {fileID: 0}
m_InstanceID: 0
@ -999,37 +965,6 @@ MonoBehaviour:
m_SkipHiddenPackages: 0
m_DirectoriesAreaWidth: 123
--- !u!114 &17
MonoBehaviour:
m_ObjectHideFlags: 52
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: 12071, guid: 0000000000000000e000000000000000, type: 0}
m_Name:
m_EditorClassIdentifier:
m_MinSize: {x: 100, y: 100}
m_MaxSize: {x: 4000, y: 4000}
m_TitleContent:
m_Text: Animation
m_Image: {fileID: -8166618308981325432, guid: 0000000000000000d000000000000000, type: 0}
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 302
y: 735
width: 1102
height: 264
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default
m_SaveData: []
m_LockTracker:
m_IsLocked: 0
m_LastSelectedObjectID: 25314
--- !u!114 &18
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@ -1049,10 +984,10 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 1166
y: 143
width: 338
height: 592
x: 1405
y: 73
width: 514
height: 926
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default
@ -1070,7 +1005,7 @@ MonoBehaviour:
m_LockTracker:
m_IsLocked: 0
m_PreviewWindow: {fileID: 0}
--- !u!114 &19
--- !u!114 &18
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}

Loading…
Cancel
Save