modules linked and movement broken

This commit is contained in:
2022-11-12 12:18:08 +01:00
parent 2b7984860c
commit 4ee6cfffed
7 changed files with 297 additions and 204 deletions

View File

@@ -1871,7 +1871,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 1
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
@@ -2681,7 +2681,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
text: {fileID: 1379644800}
akciopontok: 0
akciopont: 0
--- !u!114 &197904225
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -3658,7 +3658,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 1
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
@@ -4455,7 +4455,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 1
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
@@ -6747,7 +6747,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 1
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
@@ -7126,7 +7126,7 @@ Camera:
far clip plane: 10
field of view: 60
orthographic: 1
orthographic size: 10.3
orthographic size: 11
m_Depth: -1
m_CullingMask:
serializedVersion: 2
@@ -7150,7 +7150,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 519420028}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -2.15, y: 0, z: -10}
m_LocalPosition: {x: -4, y: 0, z: -10}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@@ -11091,7 +11091,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 1
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
@@ -12081,7 +12081,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 1
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
@@ -12743,7 +12743,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 1
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
@@ -14439,7 +14439,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 1
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
@@ -15479,7 +15479,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 1
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
@@ -15749,7 +15749,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 1
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
@@ -16456,7 +16456,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 1
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
@@ -16591,7 +16591,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 1
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
@@ -17833,7 +17833,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 1
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
@@ -18408,7 +18408,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 1
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
@@ -19813,7 +19813,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 1
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
@@ -20869,7 +20869,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 1
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
@@ -21139,7 +21139,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 1
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
@@ -22670,7 +22670,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 1
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
@@ -26014,7 +26014,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 1
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
@@ -27332,7 +27332,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 1
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
@@ -28277,7 +28277,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 1
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
@@ -28716,7 +28716,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 1
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
@@ -29431,7 +29431,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 1
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
@@ -31093,7 +31093,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 1
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}

View File

@@ -7,7 +7,7 @@ public class Akciopont : MonoBehaviour
{
public TMP_Text text;
public int akciopontok = 0;
public int akciopont = 0;
// Start is called before the first frame update
void Start()
@@ -18,14 +18,14 @@ public class Akciopont : MonoBehaviour
// Update is called once per frame
void Update()
{
text.text = "Akciópontok: " + akciopontok;
text.text = "Akciópontok: " + akciopont;
}
public void UpdateAkciopont(int number) {
akciopontok += number;
akciopont += number;
}
public void resetAkciopont() {
akciopontok = 0;
akciopont = 0;
}
}

View File

@@ -16,7 +16,7 @@ public class CameraMovement : MonoBehaviour
public void moveCameraBack() {
Debug.Log("Moved back");
mainCamera.transform.position = new Vector3((float)-2.15, 0, -10);
mainCamera.orthographicSize = 10.3f;
mainCamera.transform.position = new Vector3((float)-4, 0, -10);
mainCamera.orthographicSize = 11f;
}
}

View File

@@ -13,14 +13,10 @@ public class fps : MonoBehaviour
// Update is called once per frame
void Update()
{
/*int current = (int)(1f / Time.unscaledDeltaTime);
fpsText.text = "Fps: " + current.ToString();*/
if (Time.unscaledTime > _timer) {
int fps = (int)(1f / Time.unscaledDeltaTime);
fpsText.text = "FPS: " + fps;
_timer = Time.unscaledTime + _hudRefreshRate;
}
}
}

View File

@@ -3,10 +3,12 @@ using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Unity.Mathematics;
using TMPro;
public class movement : MonoBehaviour {
public Camera THE_Camera;
public GameObject player;
public GameObject oneone;
public Collider2D oneone_Collider;
@@ -66,45 +68,40 @@ public class movement : MonoBehaviour {
public GameObject threefour;
public Collider2D threefour_Collider;
public GameObject korhazlepes1;
public GameObject korhazlepes2;
public GameObject korhazlepes2;
public GameObject player;
private Akciopont ap;
private int oneonecount = 0;
private int twoonecount = 0;
private int threeonecount = 0;
private int onetwocount = 0;
private int twotwocount = 0;
private int threetwocount = 0;
private int onethreecount = 0;
private int twothreecount = 0;
private int threethreecount = 0;
private int onefourcount = 0;
private int twofourcount = 0;
private int threefourcount = 0;
private int w = 3; //ennyi oszlop van a mapon
private int h = 4; //ennyi sor van a mapon
private int jelenlegi_x = 1;
private int jelenlegi_y = 1;
private int tavolsag = 0;
private int moveCounter = 1;
int oneonecount = 0;
int twoonecount = 0;
int threeonecount = 0;
int onetwocount = 0;
int twotwocount = 0;
int threetwocount = 0;
int onethreecount = 0;
int twothreecount = 0;
int threethreecount = 0;
int onefourcount = 0;
int twofourcount = 0;
int threefourcount = 0;
int w = 3; //ennyi oszlop van a mapon
int h = 4; //ennyi sor van a mapon
string[,] helyek =
private string[,] helyek =
{
{"oneone", "twoone", "threeone", "" },
{"onetwo", "twotwo", "threetwo", "" },
{"onethree", "twothree", "threethree", "" },
{"onefour", "twofour", "threefour", "" },
{"", "", "", "" }
};
};
int jelenlegi_x = 1;
int jelenlegi_y = 1;
int akciopont = 20;
int tavolsag = 0;
// Start is called before the first frame update
void Start() {
player.transform.position = oneone.transform.position;
ap = FindObjectOfType<Akciopont>();
eromulepes1.SetActive(false);
eromulepes2.SetActive(false);
@@ -141,15 +138,67 @@ public class movement : MonoBehaviour {
korhazlepes1.SetActive(false);
korhazlepes2.SetActive(false);
kezdoHelyMeghatarzoas();
}
private void kezdoHelyMeghatarzoas() {
int random = UnityEngine.Random.Range(1,12);
Debug.Log("Random a kezdohelyszinhez: " + random);
if(random == 1) {
player.transform.position = oneone.transform.position;
eromulepes1.SetActive(true);
eromulepes1.GetComponent<TMP_Text>().text = moveCounter.ToString();
}else if(random == 2) {
player.transform.position = twoone.transform.position;
feketepiaclepes1.SetActive(true);
feketepiaclepes1.GetComponent<TMP_Text>().text = moveCounter.ToString();
} else if (random == 3) {
player.transform.position = threeone.transform.position;
metrolepes1.SetActive(true);
metrolepes1.GetComponent<TMP_Text>().text = moveCounter.ToString();
} else if (random == 4) {
player.transform.position = onetwo.transform.position;
szervereklepes1.SetActive(true);
szervereklepes1.GetComponent<TMP_Text>().text = moveCounter.ToString();
} else if (random == 5) {
player.transform.position = twotwo.transform.position;
kingcasinolepes1.SetActive(true);
kingcasinolepes1.GetComponent<TMP_Text>().text = moveCounter.ToString();
} else if (random == 6) {
player.transform.position = threetwo.transform.position;
feltoltolepes1.SetActive(true);
feltoltolepes1.GetComponent<TMP_Text>().text = moveCounter.ToString();
} else if (random == 7) {
player.transform.position = onethree.transform.position;
kutatolaborlepes1.SetActive(true);
kutatolaborlepes1.GetComponent<TMP_Text>().text = moveCounter.ToString();
} else if (random == 8) {
player.transform.position = twothree.transform.position;
kriptoklublepes1.SetActive(true);
kriptoklublepes1.GetComponent<TMP_Text>().text = moveCounter.ToString();
} else if (random == 9) {
player.transform.position = threethree.transform.position;
cyberplazalepes1.SetActive(true);
cyberplazalepes1.GetComponent<TMP_Text>().text = moveCounter.ToString();
} else if (random == 10) {
player.transform.position = onefour.transform.position;
hadiuzemlepes1.SetActive(true);
hadiuzemlepes1.GetComponent<TMP_Text>().text = moveCounter.ToString();
} else if (random == 11) {
player.transform.position = twofour.transform.position;
konyvtarlepes1.SetActive(true);
konyvtarlepes1.GetComponent<TMP_Text>().text = moveCounter.ToString();
} else if (random == 12) {
player.transform.position = threefour.transform.position;
korhazlepes1.SetActive(true);
korhazlepes1.GetComponent<TMP_Text>().text = moveCounter.ToString();
}
}
// Update is called once per frame
public void Update() {
tavolsag = math.abs(tavolsag);
// player mozgatása és konzolra iratás
@@ -164,21 +213,25 @@ public class movement : MonoBehaviour {
}
else
{
if (tavolsag == 1 && akciopont != 0)
if (tavolsag == 1 && ap.akciopont != 0)
{
player.transform.position = oneone.transform.position;
jelenlegi_x = 1;
jelenlegi_y = 1;
akciopont = akciopont - 1;
ap.akciopont = ap.akciopont - 1;
oneonecount = oneonecount + 1;
Debug.Log(akciopont);
Debug.Log(ap.akciopont);
if (eromulepes1.activeSelf == true)
{
eromulepes2.SetActive(true);
moveCounter++;
eromulepes2.GetComponent<TMP_Text>().text = moveCounter.ToString();
}
else
{
eromulepes1.SetActive(true);
moveCounter++;
eromulepes1.GetComponent<TMP_Text>().text = moveCounter.ToString();
}
}
else
@@ -203,23 +256,27 @@ public class movement : MonoBehaviour {
}
else
{
if (tavolsag == 1 && akciopont != 0)
if (tavolsag == 1 && ap.akciopont != 0)
{
if (twoonecount < 2)
{
player.transform.position = twoone.transform.position;
jelenlegi_x = 2;
jelenlegi_y = 1;
akciopont = akciopont - 1;
ap.akciopont = ap.akciopont - 1;
twoonecount = twoonecount + 1;
Debug.Log(akciopont);
Debug.Log(ap.akciopont);
if (feketepiaclepes1.activeSelf == true)
{
feketepiaclepes2.SetActive(true);
moveCounter++;
feketepiaclepes2.GetComponent<TMP_Text>().text = moveCounter.ToString();
}
else
{
feketepiaclepes1.SetActive(true);
moveCounter++;
feketepiaclepes1.GetComponent<TMP_Text>().text = moveCounter.ToString();
}
}
else
@@ -250,23 +307,27 @@ public class movement : MonoBehaviour {
}
else
{
if (tavolsag == 1 && akciopont != 0)
if (tavolsag == 1 && ap.akciopont != 0)
{
if (threeonecount < 2)
{
player.transform.position = threeone.transform.position;
jelenlegi_x = 3;
jelenlegi_y = 1;
akciopont = akciopont - 1;
ap.akciopont = ap.akciopont - 1;
threeonecount++;
Debug.Log(akciopont);
Debug.Log(ap.akciopont);
if (metrolepes1.activeSelf == true)
{
metrolepes2.SetActive(true);
moveCounter++;
metrolepes2.GetComponent<TMP_Text>().text = moveCounter.ToString();
}
else
{
metrolepes1.SetActive(true);
moveCounter++;
metrolepes1.GetComponent<TMP_Text>().text = moveCounter.ToString();
}
}
else
@@ -297,23 +358,27 @@ public class movement : MonoBehaviour {
}
else
{
if (tavolsag == 1 && akciopont != 0)
if (tavolsag == 1 && ap.akciopont != 0)
{
if (onetwocount < 2)
{
player.transform.position = onetwo.transform.position;
jelenlegi_x = 1;
jelenlegi_y = 2;
akciopont = akciopont - 1;
ap.akciopont = ap.akciopont - 1;
onetwocount++;
Debug.Log(akciopont);
Debug.Log(ap.akciopont);
if (szervereklepes1.activeSelf == true)
{
szervereklepes2.SetActive(true);
moveCounter++;
szervereklepes2.GetComponent<TMP_Text>().text = moveCounter.ToString();
}
else
{
szervereklepes1.SetActive(true);
moveCounter++;
szervereklepes1.GetComponent<TMP_Text>().text = moveCounter.ToString();
}
}
else
@@ -343,23 +408,27 @@ public class movement : MonoBehaviour {
Debug.Log("Maximum kétszer léphetsz egy mezõre");
}
else {
if (tavolsag == 1 && akciopont != 0)
if (tavolsag == 1 && ap.akciopont != 0)
{
if (twotwocount < 2)
{
player.transform.position = twotwo.transform.position;
jelenlegi_x = 2;
jelenlegi_y = 2;
akciopont = akciopont - 1;
Debug.Log(akciopont);
ap.akciopont = ap.akciopont - 1;
Debug.Log(ap.akciopont);
twotwocount++;
if (kingcasinolepes1.activeSelf == true)
{
kingcasinolepes2.SetActive(true);
moveCounter++;
kingcasinolepes2.GetComponent<TMP_Text>().text = moveCounter.ToString();
}
else
{
kingcasinolepes1.SetActive(true);
moveCounter++;
kingcasinolepes1.GetComponent<TMP_Text>().text = moveCounter.ToString();
}
}
else
@@ -391,23 +460,27 @@ public class movement : MonoBehaviour {
}
else
{
if (tavolsag == 1 && akciopont != 0)
if (tavolsag == 1 && ap.akciopont != 0)
{
if (threetwocount < 2)
{
player.transform.position = threetwo.transform.position;
jelenlegi_x = 3;
jelenlegi_y = 2;
akciopont = akciopont - 1;
Debug.Log(akciopont);
ap.akciopont = ap.akciopont - 1;
Debug.Log(ap.akciopont);
threetwocount++;
if (feltoltolepes1.activeSelf == true)
{
feltoltolepes2.SetActive(true);
moveCounter++;
feltoltolepes2.GetComponent<TMP_Text>().text = moveCounter.ToString();
}
else
{
feltoltolepes1.SetActive(true);
moveCounter++;
feltoltolepes1.GetComponent<TMP_Text>().text = moveCounter.ToString();
}
}
else
@@ -439,23 +512,27 @@ public class movement : MonoBehaviour {
}
else
{
if (tavolsag == 1 && akciopont != 0)
if (tavolsag == 1 && ap.akciopont != 0)
{
if (onethreecount < 2)
{
player.transform.position = onethree.transform.position;
jelenlegi_x = 1;
jelenlegi_y = 3;
akciopont = akciopont - 1;
Debug.Log(akciopont);
ap.akciopont = ap.akciopont - 1;
Debug.Log(ap.akciopont);
onethreecount++;
if (kutatolaborlepes1.activeSelf == true)
{
kutatolaborlepes2.SetActive(true);
moveCounter++;
kutatolaborlepes2.GetComponent<TMP_Text>().text = moveCounter.ToString();
}
else
{
kutatolaborlepes1.SetActive(true);
moveCounter++;
kutatolaborlepes1.GetComponent<TMP_Text>().text = moveCounter.ToString();
}
}
else
@@ -487,23 +564,27 @@ public class movement : MonoBehaviour {
}
else
{
if (tavolsag == 1 && akciopont != 0)
if (tavolsag == 1 && ap.akciopont != 0)
{
if (twothreecount < 2)
{
player.transform.position = twothree.transform.position;
jelenlegi_x = 2;
jelenlegi_y = 3;
akciopont = akciopont - 1;
Debug.Log(akciopont);
ap.akciopont = ap.akciopont - 1;
Debug.Log(ap.akciopont);
twothreecount++;
if (kriptoklublepes1.activeSelf == true)
{
kriptoklublepes2.SetActive(true);
moveCounter++;
kriptoklublepes2.GetComponent<TMP_Text>().text = moveCounter.ToString();
}
else
{
kriptoklublepes1.SetActive(true);
moveCounter++;
kriptoklublepes1.GetComponent<TMP_Text>().text = moveCounter.ToString();
}
}
else
@@ -536,23 +617,27 @@ public class movement : MonoBehaviour {
}
else
{
if (tavolsag == 1 && akciopont != 0)
if (tavolsag == 1 && ap.akciopont != 0)
{
if (threethreecount < 2)
{
player.transform.position = threethree.transform.position;
jelenlegi_x = 3;
jelenlegi_y = 3;
akciopont = akciopont - 1;
Debug.Log(akciopont);
ap.akciopont = ap.akciopont - 1;
Debug.Log(ap.akciopont);
threethreecount++;
if (cyberplazalepes1.activeSelf == true)
{
cyberplazalepes2.SetActive(true);
moveCounter++;
cyberplazalepes2.GetComponent<TMP_Text>().text = moveCounter.ToString();
}
else
{
cyberplazalepes1.SetActive(true);
moveCounter++;
cyberplazalepes1.GetComponent<TMP_Text>().text = moveCounter.ToString();
}
}
else
@@ -584,23 +669,27 @@ public class movement : MonoBehaviour {
}
else
{
if (tavolsag == 1 && akciopont != 0)
if (tavolsag == 1 && ap.akciopont != 0)
{
if (onefourcount < 2)
{
player.transform.position = onefour.transform.position;
jelenlegi_x = 1;
jelenlegi_y = 4;
akciopont = akciopont - 1;
Debug.Log(akciopont);
ap.akciopont = ap.akciopont - 1;
Debug.Log(ap.akciopont);
onefourcount++;
if (hadiuzemlepes1.activeSelf == true)
{
hadiuzemlepes2.SetActive(true);
moveCounter++;
hadiuzemlepes2.GetComponent<TMP_Text>().text = moveCounter.ToString();
}
else
{
hadiuzemlepes1.SetActive(true);
moveCounter++;
hadiuzemlepes1.GetComponent<TMP_Text>().text = moveCounter.ToString();
}
}
else
@@ -632,23 +721,27 @@ public class movement : MonoBehaviour {
}
else
{
if (tavolsag == 1 && akciopont != 0)
if (tavolsag == 1 && ap.akciopont != 0)
{
if (twofourcount < 2)
{
player.transform.position = twofour.transform.position;
jelenlegi_x = 2;
jelenlegi_y = 4;
akciopont = akciopont - 1;
Debug.Log(akciopont);
ap.akciopont = ap.akciopont - 1;
Debug.Log(ap.akciopont);
twofourcount++;
if (konyvtarlepes1.activeSelf == true)
{
konyvtarlepes2.SetActive(true);
moveCounter++;
konyvtarlepes2.GetComponent<TMP_Text>().text = moveCounter.ToString();
}
else
{
konyvtarlepes1.SetActive(true);
moveCounter++;
konyvtarlepes1.GetComponent<TMP_Text>().text = moveCounter.ToString();
}
}
else
@@ -680,23 +773,27 @@ public class movement : MonoBehaviour {
}
else
{
if (tavolsag == 1 && akciopont != 0)
if (tavolsag == 1 && ap.akciopont != 0)
{
if (threefourcount < 2)
{
player.transform.position = threefour.transform.position;
jelenlegi_x = 3;
jelenlegi_y = 4;
akciopont = akciopont - 1;
Debug.Log(akciopont);
ap.akciopont = ap.akciopont - 1;
Debug.Log(ap.akciopont);
threefourcount++;
if (korhazlepes1.activeSelf == true)
{
korhazlepes2.SetActive(true);
moveCounter++;
korhazlepes2.GetComponent<TMP_Text>().text = moveCounter.ToString();
}
else
{
korhazlepes1.SetActive(true);
moveCounter++;
korhazlepes1.GetComponent<TMP_Text>().text = moveCounter.ToString();
}
}
else

View File

@@ -24,7 +24,7 @@ MonoBehaviour:
m_MinSize: {x: 300, y: 200}
m_MaxSize: {x: 24288, y: 16192}
vertical: 0
controlID: 3022
controlID: 13999
--- !u!114 &2
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -45,9 +45,9 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 297
y: 73
width: 1117
x: 303
y: 19
width: 1144
height: 571
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
@@ -59,7 +59,7 @@ MonoBehaviour:
m_ShowGizmos: 0
m_TargetDisplay: 0
m_ClearColor: {r: 0, g: 0, b: 0, a: 0}
m_TargetSize: {x: 1117, y: 550}
m_TargetSize: {x: 1144, y: 550}
m_TextureFilterMode: 0
m_TextureHideFlags: 61
m_RenderIMGUI: 1
@@ -67,15 +67,15 @@ MonoBehaviour:
m_UseMipMap: 0
m_VSyncEnabled: 0
m_Gizmos: 0
m_Stats: 1
m_Stats: 0
m_SelectedSizes: 00000000000000000000000000000000000000000000000000000000000000000000000000000000
m_ZoomArea:
m_HRangeLocked: 0
m_VRangeLocked: 0
hZoomLockedByDefault: 0
vZoomLockedByDefault: 0
m_HBaseRangeMin: -558.5
m_HBaseRangeMax: 558.5
m_HBaseRangeMin: -572
m_HBaseRangeMax: 572
m_VBaseRangeMin: -275
m_VBaseRangeMax: 275
m_HAllowExceedBaseRangeMin: 1
@@ -86,7 +86,7 @@ MonoBehaviour:
m_HSlider: 0
m_VSlider: 0
m_IgnoreScrollWheelUntilClicked: 0
m_EnableMouseInput: 1
m_EnableMouseInput: 0
m_EnableSliderZoomHorizontal: 0
m_EnableSliderZoomVertical: 0
m_UniformScale: 1
@@ -95,23 +95,23 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 21
width: 1117
width: 1144
height: 550
m_Scale: {x: 1, y: 1}
m_Translation: {x: 558.5, y: 275}
m_Translation: {x: 572, y: 275}
m_MarginLeft: 0
m_MarginRight: 0
m_MarginTop: 0
m_MarginBottom: 0
m_LastShownAreaInsideMargins:
serializedVersion: 2
x: -558.5
x: -572
y: -275
width: 1117
width: 1144
height: 550
m_MinimalGUI: 1
m_defaultScale: 1
m_LastWindowPixelSize: {x: 1117, y: 571}
m_LastWindowPixelSize: {x: 1144, y: 571}
m_ClearInEditMode: 1
m_NoCameraWarning: 1
m_LowResolutionForAspectRatios: 01000000000000000000
@@ -136,12 +136,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 1416
width: 1448
height: 947
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 16192, y: 16192}
vertical: 1
controlID: 3023
controlID: 14000
--- !u!114 &4
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -161,12 +161,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 1416
width: 1448
height: 592
m_MinSize: {x: 200, y: 100}
m_MaxSize: {x: 16192, y: 8096}
vertical: 0
controlID: 3024
controlID: 14001
--- !u!114 &5
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -184,7 +184,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 297
width: 302
height: 592
m_MinSize: {x: 201, y: 221}
m_MaxSize: {x: 4001, y: 4021}
@@ -215,7 +215,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 73
width: 296
width: 301
height: 571
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
@@ -226,7 +226,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 6ed3ffffeed3ffff5cd7ffff28fbffff
m_ExpandedIDs: ca97ffff6e98ffff029affffa89dffff4c9effffe09fffffe8a3ffff8ca4ffff20a6fffff6a9ffff9aaaffff2eacffffb6b0ffff5cb1ffffcab4ffff28fbffff5a6b000012720000b0720000148801003688010036890100948c01000c8d0100108d01004e8d0100c08d0100b28e0100ee8e01005e8f0100c68f0100ce8f0100d2900100
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -265,9 +265,9 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 297
x: 302
y: 0
width: 1119
width: 1146
height: 592
m_MinSize: {x: 202, y: 221}
m_MaxSize: {x: 4002, y: 4021}
@@ -297,9 +297,9 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 297
x: 302
y: 73
width: 1117
width: 1144
height: 571
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
@@ -557,9 +557,9 @@ MonoBehaviour:
m_PlayAudio: 0
m_AudioPlay: 0
m_Position:
m_Target: {x: -3.2328522, y: -1.3212909, z: -0.1779072}
m_Target: {x: -8.708006, y: -1.0897603, z: -0.25681865}
speed: 2
m_Value: {x: -3.2328522, y: -1.3212909, z: -0.1779072}
m_Value: {x: -8.708006, y: -1.0897603, z: -0.25681865}
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: 11.886256
m_Target: 11.759597
speed: 2
m_Value: 11.886256
m_Value: 11.759597
m_Ortho:
m_Target: 1
speed: 2
@@ -656,12 +656,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 592
width: 1416
width: 1448
height: 355
m_MinSize: {x: 200, y: 100}
m_MaxSize: {x: 16192, y: 8096}
vertical: 0
controlID: 2987
controlID: 13935
--- !u!114 &10
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -679,10 +679,10 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 776
width: 794
height: 355
m_MinSize: {x: 231, y: 271}
m_MaxSize: {x: 10001, y: 10021}
m_MinSize: {x: 230, y: 250}
m_MaxSize: {x: 10000, y: 10000}
m_ActualView: {fileID: 11}
m_Panes:
- {fileID: 11}
@@ -710,7 +710,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 665
width: 775
width: 793
height: 334
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
@@ -742,9 +742,9 @@ MonoBehaviour:
m_IsLocked: 0
m_FolderTreeState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs: f8750000
m_LastClickedID: 30200
m_ExpandedIDs: 00000000ee750000
m_SelectedIDs: 14760000
m_LastClickedID: 30228
m_ExpandedIDs: 00000000f4750000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -772,7 +772,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 00000000ee750000
m_ExpandedIDs: 00000000f4750000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -797,9 +797,9 @@ MonoBehaviour:
m_Icon: {fileID: 0}
m_ResourceFile:
m_ListAreaState:
m_SelectedInstanceIDs: 9cd40000
m_LastClickedInstanceID: 54428
m_HadKeyboardFocusLastEvent: 0
m_SelectedInstanceIDs:
m_LastClickedInstanceID: 0
m_HadKeyboardFocusLastEvent: 1
m_ExpandedInstanceIDs: c623000000000000
m_RenameOverlay:
m_UserAcceptedRename: 0
@@ -843,9 +843,9 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 776
x: 794
y: 0
width: 640
width: 654
height: 355
m_MinSize: {x: 102, y: 121}
m_MaxSize: {x: 4002, y: 4021}
@@ -874,9 +874,9 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 776
x: 794
y: 665
width: 638
width: 652
height: 334
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
@@ -897,9 +897,9 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 1416
x: 1448
y: 0
width: 504
width: 472
height: 947
m_MinSize: {x: 276, y: 71}
m_MaxSize: {x: 4001, y: 4021}
@@ -928,9 +928,9 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 1416
x: 1448
y: 73
width: 503
width: 471
height: 926
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
@@ -942,7 +942,7 @@ MonoBehaviour:
m_CachedPref: 160
m_ControlHash: -371814159
m_PrefName: Preview_InspectorPreview
m_LastInspectedObjectInstanceID: 54428
m_LastInspectedObjectInstanceID: -1
m_LastVerticalScrollValue: 0
m_GlobalObjectId:
m_InspectorMode: 0

View File

@@ -119,7 +119,7 @@ MonoBehaviour:
m_MinSize: {x: 300, y: 200}
m_MaxSize: {x: 24288, y: 16192}
vertical: 0
controlID: 3350
controlID: 14346
--- !u!114 &6
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -139,12 +139,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 1416
width: 1448
height: 947
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 16192, y: 16192}
vertical: 1
controlID: 3351
controlID: 14232
--- !u!114 &7
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -164,12 +164,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 1416
width: 1448
height: 592
m_MinSize: {x: 200, y: 100}
m_MaxSize: {x: 16192, y: 8096}
vertical: 0
controlID: 3352
controlID: 14270
--- !u!114 &8
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -187,7 +187,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 297
width: 302
height: 592
m_MinSize: {x: 201, y: 221}
m_MaxSize: {x: 4001, y: 4021}
@@ -211,9 +211,9 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 297
x: 302
y: 0
width: 1119
width: 1146
height: 592
m_MinSize: {x: 202, y: 221}
m_MaxSize: {x: 4002, y: 4021}
@@ -242,12 +242,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 592
width: 1416
width: 1448
height: 355
m_MinSize: {x: 200, y: 100}
m_MaxSize: {x: 16192, y: 8096}
vertical: 0
controlID: 3272
controlID: 14233
--- !u!114 &11
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -265,7 +265,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 776
width: 794
height: 355
m_MinSize: {x: 231, y: 271}
m_MaxSize: {x: 10001, y: 10021}
@@ -289,9 +289,9 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 776
x: 794
y: 0
width: 640
width: 654
height: 355
m_MinSize: {x: 102, y: 121}
m_MaxSize: {x: 4002, y: 4021}
@@ -315,9 +315,9 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 1416
x: 1448
y: 0
width: 504
width: 472
height: 947
m_MinSize: {x: 276, y: 71}
m_MaxSize: {x: 4001, y: 4021}
@@ -346,9 +346,9 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 297
y: 73
width: 1117
x: 303
y: 19
width: 1144
height: 571
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
@@ -360,23 +360,23 @@ MonoBehaviour:
m_ShowGizmos: 0
m_TargetDisplay: 0
m_ClearColor: {r: 0, g: 0, b: 0, a: 0}
m_TargetSize: {x: 1117, y: 550}
m_TargetSize: {x: 1144, y: 550}
m_TextureFilterMode: 0
m_TextureHideFlags: 61
m_RenderIMGUI: 1
m_EnterPlayModeBehavior: 0
m_EnterPlayModeBehavior: 1
m_UseMipMap: 0
m_VSyncEnabled: 0
m_Gizmos: 0
m_Stats: 1
m_Stats: 0
m_SelectedSizes: 00000000000000000000000000000000000000000000000000000000000000000000000000000000
m_ZoomArea:
m_HRangeLocked: 0
m_VRangeLocked: 0
hZoomLockedByDefault: 0
vZoomLockedByDefault: 0
m_HBaseRangeMin: -558.5
m_HBaseRangeMax: 558.5
m_HBaseRangeMin: -572
m_HBaseRangeMax: 572
m_VBaseRangeMin: -275
m_VBaseRangeMax: 275
m_HAllowExceedBaseRangeMin: 1
@@ -387,7 +387,7 @@ MonoBehaviour:
m_HSlider: 0
m_VSlider: 0
m_IgnoreScrollWheelUntilClicked: 0
m_EnableMouseInput: 1
m_EnableMouseInput: 0
m_EnableSliderZoomHorizontal: 0
m_EnableSliderZoomVertical: 0
m_UniformScale: 1
@@ -396,23 +396,23 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 21
width: 1117
width: 1144
height: 550
m_Scale: {x: 1, y: 1}
m_Translation: {x: 558.5, y: 275}
m_Translation: {x: 572, y: 275}
m_MarginLeft: 0
m_MarginRight: 0
m_MarginTop: 0
m_MarginBottom: 0
m_LastShownAreaInsideMargins:
serializedVersion: 2
x: -558.5
x: -572
y: -275
width: 1117
width: 1144
height: 550
m_MinimalGUI: 1
m_defaultScale: 1
m_LastWindowPixelSize: {x: 1117, y: 571}
m_LastWindowPixelSize: {x: 1144, y: 571}
m_ClearInEditMode: 1
m_NoCameraWarning: 1
m_LowResolutionForAspectRatios: 01000000000000000000
@@ -440,7 +440,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 73
width: 296
width: 301
height: 571
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
@@ -451,7 +451,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 6ed3ffffeed3ffff5cd7ffff28fbffff
m_ExpandedIDs: ca97ffff6e98ffff029affffa89dffff4c9effffe09fffffe8a3ffff8ca4ffff20a6fffff6a9ffff9aaaffff2eacffffb6b0ffff5cb1ffffcab4ffff28fbffff5a6b000012720000b0720000148801003688010036890100948c01000c8d0100108d01004e8d0100c08d0100b28e0100ee8e01005e8f0100c68f0100ce8f0100d2900100
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -495,9 +495,9 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 297
x: 302
y: 73
width: 1117
width: 1144
height: 571
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
@@ -755,9 +755,9 @@ MonoBehaviour:
m_PlayAudio: 0
m_AudioPlay: 0
m_Position:
m_Target: {x: -3.2328522, y: -1.3212909, z: -0.1779072}
m_Target: {x: -8.708006, y: -1.0897603, z: -0.25681865}
speed: 2
m_Value: {x: -3.2328522, y: -1.3212909, z: -0.1779072}
m_Value: {x: -8.708006, y: -1.0897603, z: -0.25681865}
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: 11.886256
m_Target: 11.759597
speed: 2
m_Value: 11.886256
m_Value: 11.759597
m_Ortho:
m_Target: 1
speed: 2
@@ -857,7 +857,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 665
width: 775
width: 793
height: 334
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
@@ -876,22 +876,22 @@ MonoBehaviour:
m_SkipHidden: 0
m_SearchArea: 1
m_Folders:
- Assets/Scripts
- Assets/Urp
m_Globs: []
m_OriginalText:
m_ViewMode: 1
m_StartGridSize: 55
m_LastFolders:
- Assets/Scripts
- Assets/Urp
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: f8750000
m_LastClickedID: 30200
m_ExpandedIDs: 00000000ee750000
m_SelectedIDs: 18760000
m_LastClickedID: 30232
m_ExpandedIDs: 00000000f4750000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -919,7 +919,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 00000000ee750000
m_ExpandedIDs: 00000000f4750000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -946,7 +946,7 @@ MonoBehaviour:
m_ListAreaState:
m_SelectedInstanceIDs:
m_LastClickedInstanceID: 0
m_HadKeyboardFocusLastEvent: 0
m_HadKeyboardFocusLastEvent: 1
m_ExpandedInstanceIDs: c623000000000000
m_RenameOverlay:
m_UserAcceptedRename: 0
@@ -995,9 +995,9 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 776
x: 794
y: 665
width: 638
width: 652
height: 334
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
@@ -1023,9 +1023,9 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 1416
x: 1448
y: 73
width: 503
width: 471
height: 926
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas: