ui addons

This commit is contained in:
2022-10-31 15:07:06 +01:00
parent 1efd7c662b
commit 06a1c3f45a
6 changed files with 1800 additions and 73 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -39,7 +39,7 @@ public class Dice : MonoBehaviour {
randomDiceSide = Random.Range(0, 5);
rend.sprite = diceSides[Random.Range(0, 5)];
rend.size = new Vector2(40, 40);
rend.size = new Vector2(38, 38);
yield return new WaitForSeconds(0.05f);
}

View File

@@ -2,7 +2,7 @@ using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Fejlesztés : MonoBehaviour
public class Upgrade : MonoBehaviour
{
public readonly int[] energia = { 3, 3, 2, 2, 1 };
public readonly int[] akcio = { 0, 0, 1, 1, 2 };
@@ -37,5 +37,4 @@ public class Fejlesztés : MonoBehaviour
public void upgradeHack() {
hack_index++;
}
}

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 2a76f6417b0933b4eb961abe19c319bb
guid: 2f44975001b069641ba64be848f816d7
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -24,7 +24,7 @@ MonoBehaviour:
m_MinSize: {x: 300, y: 200}
m_MaxSize: {x: 24288, y: 16192}
vertical: 0
controlID: 20951
controlID: 11272
--- !u!114 &2
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -141,7 +141,7 @@ MonoBehaviour:
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 16192, y: 16192}
vertical: 1
controlID: 20952
controlID: 11212
--- !u!114 &4
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -166,7 +166,7 @@ MonoBehaviour:
m_MinSize: {x: 200, y: 100}
m_MaxSize: {x: 16192, y: 8096}
vertical: 0
controlID: 20953
controlID: 11213
--- !u!114 &5
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -226,7 +226,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 2afbffff085f0000245f0000
m_ExpandedIDs: 28d4ffffccd7ffffe4d7ffffc2d8ffff9ad9ffff68daffff2afbffff305f0000745f00007e5f0000a45f0000bc5f0000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -557,9 +557,9 @@ MonoBehaviour:
m_PlayAudio: 0
m_AudioPlay: 0
m_Position:
m_Target: {x: 269.26907, y: 416.6716, z: -1.7899169}
m_Target: {x: -6.01554, y: 7.674087, z: 0.020007653}
speed: 2
m_Value: {x: 269.26907, y: 416.6716, z: -1.7899169}
m_Value: {x: -6.01554, y: 7.674087, z: 0.020007653}
m_RenderMode: 0
m_CameraMode:
drawMode: 0
@@ -610,9 +610,9 @@ MonoBehaviour:
speed: 2
m_Value: {x: 0, y: 0, z: 0, w: 1}
m_Size:
m_Target: 199.04262
m_Target: 2.967671
speed: 2
m_Value: 199.04262
m_Value: 2.967671
m_Ortho:
m_Target: 1
speed: 2
@@ -661,7 +661,7 @@ MonoBehaviour:
m_MinSize: {x: 200, y: 100}
m_MaxSize: {x: 16192, y: 8096}
vertical: 0
controlID: 20917
controlID: 11279
--- !u!114 &10
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -681,8 +681,8 @@ MonoBehaviour:
y: 0
width: 759
height: 344
m_MinSize: {x: 230, y: 250}
m_MaxSize: {x: 10000, y: 10000}
m_MinSize: {x: 231, y: 271}
m_MaxSize: {x: 10001, y: 10021}
m_ActualView: {fileID: 11}
m_Panes:
- {fileID: 11}
@@ -729,22 +729,22 @@ MonoBehaviour:
m_SkipHidden: 0
m_SearchArea: 1
m_Folders:
- Assets
- Assets/Scripts
m_Globs: []
m_OriginalText:
m_ViewMode: 1
m_StartGridSize: 55
m_LastFolders:
- Assets
- Assets/Scripts
m_LastFoldersGridSize: 55
m_LastProjectPath: C:\dev\find the source\projekt\FindTheSource
m_LockTracker:
m_IsLocked: 0
m_FolderTreeState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs: b05f0000
m_LastClickedID: 24496
m_ExpandedIDs: 00000000b05f0000
m_SelectedIDs: 80600000
m_LastClickedID: 24704
m_ExpandedIDs: 0000000076600000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -772,7 +772,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 00000000b05f0000
m_ExpandedIDs: 0000000076600000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -797,8 +797,8 @@ MonoBehaviour:
m_Icon: {fileID: 0}
m_ResourceFile:
m_ListAreaState:
m_SelectedInstanceIDs: 3c5f0000
m_LastClickedInstanceID: 24380
m_SelectedInstanceIDs: ccd7ffff
m_LastClickedInstanceID: -10292
m_HadKeyboardFocusLastEvent: 0
m_ExpandedInstanceIDs: c623000000000000
m_RenameOverlay:
@@ -942,7 +942,7 @@ MonoBehaviour:
m_CachedPref: 160
m_ControlHash: -371814159
m_PrefName: Preview_InspectorPreview
m_LastInspectedObjectInstanceID: 24380
m_LastInspectedObjectInstanceID: -10292
m_LastVerticalScrollValue: 0
m_GlobalObjectId:
m_InspectorMode: 0

View File

@@ -19,7 +19,7 @@ MonoBehaviour:
width: 1920
height: 997
m_ShowMode: 4
m_Title: Hierarchy
m_Title: Console
m_RootView: {fileID: 2}
m_MinSize: {x: 875, y: 300}
m_MaxSize: {x: 10000, y: 10000}
@@ -119,7 +119,7 @@ MonoBehaviour:
m_MinSize: {x: 300, y: 200}
m_MaxSize: {x: 24288, y: 16192}
vertical: 0
controlID: 21209
controlID: 11491
--- !u!114 &6
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -144,7 +144,7 @@ MonoBehaviour:
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 16192, y: 16192}
vertical: 1
controlID: 21250
controlID: 11454
--- !u!114 &7
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -169,7 +169,7 @@ MonoBehaviour:
m_MinSize: {x: 200, y: 100}
m_MaxSize: {x: 16192, y: 8096}
vertical: 0
controlID: 21251
controlID: 11541
--- !u!114 &8
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -247,7 +247,7 @@ MonoBehaviour:
m_MinSize: {x: 200, y: 100}
m_MaxSize: {x: 16192, y: 8096}
vertical: 0
controlID: 21288
controlID: 11455
--- !u!114 &11
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -319,8 +319,8 @@ MonoBehaviour:
y: 0
width: 434
height: 947
m_MinSize: {x: 275, y: 50}
m_MaxSize: {x: 4000, y: 4000}
m_MinSize: {x: 276, y: 71}
m_MaxSize: {x: 4001, y: 4021}
m_ActualView: {fileID: 19}
m_Panes:
- {fileID: 19}
@@ -346,8 +346,8 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 232
y: 73
x: 233
y: 19
width: 1252
height: 582
m_ViewDataDictionary: {fileID: 0}
@@ -364,7 +364,7 @@ MonoBehaviour:
m_TextureFilterMode: 0
m_TextureHideFlags: 61
m_RenderIMGUI: 1
m_EnterPlayModeBehavior: 0
m_EnterPlayModeBehavior: 1
m_UseMipMap: 0
m_VSyncEnabled: 0
m_Gizmos: 0
@@ -448,10 +448,10 @@ MonoBehaviour:
m_SaveData: []
m_SceneHierarchy:
m_TreeViewState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 4c7fffff527fffffa485ffffaa85ffff2afbffff085f00001a5f0000245f00003c5f0000
scrollPos: {x: 0, y: 31}
m_SelectedIDs: ccd7ffff
m_LastClickedID: -10292
m_ExpandedIDs: 28d4ffffccd7ffffe4d7ffffc2d8ffff9ad9ffff68daffff2afbffff305f0000745f00007e5f0000a45f0000bc5f0000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -755,9 +755,9 @@ MonoBehaviour:
m_PlayAudio: 0
m_AudioPlay: 0
m_Position:
m_Target: {x: 6.650936, y: 2.1737757, z: -0.0024814066}
m_Target: {x: -4.4530244, y: 6.420653, z: 0.0015234116}
speed: 2
m_Value: {x: 6.650936, y: 2.1737757, z: -0.0024814066}
m_Value: {x: -4.6283374, y: 6.5616493, z: 0.0035973364}
m_RenderMode: 0
m_CameraMode:
drawMode: 0
@@ -808,9 +808,9 @@ MonoBehaviour:
speed: 2
m_Value: {x: 0, y: 0, z: 0, w: 1}
m_Size:
m_Target: 5.6644855
m_Target: 4.816094
speed: 2
m_Value: 5.6644855
m_Value: 4.608702
m_Ortho:
m_Target: 1
speed: 2
@@ -889,9 +889,9 @@ MonoBehaviour:
m_IsLocked: 0
m_FolderTreeState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs: c65f0000
m_LastClickedID: 24518
m_ExpandedIDs: 00000000b05f0000
m_SelectedIDs: 80600000
m_LastClickedID: 24704
m_ExpandedIDs: 0000000076600000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -919,7 +919,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 00000000b05f0000
m_ExpandedIDs: 0000000076600000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -946,7 +946,7 @@ MonoBehaviour:
m_ListAreaState:
m_SelectedInstanceIDs:
m_LastClickedInstanceID: 0
m_HadKeyboardFocusLastEvent: 1
m_HadKeyboardFocusLastEvent: 0
m_ExpandedInstanceIDs: c623000000000000
m_RenameOverlay:
m_UserAcceptedRename: 0