kommentek + update
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3b4dc5f685f8edc4bbba6fb0c8ea39ba
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8851c5995be5f704babebf752d60b4e2
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 88c6da05db186cb44a4453fd624b31b2
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -38,7 +38,7 @@ RenderSettings:
|
||||
m_ReflectionIntensity: 1
|
||||
m_CustomReflection: {fileID: 0}
|
||||
m_Sun: {fileID: 0}
|
||||
m_IndirectSpecularColor: {r: 0.5615895, g: 0.72180885, b: 0.81785697, a: 1}
|
||||
m_IndirectSpecularColor: {r: 0.56158954, g: 0.7218083, b: 0.8178571, a: 1}
|
||||
m_UseRadianceAmbientProbe: 0
|
||||
--- !u!157 &3
|
||||
LightmapSettings:
|
||||
@@ -7449,7 +7449,7 @@ PrefabInstance:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4168203924951896375, guid: d73ae45b499e5f74ba3e0d287b87893c, type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 4
|
||||
value: 3
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4168203924951896375, guid: d73ae45b499e5f74ba3e0d287b87893c, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
@@ -9725,7 +9725,7 @@ Transform:
|
||||
- {fileID: 4837085586104442566}
|
||||
- {fileID: 481417098}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 3
|
||||
m_RootOrder: 4
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!54 &7917514869596290073
|
||||
Rigidbody:
|
||||
|
||||
@@ -38,7 +38,7 @@ RenderSettings:
|
||||
m_ReflectionIntensity: 1
|
||||
m_CustomReflection: {fileID: 0}
|
||||
m_Sun: {fileID: 0}
|
||||
m_IndirectSpecularColor: {r: 0.44657832, g: 0.49641222, b: 0.57481664, a: 1}
|
||||
m_IndirectSpecularColor: {r: 0.4440218, g: 0.49316478, b: 0.5722311, a: 1}
|
||||
m_UseRadianceAmbientProbe: 0
|
||||
--- !u!157 &3
|
||||
LightmapSettings:
|
||||
@@ -490,7 +490,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &263548831
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -2752,7 +2752,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
m_IsActive: 0
|
||||
--- !u!114 &1424652919
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
@@ -4,20 +4,19 @@ using UnityEngine;
|
||||
|
||||
public class CameraController : MonoBehaviour
|
||||
{
|
||||
public GameObject player;
|
||||
public Camera camera;
|
||||
private Vector3 offset;
|
||||
public float xPostion = 0;
|
||||
public GameObject player; //jatekos objektum
|
||||
public Camera camera; //fo kamera
|
||||
private Vector3 offset; //kamera pozicio
|
||||
public float xPostion = 0; //x tengely pozicio
|
||||
|
||||
void Start(){
|
||||
private void Start(){ //kezdeskor a kamera ugorjon a jatekos moge
|
||||
offset.x = xPostion;
|
||||
offset.y = camera.transform.position.y - player.transform.position.y;
|
||||
offset.z = camera.transform.position.z - player.transform.position.z;
|
||||
|
||||
}
|
||||
|
||||
void LateUpdate()
|
||||
{
|
||||
private void LateUpdate(){ //kamera pozicio frissitese
|
||||
if(player.transform.position.x != 3 || player.transform.position.x != -3)
|
||||
camera.transform.position = player.transform.position + offset;
|
||||
}
|
||||
|
||||
@@ -4,22 +4,23 @@ using UnityEngine;
|
||||
|
||||
public class Date
|
||||
{
|
||||
private int year;
|
||||
private int month;
|
||||
private int day;
|
||||
private int year; //ev
|
||||
private int month; //honap
|
||||
private int day; //nap
|
||||
|
||||
public Date(string date) {
|
||||
date = date.Substring(0, date.Length - 14);
|
||||
string[] sp = date.Split('-');
|
||||
date = date.Substring(0, date.Length - 14); //idozona levagasa
|
||||
string[] sp = date.Split('-'); //szoveg feladarabolasa
|
||||
year = int.Parse(sp[0]);
|
||||
month = int.Parse(sp[1]);
|
||||
day = int.Parse(sp[2]);
|
||||
}
|
||||
|
||||
public string printDate() {
|
||||
public string printDate() { //datum kiiratasa
|
||||
return getYear() + "." + getMonth() + "." + getDay();
|
||||
}
|
||||
|
||||
//get fv-k
|
||||
public int getYear() {
|
||||
return year;
|
||||
}
|
||||
|
||||
@@ -9,7 +9,6 @@ public class GroundController : MonoBehaviour
|
||||
public GameObject[] sideObjects;
|
||||
private float groundMoveSpeed = 10f;
|
||||
|
||||
|
||||
private void Awake() {
|
||||
//Loading modules
|
||||
loadFrom = LoadPrefabs("Prefabs/Modulok");
|
||||
@@ -76,13 +75,9 @@ public class GroundController : MonoBehaviour
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void CreateNewGround(){
|
||||
int random = UnityEngine.Random.Range(0, loadFrom.Length);
|
||||
//ketto modullal elobb tolt be, annak az iranyanak megfeleloen, +80 a ket modull hossza
|
||||
Instantiate(loadFrom[random], new Vector3(0,0, ground[ground.Length-2].transform.position.z + 80), ground[ground.Length-2].transform.rotation);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -5,13 +5,54 @@ using TMPro;
|
||||
|
||||
public class HighScoreTable : MonoBehaviour
|
||||
{
|
||||
public Transform entryContainer;
|
||||
public Transform entryTemplate;
|
||||
public Transform entryContainer; //A helyezeseket tartalmazo helyhez referencia
|
||||
public Transform entryTemplate; //Egy helyezeshez egy template (tartalmazza a helyezest, nevet, pontszamot, es idot), ebbol letrehozott masolatok lesznek az entryContainerbe
|
||||
|
||||
private DatabaseData dbData;
|
||||
private HighScoreTableDataContainer htdc;
|
||||
private DatabaseData dbData; //Database osztalyhoz referencia
|
||||
private HighScoreTableDataContainer htdc; //A tombot tarolo osztalyhoz referencia
|
||||
|
||||
/*private void Awake() {
|
||||
public void CreateTable(HighScoreTableData[] htd){
|
||||
foreach(HighScoreTableData item in htd){
|
||||
item.kiir(); //konzolra Debug miatt kiirja az adatokat
|
||||
}
|
||||
|
||||
entryTemplate.gameObject.SetActive(false); //Objektum kikapcsolasa hogy ne legyen lathato
|
||||
|
||||
float templateHight = 35f; //Egy sor magassaga
|
||||
|
||||
for (int i = 0; i < htd.Length; i++){ //minden adaton vegigmegyunk a tombben
|
||||
Transform entryTransform = Instantiate(entryTemplate, entryContainer); //uj sor letrehozasa az entryContainerben
|
||||
RectTransform entryRectTransform = entryTransform.GetComponent<RectTransform>();
|
||||
RectTransform entryContainerRect = entryContainer.GetComponent<RectTransform>();
|
||||
entryRectTransform.anchoredPosition = new Vector2(0, -templateHight * i + (entryContainerRect.rect.height / 2) - 20); //A sor poziciojanak beallitasa x,y koordinataval
|
||||
entryTransform.gameObject.SetActive(true); //Objektum megjelenitese
|
||||
|
||||
|
||||
//a helyezes szoveg letrehozasa 1.: 1st, 2.: 2nd, 3.: 3rd, 4.: 4th...
|
||||
int rank = i+1;
|
||||
string rankString;
|
||||
|
||||
switch(rank){
|
||||
default: rankString = rank + "th"; break;
|
||||
case 1: rankString = rank + "st"; break;
|
||||
case 2: rankString = rank + "nd"; break;
|
||||
case 3: rankString = rank + "rd"; break;
|
||||
}
|
||||
|
||||
//a tombben levo adatok beirasa
|
||||
entryTransform.Find("posText").GetComponent<TMP_Text>().text = rankString;
|
||||
entryTransform.Find("nameText").GetComponent<TMP_Text>().text = htd[i].player_name;
|
||||
entryTransform.Find("scoreText").GetComponent<TMP_Text>().text = htd[i].score_points.ToString();
|
||||
entryTransform.Find("timeText").GetComponent<TMP_Text>().text = htd[i].score_time;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
//////////
|
||||
|
||||
/*private void Awake() {
|
||||
dbData = FindObjectOfType<DatabaseData>();
|
||||
dbData.GetHighScoreData(1);
|
||||
htdc = dbData.htdcReturn();
|
||||
@@ -50,38 +91,4 @@ public class HighScoreTable : MonoBehaviour
|
||||
|
||||
}
|
||||
}*/
|
||||
|
||||
public void CreateTable(HighScoreTableData[] htda){
|
||||
foreach(HighScoreTableData item in htda){
|
||||
item.kiir();
|
||||
}
|
||||
|
||||
entryTemplate.gameObject.SetActive(false);
|
||||
|
||||
float templateHight = 35f;
|
||||
|
||||
for (int i = 0; i < htda.Length; i++){ //for size of player list or highscore data lekerdezes meret
|
||||
Transform entryTransform = Instantiate(entryTemplate, entryContainer);
|
||||
RectTransform entryRectTransform = entryTransform.GetComponent<RectTransform>();
|
||||
RectTransform entryContainerRect = entryContainer.GetComponent<RectTransform>();
|
||||
entryRectTransform.anchoredPosition = new Vector2(0, -templateHight * i + (entryContainerRect.rect.height / 2) - 20);
|
||||
entryTransform.gameObject.SetActive(true);
|
||||
|
||||
int rank = i+1;
|
||||
string rankString;
|
||||
|
||||
switch(rank){
|
||||
default: rankString = rank + "th"; break;
|
||||
case 1: rankString = rank + "st"; break;
|
||||
case 2: rankString = rank + "nd"; break;
|
||||
case 3: rankString = rank + "rd"; break;
|
||||
}
|
||||
|
||||
entryTransform.Find("posText").GetComponent<TMP_Text>().text = rankString;
|
||||
entryTransform.Find("nameText").GetComponent<TMP_Text>().text = htda[i].player_name;
|
||||
entryTransform.Find("scoreText").GetComponent<TMP_Text>().text = htda[i].score_points.ToString();
|
||||
entryTransform.Find("timeText").GetComponent<TMP_Text>().text = htda[i].score_time;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,13 +4,11 @@ using UnityEngine;
|
||||
|
||||
[System.Serializable]
|
||||
public class HighScoreTableData {
|
||||
public string player_name;
|
||||
public int score_points;
|
||||
public string score_time;
|
||||
public string player_name; //Jatekos neve
|
||||
public int score_points; //A jatekos altal elert pontszam a palyan
|
||||
public string score_time; //A jatekos mennyi idot toltott a palyan
|
||||
|
||||
public void kiir(){
|
||||
Debug.Log("kiir name: " + player_name + " points: " + score_points + " time: " + score_time);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -4,33 +4,33 @@ using UnityEngine;
|
||||
using TMPro;
|
||||
using UnityEngine.Networking;
|
||||
|
||||
|
||||
public class DatabaseData : MonoBehaviour
|
||||
{
|
||||
public TMP_InputField input;
|
||||
public PlayerList players;
|
||||
public HighScoreTableDataContainer htdc;
|
||||
public HighScoreTable hst;
|
||||
public string jsondata;
|
||||
public TMP_InputField input; //szoveg megjelenitese
|
||||
public PlayerList players; //jatekos adatok
|
||||
public HighScoreTableDataContainer htdc; //itt van a tomb
|
||||
public HighScoreTable hst; //high score table ui
|
||||
public string jsondata; //json szoveg
|
||||
|
||||
private void Awake() {
|
||||
hst = FindObjectOfType<HighScoreTable>();
|
||||
htdc = new HighScoreTableDataContainer();
|
||||
players = new PlayerList();
|
||||
hst = FindObjectOfType<HighScoreTable>(); //High Score Table referencia
|
||||
htdc = new HighScoreTableDataContainer(); //High Score Table Container objektum
|
||||
players = new PlayerList(); //jatekos lista osztaly
|
||||
}
|
||||
|
||||
public HighScoreTableDataContainer htdcReturn(){
|
||||
return htdc;
|
||||
private void Start() {
|
||||
GetHighScoreData(2);
|
||||
}
|
||||
|
||||
public void jsonParser(string jsondata) {
|
||||
public void jsonParser(string jsondata) { //beerkezo json adat eltarolasa
|
||||
players = JsonUtility.FromJson<PlayerList>("{\"player\":" + jsondata + "}");
|
||||
}
|
||||
|
||||
public void jsonParserHighScore(string jsondata) {
|
||||
public void jsonParserHighScore(string jsondata) { //beerkezo json adat eltarolasa
|
||||
htdc = JsonUtility.FromJson<HighScoreTableDataContainer>("{\"htd\":" + jsondata + "}");
|
||||
}
|
||||
|
||||
//fuggvenyek amik meghivjak a rutint
|
||||
public void GetPlayerData() => StartCoroutine(IGetPlayerData());
|
||||
public void GetHighScoreData(int palya_id) => StartCoroutine(IGetHighScoreData(palya_id));
|
||||
public void PostNewPlayerData() => StartCoroutine(IPostNewPlayerData());
|
||||
@@ -38,42 +38,40 @@ public class DatabaseData : MonoBehaviour
|
||||
public void PostNewPalyaData() => StartCoroutine(IPostNewPalyaData());
|
||||
|
||||
private IEnumerator IGetPlayerData() {
|
||||
input.text = "Loading...";
|
||||
input.text = "Loading..."; //ideiglenes szoveg amig nem jelenik meg az adat szoveg
|
||||
|
||||
string uri = "http://localhost:3000/player";
|
||||
string uri = "http://localhost:3000/player"; //backend vegpont linkje
|
||||
|
||||
using (UnityWebRequest request = UnityWebRequest.Get(uri)) {
|
||||
yield return request.SendWebRequest();
|
||||
using (UnityWebRequest request = UnityWebRequest.Get(uri)) { //uj webrequest objektum letrehozasa, aminek megadjuk hogy ez egy get-es lekerdezes
|
||||
yield return request.SendWebRequest(); //amig be nem fejezodik az fv ide fog visszaterni
|
||||
|
||||
if(request.isNetworkError || request.isHttpError) {
|
||||
if(request.isNetworkError || request.isHttpError) { //ha valami hiba tortent kiirjuk a kepernyore
|
||||
input.text = request.error;
|
||||
} else {
|
||||
jsondata = request.downloadHandler.text;
|
||||
jsonParser(jsondata);
|
||||
jsondata = request.downloadHandler.text; //json szoveg eltarolasa
|
||||
jsonParser(jsondata); //json adat atalakitasa
|
||||
foreach(var p in players.player) {
|
||||
p.ConvertDate();
|
||||
p.ConvertDate(); //datum eltarolasa es atalakitasa datum tipussa
|
||||
Debug.Log("p_id: " + p.player_id + " username: " + p.player_name + " join date: " + p.joindate.printDate() + "\n");
|
||||
}
|
||||
|
||||
input.text = "";
|
||||
foreach(var p in players.player) {
|
||||
p.ConvertDate();
|
||||
//adatok kiirasa kepernyore
|
||||
input.text += "p_id: " + p.player_id + " username: " + p.player_name + " join date: " + p.joindate.printDate() + "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void Start() {
|
||||
GetHighScoreData(2);
|
||||
}
|
||||
|
||||
private IEnumerator IGetHighScoreData(int palya_id){
|
||||
string uri = "http://localhost:3000/toplist";
|
||||
|
||||
var uwr = new UnityWebRequest(uri, "POST");
|
||||
byte[] jsonToSend = new System.Text.UTF8Encoding().GetBytes("{\"bevitel1\":"+palya_id+"}");
|
||||
uwr.uploadHandler = (UploadHandler)new UploadHandlerRaw(jsonToSend);
|
||||
byte[] jsonToSend = new System.Text.UTF8Encoding().GetBytes("{\"bevitel1\":"+palya_id+"}"); //palya id megadasa
|
||||
uwr.uploadHandler = (UploadHandler)new UploadHandlerRaw(jsonToSend); //felkuldi a palya id-t
|
||||
uwr.downloadHandler = (DownloadHandler)new DownloadHandlerBuffer();
|
||||
uwr.SetRequestHeader("Content-Type", "application/json");
|
||||
|
||||
@@ -85,7 +83,7 @@ public class DatabaseData : MonoBehaviour
|
||||
input.text = uwr.downloadHandler.text;
|
||||
Debug.Log(uwr.downloadHandler.text);
|
||||
jsonParserHighScore(uwr.downloadHandler.text);
|
||||
hst.CreateTable(htdc.htd);
|
||||
hst.CreateTable(htdc.htd); //high score tabla letrehozasa
|
||||
}
|
||||
}
|
||||
|
||||
@@ -94,8 +92,8 @@ public class DatabaseData : MonoBehaviour
|
||||
|
||||
string uri = "http://localhost:3000/newplayer";
|
||||
|
||||
var uwr = new UnityWebRequest(uri, "POST");
|
||||
byte[] jsonToSend = new System.Text.UTF8Encoding().GetBytes("{ \"bevitel1\":\"postusername\"}");
|
||||
var uwr = new UnityWebRequest(uri, "POST"); //post beallitasa
|
||||
byte[] jsonToSend = new System.Text.UTF8Encoding().GetBytes("{ \"bevitel1\":\"postusername\"}"); //felviteli json
|
||||
uwr.uploadHandler = (UploadHandler)new UploadHandlerRaw(jsonToSend);
|
||||
uwr.downloadHandler = (DownloadHandler)new DownloadHandlerBuffer();
|
||||
uwr.SetRequestHeader("Content-Type", "application/json");
|
||||
@@ -105,7 +103,7 @@ public class DatabaseData : MonoBehaviour
|
||||
if (uwr.isNetworkError) {
|
||||
Debug.Log(uwr.error);
|
||||
} else {
|
||||
input.text = uwr.downloadHandler.text;
|
||||
input.text = uwr.downloadHandler.text; //vissza erzkezes arrol hogy sikeres a felvitel vagy nem
|
||||
Debug.Log(uwr.downloadHandler.text);
|
||||
}
|
||||
}
|
||||
@@ -151,4 +149,4 @@ public class DatabaseData : MonoBehaviour
|
||||
Debug.Log(uwr.downloadHandler.text);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4,14 +4,12 @@ using UnityEngine;
|
||||
|
||||
[System.Serializable]
|
||||
public class Player {
|
||||
public int player_id;
|
||||
public string player_name;
|
||||
public Date joindate;
|
||||
public string player_join_date;
|
||||
public int player_id; //jatkos id-ja
|
||||
public string player_name; //jatekos neve
|
||||
public Date joindate; //elso csatlakozasi datuma
|
||||
public string player_join_date;
|
||||
|
||||
public void ConvertDate() { //mindig meg kell hivni
|
||||
joindate = new Date(player_join_date);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -4,83 +4,73 @@ using UnityEngine;
|
||||
|
||||
public class PlayerController : MonoBehaviour
|
||||
{
|
||||
public Rigidbody rb;
|
||||
public Rigidbody rb; //jatekos teste
|
||||
private CameraController cc;
|
||||
//public float moveSpeed = 5f;
|
||||
public float jumpforce = 5f;
|
||||
private float sideMovement = 3f;
|
||||
private Vector3 direction;
|
||||
private float horizontal, vertical;
|
||||
private bool isJumping;
|
||||
private bool isOnGround;
|
||||
|
||||
|
||||
//
|
||||
public float holdTime = 0.3f;
|
||||
private bool isTapped = false;
|
||||
private float timeSinceLastTap = 0f;
|
||||
|
||||
//swipe movement
|
||||
private Vector2 startTouchPosition;
|
||||
private Vector2 endTouchPosition;
|
||||
public float jumpforce = 5f; //mekkorat tudjon ugorni
|
||||
private float sideMovement = 3f; //oldalra mennyit mozogjon
|
||||
private Vector3 direction; //jatkos pozicio
|
||||
private bool isJumping; //levegobe van e
|
||||
public float holdTime = 0.3f; //meddig kell nyomni egy érintéshez
|
||||
private bool isTapped = false; //kattintas erzekeles
|
||||
private float timeSinceLastTap = 0f; //mennyi ido telt el a legutolso erintes ota
|
||||
private Vector2 startTouchPosition; //erintes kezdo pozicio
|
||||
private Vector2 endTouchPosition; //erintes vegpozicio
|
||||
|
||||
private void Awake() {
|
||||
cc = FindObjectOfType<CameraController>();
|
||||
cc = FindObjectOfType<CameraController>(); //kamera vezerlo referencia
|
||||
}
|
||||
|
||||
private void Update(){
|
||||
//jumping
|
||||
if(Input.touchCount > 0){
|
||||
Touch touch = Input.GetTouch(0);
|
||||
Touch touch = Input.GetTouch(0); //elso erintes lekerese
|
||||
|
||||
if(touch.phase == TouchPhase.Began){
|
||||
if(touch.phase == TouchPhase.Began){ //ha az erintes elkezdotott
|
||||
isTapped = true;
|
||||
timeSinceLastTap = Time.time;
|
||||
}
|
||||
|
||||
if(touch.phase == TouchPhase.Ended){
|
||||
if(touch.phase == TouchPhase.Ended){ //ha az erintes befejezodott
|
||||
isTapped = false;
|
||||
timeSinceLastTap = 0f;
|
||||
}
|
||||
|
||||
if(isTapped && rb.transform.position.y <= 0.16f){
|
||||
if(Time.time - timeSinceLastTap >= holdTime){
|
||||
if(Time.time - timeSinceLastTap >= holdTime){ //ha nyomva tartotta a beallitott ideig
|
||||
Debug.Log("Long tapped");
|
||||
rb.AddForce(new Vector3(0, jumpforce, 0));
|
||||
rb.AddForce(new Vector3(0, jumpforce, 0)); //ugras
|
||||
isTapped = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//new character controller with swipe lane changing
|
||||
if(Input.touchCount > 0 && Input.GetTouch(0).phase == TouchPhase.Began){
|
||||
startTouchPosition = Input.GetTouch(0).position;
|
||||
if(Input.touchCount > 0 && Input.GetTouch(0).phase == TouchPhase.Began){ //elso erintes elkezdodott
|
||||
startTouchPosition = Input.GetTouch(0).position;
|
||||
}
|
||||
if(Input.touchCount > 0 && Input.GetTouch(0).phase == TouchPhase.Ended){
|
||||
if(Input.touchCount > 0 && Input.GetTouch(0).phase == TouchPhase.Ended){ //elso erintes befejezodott
|
||||
endTouchPosition = Input.GetTouch(0).position;
|
||||
|
||||
if(endTouchPosition.x < startTouchPosition.x){
|
||||
if(endTouchPosition.x < startTouchPosition.x){ //balra huzott
|
||||
//left
|
||||
goLeft();
|
||||
|
||||
}else if(endTouchPosition.x > startTouchPosition.x){
|
||||
}else if(endTouchPosition.x > startTouchPosition.x){ //jobbra huzott
|
||||
//right
|
||||
goRight();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void goLeft(){
|
||||
private void goLeft(){ //helyezze at a jatekos objektumot a balra levo savba
|
||||
if(rb.transform.position.x >= 2.5f) return; //ne tudjon kimenni a savbol
|
||||
cc.xPostion = -3;
|
||||
//rb.transform.position = new Vector3(rb.transform.position.x + sideMovement, rb.transform.position.y, rb.transform.position.z);
|
||||
rb.AddForce(new Vector3(300f, 0, 0));
|
||||
cc.xPostion = -3; //kamera xPozicioja
|
||||
rb.transform.position = new Vector3(rb.transform.position.x + sideMovement, rb.transform.position.y, rb.transform.position.z);
|
||||
}
|
||||
|
||||
private void goRight(){
|
||||
private void goRight(){ //helyezze at a jatekos objektumot a jobbra levo savba
|
||||
if(rb.transform.position.x <= -2.5f) return; //ne tudjon kimenni a savbol
|
||||
cc.xPostion = 3;
|
||||
//rb.transform.position = new Vector3(rb.transform.position.x - sideMovement, rb.transform.position.y, rb.transform.position.z);
|
||||
rb.AddForce(new Vector3(-300f, 0, 0));
|
||||
cc.xPostion = 3; //kamera xPozicioja
|
||||
rb.transform.position = new Vector3(rb.transform.position.x - sideMovement, rb.transform.position.y, rb.transform.position.z);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -6,4 +6,4 @@ using UnityEngine;
|
||||
public class PlayerList
|
||||
{
|
||||
public Player[] player;
|
||||
}
|
||||
}
|
||||
@@ -26,8 +26,4 @@ public class SceneUIManager : MonoBehaviour
|
||||
public void LoadScene(int sceneIndex) {
|
||||
SceneManager.LoadScene(sceneIndex);
|
||||
}
|
||||
|
||||
public void DisableUI(string UIName) {
|
||||
//to be implemented when some ui is done
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -6,14 +6,14 @@ EditorUserSettings:
|
||||
serializedVersion: 4
|
||||
m_ConfigSettings:
|
||||
RecentlyUsedSceneGuid-0:
|
||||
value: 5b55515706060d025a5f0d2043260744414f482c7e2b7263747d4a32b0b9313b
|
||||
flags: 0
|
||||
RecentlyUsedSceneGuid-1:
|
||||
value: 5a5757560101590a5d0c0e24427b5d44434e4c7a7b7a23677f2b4565b7b5353a
|
||||
flags: 0
|
||||
RecentlyUsedSceneGuid-2:
|
||||
RecentlyUsedSceneGuid-1:
|
||||
value: 5401000201035c0f5d5e582648710644464f4f2f7a7d24607c2f1b36bab66468
|
||||
flags: 0
|
||||
RecentlyUsedSceneGuid-2:
|
||||
value: 5b55515706060d025a5f0d2043260744414f482c7e2b7263747d4a32b0b9313b
|
||||
flags: 0
|
||||
UnityRemoteCompression:
|
||||
value: 337f73
|
||||
flags: 0
|
||||
|
||||
@@ -24,7 +24,7 @@ MonoBehaviour:
|
||||
m_MinSize: {x: 300, y: 200}
|
||||
m_MaxSize: {x: 24288, y: 16192}
|
||||
vertical: 0
|
||||
controlID: 5421
|
||||
controlID: 70
|
||||
--- !u!114 &2
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
@@ -34,56 +34,91 @@ MonoBehaviour:
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 13974, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Script: {fileID: 12015, 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: Simulator
|
||||
m_Image: {fileID: 8720083202187608617, guid: 0000000000000000d000000000000000, type: 0}
|
||||
m_Text: Game
|
||||
m_Image: {fileID: -6423792434712278376, guid: 0000000000000000d000000000000000, type: 0}
|
||||
m_Tooltip:
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 185
|
||||
x: 234
|
||||
y: 86
|
||||
width: 844
|
||||
height: 348
|
||||
width: 732
|
||||
height: 332
|
||||
m_ViewDataDictionary: {fileID: 0}
|
||||
m_OverlayCanvas:
|
||||
m_LastAppliedPresetName: Default
|
||||
m_SaveData: []
|
||||
m_SerializedViewNames:
|
||||
- UnityEditor.GameView
|
||||
- UnityEditor.DeviceSimulation.SimulatorWindow
|
||||
m_SerializedViewValues:
|
||||
- /home/tom/Documents/dev/zarodolgozat/ColorRunner/Library/PlayModeViewStates/3f2f31d0639f87e079498d2f248e8d06
|
||||
m_PlayModeViewName: Device Simulator
|
||||
- /home/tom/Documents/dev/zarodolgozat/ColorRunner/Library/PlayModeViewStates/e01c0e1826eb40c8a8e6cbe9d91a9161
|
||||
m_PlayModeViewName: GameView
|
||||
m_ShowGizmos: 0
|
||||
m_TargetDisplay: 0
|
||||
m_ClearColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_TargetSize: {x: 1170, y: 2532}
|
||||
m_ClearColor: {r: 0, g: 0, b: 0, a: 0}
|
||||
m_TargetSize: {x: 732, y: 311}
|
||||
m_TextureFilterMode: 0
|
||||
m_TextureHideFlags: 61
|
||||
m_RenderIMGUI: 1
|
||||
m_EnterPlayModeBehavior: 1
|
||||
m_UseMipMap: 0
|
||||
m_SimulatorState:
|
||||
controlPanelVisible: 0
|
||||
controlPanelWidth: 0
|
||||
controlPanelFoldoutKeys:
|
||||
- UnityEditor.DeviceSimulation.ApplicationSettingsPlugin
|
||||
controlPanelFoldoutValues: 01
|
||||
pluginNames:
|
||||
- UnityEditor.DeviceSimulation.ApplicationSettingsPlugin
|
||||
pluginStates:
|
||||
- '{}'
|
||||
scale: 12
|
||||
fitToScreenEnabled: 1
|
||||
rotationDegree: 0
|
||||
highlightSafeAreaEnabled: 0
|
||||
friendlyName: Apple iPhone 13 Pro
|
||||
networkReachability: 1
|
||||
systemLanguage: 10
|
||||
m_VSyncEnabled: 0
|
||||
m_Gizmos: 0
|
||||
m_Stats: 0
|
||||
m_SelectedSizes: 00000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
m_ZoomArea:
|
||||
m_HRangeLocked: 0
|
||||
m_VRangeLocked: 0
|
||||
hZoomLockedByDefault: 0
|
||||
vZoomLockedByDefault: 0
|
||||
m_HBaseRangeMin: -366
|
||||
m_HBaseRangeMax: 366
|
||||
m_VBaseRangeMin: -155.5
|
||||
m_VBaseRangeMax: 155.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: 732
|
||||
height: 311
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Translation: {x: 366, y: 155.5}
|
||||
m_MarginLeft: 0
|
||||
m_MarginRight: 0
|
||||
m_MarginTop: 0
|
||||
m_MarginBottom: 0
|
||||
m_LastShownAreaInsideMargins:
|
||||
serializedVersion: 2
|
||||
x: -366
|
||||
y: -155.5
|
||||
width: 732
|
||||
height: 311
|
||||
m_MinimalGUI: 1
|
||||
m_defaultScale: 1
|
||||
m_LastWindowPixelSize: {x: 732, y: 332}
|
||||
m_ClearInEditMode: 1
|
||||
m_NoCameraWarning: 1
|
||||
m_LowResolutionForAspectRatios: 01000000000000000000
|
||||
m_XRRenderMode: 0
|
||||
m_RenderTexture: {fileID: 0}
|
||||
--- !u!114 &3
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
@@ -103,12 +138,12 @@ MonoBehaviour:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1031
|
||||
width: 968
|
||||
height: 622
|
||||
m_MinSize: {x: 200, y: 200}
|
||||
m_MaxSize: {x: 16192, y: 16192}
|
||||
vertical: 1
|
||||
controlID: 5391
|
||||
controlID: 71
|
||||
--- !u!114 &4
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
@@ -128,12 +163,12 @@ MonoBehaviour:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1031
|
||||
height: 369
|
||||
width: 968
|
||||
height: 353
|
||||
m_MinSize: {x: 200, y: 100}
|
||||
m_MaxSize: {x: 16192, y: 8096}
|
||||
vertical: 0
|
||||
controlID: 5392
|
||||
controlID: 72
|
||||
--- !u!114 &5
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
@@ -151,8 +186,8 @@ MonoBehaviour:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 185
|
||||
height: 369
|
||||
width: 234
|
||||
height: 353
|
||||
m_MinSize: {x: 201, y: 221}
|
||||
m_MaxSize: {x: 4001, y: 4021}
|
||||
m_ActualView: {fileID: 6}
|
||||
@@ -182,18 +217,18 @@ MonoBehaviour:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 86
|
||||
width: 184
|
||||
height: 348
|
||||
width: 233
|
||||
height: 332
|
||||
m_ViewDataDictionary: {fileID: 0}
|
||||
m_OverlayCanvas:
|
||||
m_LastAppliedPresetName: Default
|
||||
m_SaveData: []
|
||||
m_SceneHierarchy:
|
||||
m_TreeViewState:
|
||||
scrollPos: {x: 0, y: 0}
|
||||
scrollPos: {x: 0, y: 9}
|
||||
m_SelectedIDs:
|
||||
m_LastClickedID: 0
|
||||
m_ExpandedIDs: aa93ffff34fbffff
|
||||
m_ExpandedIDs: 34fbffff1a5a0000345a0000c45a0000e65a0000
|
||||
m_RenameOverlay:
|
||||
m_UserAcceptedRename: 0
|
||||
m_Name:
|
||||
@@ -227,16 +262,16 @@ MonoBehaviour:
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name: SimulatorWindow
|
||||
m_Name: GameView
|
||||
m_EditorClassIdentifier:
|
||||
m_Children: []
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 185
|
||||
x: 234
|
||||
y: 0
|
||||
width: 846
|
||||
height: 369
|
||||
m_MinSize: {x: 202, y: 221}
|
||||
width: 734
|
||||
height: 353
|
||||
m_MinSize: {x: 102, y: 121}
|
||||
m_MaxSize: {x: 4002, y: 4021}
|
||||
m_ActualView: {fileID: 2}
|
||||
m_Panes:
|
||||
@@ -264,10 +299,10 @@ MonoBehaviour:
|
||||
m_Tooltip:
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 186
|
||||
y: 19
|
||||
width: 844
|
||||
height: 348
|
||||
x: 234
|
||||
y: 86
|
||||
width: 732
|
||||
height: 332
|
||||
m_ViewDataDictionary: {fileID: 0}
|
||||
m_OverlayCanvas:
|
||||
m_LastAppliedPresetName: Default
|
||||
@@ -321,7 +356,7 @@ MonoBehaviour:
|
||||
floating: 0
|
||||
collapsed: 0
|
||||
displayed: 1
|
||||
snapOffset: {x: 0, y: 0}
|
||||
snapOffset: {x: 0, y: 25}
|
||||
snapOffsetDelta: {x: 0, y: 0}
|
||||
snapCorner: 0
|
||||
id: unity-transform-toolbar
|
||||
@@ -497,14 +532,14 @@ MonoBehaviour:
|
||||
m_OverrideSceneCullingMask: 6917529027641081856
|
||||
m_SceneIsLit: 1
|
||||
m_SceneLighting: 1
|
||||
m_2DMode: 0
|
||||
m_2DMode: 1
|
||||
m_isRotationLocked: 0
|
||||
m_PlayAudio: 0
|
||||
m_AudioPlay: 0
|
||||
m_Position:
|
||||
m_Target: {x: -7.426486, y: 5.868319, z: -15.661159}
|
||||
m_Target: {x: 369.16226, y: 152.6716, z: 1.3187772}
|
||||
speed: 2
|
||||
m_Value: {x: -7.426486, y: 5.868319, z: -15.661159}
|
||||
m_Value: {x: 369.16226, y: 152.6716, z: 1.3187772}
|
||||
m_RenderMode: 0
|
||||
m_CameraMode:
|
||||
drawMode: 0
|
||||
@@ -532,6 +567,14 @@ MonoBehaviour:
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Size: {x: 0, y: 0}
|
||||
yGrid:
|
||||
m_Fade:
|
||||
m_Target: 0
|
||||
speed: 2
|
||||
m_Value: 0
|
||||
m_Color: {r: 0.5, g: 0.5, b: 0.5, a: 0.4}
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Size: {x: 1, y: 1}
|
||||
zGrid:
|
||||
m_Fade:
|
||||
m_Target: 1
|
||||
speed: 2
|
||||
@@ -539,31 +582,23 @@ MonoBehaviour:
|
||||
m_Color: {r: 0.5, g: 0.5, b: 0.5, a: 0.4}
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Size: {x: 1, y: 1}
|
||||
zGrid:
|
||||
m_Fade:
|
||||
m_Target: 0
|
||||
speed: 2
|
||||
m_Value: 0
|
||||
m_Color: {r: 0.5, g: 0.5, b: 0.5, a: 0.4}
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Size: {x: 0, y: 0}
|
||||
m_ShowGrid: 1
|
||||
m_GridAxis: 1
|
||||
m_gridOpacity: 0.5
|
||||
m_Rotation:
|
||||
m_Target: {x: 0.32373542, y: 0.18319961, z: -0.06404525, w: 0.9260414}
|
||||
m_Target: {x: 0, y: 0, z: 0, w: 1}
|
||||
speed: 2
|
||||
m_Value: {x: 0.323732, y: 0.18319768, z: -0.06404457, w: 0.9260316}
|
||||
m_Value: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_Size:
|
||||
m_Target: 6.112072
|
||||
m_Target: 292.94366
|
||||
speed: 2
|
||||
m_Value: 6.112072
|
||||
m_Value: 292.94366
|
||||
m_Ortho:
|
||||
m_Target: 0
|
||||
m_Target: 1
|
||||
speed: 2
|
||||
m_Value: 0
|
||||
m_Value: 1
|
||||
m_CameraSettings:
|
||||
m_Speed: 1
|
||||
m_Speed: 1.0005
|
||||
m_SpeedNormalized: 0.5
|
||||
m_SpeedMin: 0.001
|
||||
m_SpeedMax: 2
|
||||
@@ -575,7 +610,7 @@ MonoBehaviour:
|
||||
m_FarClip: 10000
|
||||
m_DynamicClip: 1
|
||||
m_OcclusionCulling: 0
|
||||
m_LastSceneViewRotation: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_LastSceneViewRotation: {x: 0.105270125, y: 0.00031314022, z: -0.00003319455, w: 0.9944435}
|
||||
m_LastSceneViewOrtho: 0
|
||||
m_ReplacementShader: {fileID: 0}
|
||||
m_ReplacementString:
|
||||
@@ -592,23 +627,23 @@ MonoBehaviour:
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name: ProjectBrowser
|
||||
m_Name: ConsoleWindow
|
||||
m_EditorClassIdentifier:
|
||||
m_Children: []
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 369
|
||||
width: 1031
|
||||
height: 253
|
||||
m_MinSize: {x: 231, y: 271}
|
||||
m_MaxSize: {x: 10001, y: 10021}
|
||||
m_ActualView: {fileID: 10}
|
||||
y: 353
|
||||
width: 968
|
||||
height: 269
|
||||
m_MinSize: {x: 101, y: 121}
|
||||
m_MaxSize: {x: 4001, y: 4021}
|
||||
m_ActualView: {fileID: 11}
|
||||
m_Panes:
|
||||
- {fileID: 10}
|
||||
- {fileID: 11}
|
||||
m_Selected: 0
|
||||
m_LastSelected: 1
|
||||
m_Selected: 1
|
||||
m_LastSelected: 0
|
||||
--- !u!114 &10
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
@@ -630,9 +665,9 @@ MonoBehaviour:
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 455
|
||||
width: 1030
|
||||
height: 232
|
||||
y: 439
|
||||
width: 967
|
||||
height: 248
|
||||
m_ViewDataDictionary: {fileID: 0}
|
||||
m_OverlayCanvas:
|
||||
m_LastAppliedPresetName: Default
|
||||
@@ -650,22 +685,22 @@ MonoBehaviour:
|
||||
m_SkipHidden: 0
|
||||
m_SearchArea: 1
|
||||
m_Folders:
|
||||
- Assets/Resources/Models/World Objects
|
||||
- Assets/Scripts/HighScoreTable
|
||||
m_Globs: []
|
||||
m_OriginalText:
|
||||
m_ViewMode: 1
|
||||
m_StartGridSize: 64
|
||||
m_LastFolders:
|
||||
- Assets/Resources/Models/World Objects
|
||||
- Assets/Scripts/HighScoreTable
|
||||
m_LastFoldersGridSize: -1
|
||||
m_LastProjectPath: /home/tom/Documents/dev/zarodolgozat/ColorRunner
|
||||
m_LockTracker:
|
||||
m_IsLocked: 0
|
||||
m_FolderTreeState:
|
||||
scrollPos: {x: 0, y: 0}
|
||||
m_SelectedIDs: d65e0100
|
||||
m_LastClickedID: 89814
|
||||
m_ExpandedIDs: 000000005660000062600000c65e0100c85e010000ca9a3b
|
||||
m_SelectedIDs: 2a5e0000
|
||||
m_LastClickedID: 24106
|
||||
m_ExpandedIDs: 000000000c5e00001a5e000000ca9a3b
|
||||
m_RenameOverlay:
|
||||
m_UserAcceptedRename: 0
|
||||
m_Name:
|
||||
@@ -693,7 +728,7 @@ MonoBehaviour:
|
||||
scrollPos: {x: 0, y: 0}
|
||||
m_SelectedIDs:
|
||||
m_LastClickedID: 0
|
||||
m_ExpandedIDs: 000000005660000000ca9a3b
|
||||
m_ExpandedIDs: 000000000c5e0000
|
||||
m_RenameOverlay:
|
||||
m_UserAcceptedRename: 0
|
||||
m_Name:
|
||||
@@ -718,8 +753,8 @@ MonoBehaviour:
|
||||
m_Icon: {fileID: 0}
|
||||
m_ResourceFile:
|
||||
m_ListAreaState:
|
||||
m_SelectedInstanceIDs:
|
||||
m_LastClickedInstanceID: 0
|
||||
m_SelectedInstanceIDs: e65a0000
|
||||
m_LastClickedInstanceID: 23270
|
||||
m_HadKeyboardFocusLastEvent: 1
|
||||
m_ExpandedInstanceIDs: c6230000
|
||||
m_RenameOverlay:
|
||||
@@ -770,9 +805,9 @@ MonoBehaviour:
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 455
|
||||
width: 1030
|
||||
height: 232
|
||||
y: 439
|
||||
width: 967
|
||||
height: 248
|
||||
m_ViewDataDictionary: {fileID: 0}
|
||||
m_OverlayCanvas:
|
||||
m_LastAppliedPresetName: Default
|
||||
@@ -792,12 +827,12 @@ MonoBehaviour:
|
||||
m_Children: []
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 1031
|
||||
x: 968
|
||||
y: 0
|
||||
width: 335
|
||||
width: 398
|
||||
height: 622
|
||||
m_MinSize: {x: 276, y: 71}
|
||||
m_MaxSize: {x: 4001, y: 4021}
|
||||
m_MinSize: {x: 275, y: 50}
|
||||
m_MaxSize: {x: 4000, y: 4000}
|
||||
m_ActualView: {fileID: 13}
|
||||
m_Panes:
|
||||
- {fileID: 13}
|
||||
@@ -823,9 +858,9 @@ MonoBehaviour:
|
||||
m_Tooltip:
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 1031
|
||||
x: 968
|
||||
y: 86
|
||||
width: 334
|
||||
width: 397
|
||||
height: 601
|
||||
m_ViewDataDictionary: {fileID: 0}
|
||||
m_OverlayCanvas:
|
||||
@@ -837,7 +872,7 @@ MonoBehaviour:
|
||||
m_CachedPref: 160
|
||||
m_ControlHash: -371814159
|
||||
m_PrefName: Preview_InspectorPreview
|
||||
m_LastInspectedObjectInstanceID: -1
|
||||
m_LastInspectedObjectInstanceID: 23270
|
||||
m_LastVerticalScrollValue: 0
|
||||
m_GlobalObjectId:
|
||||
m_InspectorMode: 0
|
||||
|
||||
@@ -15,146 +15,16 @@ MonoBehaviour:
|
||||
m_PixelRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 43
|
||||
width: 1920
|
||||
height: 997
|
||||
y: 28
|
||||
width: 1366
|
||||
height: 672
|
||||
m_ShowMode: 4
|
||||
m_Title: Hierarchy
|
||||
m_RootView: {fileID: 7}
|
||||
m_RootView: {fileID: 2}
|
||||
m_MinSize: {x: 875, y: 300}
|
||||
m_MaxSize: {x: 10000, y: 10000}
|
||||
m_Maximized: 1
|
||||
--- !u!114 &2
|
||||
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: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name: SimulatorWindow
|
||||
m_EditorClassIdentifier:
|
||||
m_Children: []
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 873
|
||||
y: 0
|
||||
width: 576
|
||||
height: 560
|
||||
m_MinSize: {x: 202, y: 221}
|
||||
m_MaxSize: {x: 4002, y: 4021}
|
||||
m_ActualView: {fileID: 18}
|
||||
m_Panes:
|
||||
- {fileID: 18}
|
||||
m_Selected: 0
|
||||
m_LastSelected: 0
|
||||
--- !u!114 &3
|
||||
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: 1
|
||||
m_Script: {fileID: 12010, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children:
|
||||
- {fileID: 10}
|
||||
- {fileID: 4}
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 30
|
||||
width: 1920
|
||||
height: 947
|
||||
m_MinSize: {x: 400, y: 200}
|
||||
m_MaxSize: {x: 32384, y: 16192}
|
||||
vertical: 0
|
||||
controlID: 65
|
||||
--- !u!114 &4
|
||||
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: 1
|
||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children: []
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 1449
|
||||
y: 0
|
||||
width: 471
|
||||
height: 947
|
||||
m_MinSize: {x: 275, y: 50}
|
||||
m_MaxSize: {x: 4000, y: 4000}
|
||||
m_ActualView: {fileID: 14}
|
||||
m_Panes:
|
||||
- {fileID: 14}
|
||||
m_Selected: 0
|
||||
m_LastSelected: 0
|
||||
--- !u!114 &5
|
||||
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: 1
|
||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children: []
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 270
|
||||
height: 560
|
||||
m_MinSize: {x: 201, y: 221}
|
||||
m_MaxSize: {x: 4001, y: 4021}
|
||||
m_ActualView: {fileID: 15}
|
||||
m_Panes:
|
||||
- {fileID: 15}
|
||||
m_Selected: 0
|
||||
m_LastSelected: 0
|
||||
--- !u!114 &6
|
||||
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: 1
|
||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name: ProjectBrowser
|
||||
m_EditorClassIdentifier:
|
||||
m_Children: []
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 560
|
||||
width: 1449
|
||||
height: 387
|
||||
m_MinSize: {x: 231, y: 271}
|
||||
m_MaxSize: {x: 10001, y: 10021}
|
||||
m_ActualView: {fileID: 13}
|
||||
m_Panes:
|
||||
- {fileID: 13}
|
||||
- {fileID: 17}
|
||||
m_Selected: 0
|
||||
m_LastSelected: 1
|
||||
--- !u!114 &7
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
@@ -167,22 +37,22 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children:
|
||||
- {fileID: 8}
|
||||
- {fileID: 3}
|
||||
- {fileID: 9}
|
||||
- {fileID: 5}
|
||||
- {fileID: 4}
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1920
|
||||
height: 997
|
||||
width: 1366
|
||||
height: 672
|
||||
m_MinSize: {x: 875, y: 300}
|
||||
m_MaxSize: {x: 10000, y: 10000}
|
||||
m_UseTopView: 1
|
||||
m_TopViewHeight: 30
|
||||
m_UseBottomView: 1
|
||||
m_BottomViewHeight: 20
|
||||
--- !u!114 &8
|
||||
--- !u!114 &3
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
@@ -199,12 +69,12 @@ MonoBehaviour:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1920
|
||||
width: 1366
|
||||
height: 30
|
||||
m_MinSize: {x: 0, y: 0}
|
||||
m_MaxSize: {x: 0, y: 0}
|
||||
m_LastLoadedLayoutName:
|
||||
--- !u!114 &9
|
||||
--- !u!114 &4
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
@@ -220,12 +90,12 @@ MonoBehaviour:
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 977
|
||||
width: 1920
|
||||
y: 652
|
||||
width: 1366
|
||||
height: 20
|
||||
m_MinSize: {x: 0, y: 0}
|
||||
m_MaxSize: {x: 0, y: 0}
|
||||
--- !u!114 &10
|
||||
--- !u!114 &5
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
@@ -238,19 +108,19 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children:
|
||||
- {fileID: 11}
|
||||
- {fileID: 6}
|
||||
- {fileID: 11}
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1449
|
||||
height: 947
|
||||
y: 30
|
||||
width: 1366
|
||||
height: 622
|
||||
m_MinSize: {x: 300, y: 200}
|
||||
m_MaxSize: {x: 24288, y: 16192}
|
||||
vertical: 1
|
||||
controlID: 66
|
||||
--- !u!114 &11
|
||||
vertical: 0
|
||||
controlID: 16
|
||||
--- !u!114 &6
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
@@ -263,20 +133,44 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children:
|
||||
- {fileID: 5}
|
||||
- {fileID: 12}
|
||||
- {fileID: 2}
|
||||
- {fileID: 7}
|
||||
- {fileID: 10}
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1449
|
||||
height: 560
|
||||
m_MinSize: {x: 300, y: 100}
|
||||
m_MaxSize: {x: 24288, y: 8096}
|
||||
width: 968
|
||||
height: 622
|
||||
m_MinSize: {x: 200, y: 200}
|
||||
m_MaxSize: {x: 16192, y: 16192}
|
||||
vertical: 1
|
||||
controlID: 17
|
||||
--- !u!114 &7
|
||||
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: 1
|
||||
m_Script: {fileID: 12010, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children:
|
||||
- {fileID: 8}
|
||||
- {fileID: 9}
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 968
|
||||
height: 353
|
||||
m_MinSize: {x: 200, y: 100}
|
||||
m_MaxSize: {x: 16192, y: 8096}
|
||||
vertical: 0
|
||||
controlID: 67
|
||||
--- !u!114 &12
|
||||
controlID: 18
|
||||
--- !u!114 &8
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
@@ -286,23 +180,23 @@ MonoBehaviour:
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name: SceneView
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children: []
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 270
|
||||
x: 0
|
||||
y: 0
|
||||
width: 603
|
||||
height: 560
|
||||
width: 233
|
||||
height: 353
|
||||
m_MinSize: {x: 200, y: 200}
|
||||
m_MaxSize: {x: 4000, y: 4000}
|
||||
m_ActualView: {fileID: 16}
|
||||
m_ActualView: {fileID: 13}
|
||||
m_Panes:
|
||||
- {fileID: 16}
|
||||
- {fileID: 13}
|
||||
m_Selected: 0
|
||||
m_LastSelected: 0
|
||||
--- !u!114 &13
|
||||
--- !u!114 &9
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
@@ -311,138 +205,52 @@ MonoBehaviour:
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12014, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name: GameView
|
||||
m_EditorClassIdentifier:
|
||||
m_MinSize: {x: 230, y: 250}
|
||||
m_MaxSize: {x: 10000, y: 10000}
|
||||
m_TitleContent:
|
||||
m_Text: Project
|
||||
m_Image: {fileID: -5467254957812901981, guid: 0000000000000000d000000000000000, type: 0}
|
||||
m_Tooltip:
|
||||
m_Pos:
|
||||
m_Children: []
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 233
|
||||
y: 0
|
||||
width: 735
|
||||
height: 353
|
||||
m_MinSize: {x: 102, y: 121}
|
||||
m_MaxSize: {x: 4002, y: 4021}
|
||||
m_ActualView: {fileID: 12}
|
||||
m_Panes:
|
||||
- {fileID: 14}
|
||||
- {fileID: 12}
|
||||
m_Selected: 1
|
||||
m_LastSelected: 0
|
||||
--- !u!114 &10
|
||||
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: 1
|
||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name: ProjectBrowser
|
||||
m_EditorClassIdentifier:
|
||||
m_Children: []
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 633
|
||||
width: 1448
|
||||
height: 366
|
||||
m_ViewDataDictionary: {fileID: 0}
|
||||
m_OverlayCanvas:
|
||||
m_LastAppliedPresetName: Default
|
||||
m_SaveData: []
|
||||
m_SearchFilter:
|
||||
m_NameFilter:
|
||||
m_ClassNames: []
|
||||
m_AssetLabels: []
|
||||
m_AssetBundleNames: []
|
||||
m_VersionControlStates: []
|
||||
m_SoftLockControlStates: []
|
||||
m_ReferencingInstanceIDs:
|
||||
m_SceneHandles:
|
||||
m_ShowAllHits: 0
|
||||
m_SkipHidden: 0
|
||||
m_SearchArea: 1
|
||||
m_Folders:
|
||||
- Assets
|
||||
m_Globs: []
|
||||
m_OriginalText:
|
||||
m_ViewMode: 1
|
||||
m_StartGridSize: 64
|
||||
m_LastFolders:
|
||||
- Assets
|
||||
m_LastFoldersGridSize: -1
|
||||
m_LastProjectPath: C:\dev\zarodolgozat\ColorBall
|
||||
m_LockTracker:
|
||||
m_IsLocked: 0
|
||||
m_FolderTreeState:
|
||||
scrollPos: {x: 0, y: 0}
|
||||
m_SelectedIDs: 14610000
|
||||
m_LastClickedID: 24852
|
||||
m_ExpandedIDs: 00000000146100001a610000
|
||||
m_RenameOverlay:
|
||||
m_UserAcceptedRename: 0
|
||||
m_Name:
|
||||
m_OriginalName:
|
||||
m_EditFieldRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 0
|
||||
height: 0
|
||||
m_UserData: 0
|
||||
m_IsWaitingForDelay: 0
|
||||
m_IsRenaming: 0
|
||||
m_OriginalEventType: 11
|
||||
m_IsRenamingFilename: 1
|
||||
m_ClientGUIView: {fileID: 0}
|
||||
m_SearchString:
|
||||
m_CreateAssetUtility:
|
||||
m_EndAction: {fileID: 0}
|
||||
m_InstanceID: 0
|
||||
m_Path:
|
||||
m_Icon: {fileID: 0}
|
||||
m_ResourceFile:
|
||||
m_AssetTreeState:
|
||||
scrollPos: {x: 0, y: 0}
|
||||
m_SelectedIDs:
|
||||
m_LastClickedID: 0
|
||||
m_ExpandedIDs: 0000000014610000
|
||||
m_RenameOverlay:
|
||||
m_UserAcceptedRename: 0
|
||||
m_Name:
|
||||
m_OriginalName:
|
||||
m_EditFieldRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 0
|
||||
height: 0
|
||||
m_UserData: 0
|
||||
m_IsWaitingForDelay: 0
|
||||
m_IsRenaming: 0
|
||||
m_OriginalEventType: 11
|
||||
m_IsRenamingFilename: 1
|
||||
m_ClientGUIView: {fileID: 0}
|
||||
m_SearchString:
|
||||
m_CreateAssetUtility:
|
||||
m_EndAction: {fileID: 0}
|
||||
m_InstanceID: 0
|
||||
m_Path:
|
||||
m_Icon: {fileID: 0}
|
||||
m_ResourceFile:
|
||||
m_ListAreaState:
|
||||
m_SelectedInstanceIDs:
|
||||
m_LastClickedInstanceID: 0
|
||||
m_HadKeyboardFocusLastEvent: 1
|
||||
m_ExpandedInstanceIDs: c6230000
|
||||
m_RenameOverlay:
|
||||
m_UserAcceptedRename: 0
|
||||
m_Name:
|
||||
m_OriginalName:
|
||||
m_EditFieldRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 0
|
||||
height: 0
|
||||
m_UserData: 0
|
||||
m_IsWaitingForDelay: 0
|
||||
m_IsRenaming: 0
|
||||
m_OriginalEventType: 11
|
||||
m_IsRenamingFilename: 1
|
||||
m_ClientGUIView: {fileID: 0}
|
||||
m_CreateAssetUtility:
|
||||
m_EndAction: {fileID: 0}
|
||||
m_InstanceID: 0
|
||||
m_Path:
|
||||
m_Icon: {fileID: 0}
|
||||
m_ResourceFile:
|
||||
m_NewAssetIndexInList: -1
|
||||
m_ScrollPosition: {x: 0, y: 0}
|
||||
m_GridSize: 64
|
||||
m_SkipHiddenPackages: 0
|
||||
m_DirectoriesAreaWidth: 207
|
||||
--- !u!114 &14
|
||||
y: 353
|
||||
width: 968
|
||||
height: 269
|
||||
m_MinSize: {x: 231, y: 271}
|
||||
m_MaxSize: {x: 10001, y: 10021}
|
||||
m_ActualView: {fileID: 15}
|
||||
m_Panes:
|
||||
- {fileID: 15}
|
||||
- {fileID: 16}
|
||||
m_Selected: 0
|
||||
m_LastSelected: 1
|
||||
--- !u!114 &11
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
@@ -451,39 +259,118 @@ MonoBehaviour:
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12019, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children: []
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 968
|
||||
y: 0
|
||||
width: 398
|
||||
height: 622
|
||||
m_MinSize: {x: 275, y: 50}
|
||||
m_MaxSize: {x: 4000, y: 4000}
|
||||
m_ActualView: {fileID: 17}
|
||||
m_Panes:
|
||||
- {fileID: 17}
|
||||
m_Selected: 0
|
||||
m_LastSelected: 0
|
||||
--- !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: 12015, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_MinSize: {x: 100, y: 100}
|
||||
m_MaxSize: {x: 4000, y: 4000}
|
||||
m_TitleContent:
|
||||
m_Text: Inspector
|
||||
m_Image: {fileID: -2667387946076563598, guid: 0000000000000000d000000000000000, type: 0}
|
||||
m_Text: Game
|
||||
m_Image: {fileID: -6423792434712278376, guid: 0000000000000000d000000000000000, type: 0}
|
||||
m_Tooltip:
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 1449
|
||||
y: 73
|
||||
width: 470
|
||||
height: 926
|
||||
x: 233
|
||||
y: 86
|
||||
width: 733
|
||||
height: 332
|
||||
m_ViewDataDictionary: {fileID: 0}
|
||||
m_OverlayCanvas:
|
||||
m_LastAppliedPresetName: Default
|
||||
m_SaveData: []
|
||||
m_ObjectsLockedBeforeSerialization: []
|
||||
m_InstanceIDsLockedBeforeSerialization:
|
||||
m_PreviewResizer:
|
||||
m_CachedPref: 160
|
||||
m_ControlHash: -371814159
|
||||
m_PrefName: Preview_InspectorPreview
|
||||
m_LastInspectedObjectInstanceID: -1
|
||||
m_LastVerticalScrollValue: 0
|
||||
m_GlobalObjectId:
|
||||
m_InspectorMode: 0
|
||||
m_LockTracker:
|
||||
m_IsLocked: 0
|
||||
m_PreviewWindow: {fileID: 0}
|
||||
--- !u!114 &15
|
||||
m_SerializedViewNames:
|
||||
- UnityEditor.DeviceSimulation.SimulatorWindow
|
||||
m_SerializedViewValues:
|
||||
- /home/tom/Documents/dev/zarodolgozat/ColorRunner/Library/PlayModeViewStates/e01c0e1826eb40c8a8e6cbe9d91a9161
|
||||
m_PlayModeViewName: GameView
|
||||
m_ShowGizmos: 0
|
||||
m_TargetDisplay: 0
|
||||
m_ClearColor: {r: 0, g: 0, b: 0, a: 0}
|
||||
m_TargetSize: {x: 733, y: 311}
|
||||
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: 00000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
m_ZoomArea:
|
||||
m_HRangeLocked: 0
|
||||
m_VRangeLocked: 0
|
||||
hZoomLockedByDefault: 0
|
||||
vZoomLockedByDefault: 0
|
||||
m_HBaseRangeMin: -366.5
|
||||
m_HBaseRangeMax: 366.5
|
||||
m_VBaseRangeMin: -155.5
|
||||
m_VBaseRangeMax: 155.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: 733
|
||||
height: 311
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Translation: {x: 366.5, y: 155.5}
|
||||
m_MarginLeft: 0
|
||||
m_MarginRight: 0
|
||||
m_MarginTop: 0
|
||||
m_MarginBottom: 0
|
||||
m_LastShownAreaInsideMargins:
|
||||
serializedVersion: 2
|
||||
x: -366.5
|
||||
y: -155.5
|
||||
width: 733
|
||||
height: 311
|
||||
m_MinimalGUI: 1
|
||||
m_defaultScale: 1
|
||||
m_LastWindowPixelSize: {x: 733, y: 332}
|
||||
m_ClearInEditMode: 1
|
||||
m_NoCameraWarning: 1
|
||||
m_LowResolutionForAspectRatios: 01000000000000000000
|
||||
m_XRRenderMode: 0
|
||||
m_RenderTexture: {fileID: 0}
|
||||
--- !u!114 &13
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
@@ -504,9 +391,9 @@ MonoBehaviour:
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 73
|
||||
width: 269
|
||||
height: 539
|
||||
y: 86
|
||||
width: 232
|
||||
height: 332
|
||||
m_ViewDataDictionary: {fileID: 0}
|
||||
m_OverlayCanvas:
|
||||
m_LastAppliedPresetName: Default
|
||||
@@ -516,7 +403,7 @@ MonoBehaviour:
|
||||
scrollPos: {x: 0, y: 0}
|
||||
m_SelectedIDs:
|
||||
m_LastClickedID: 0
|
||||
m_ExpandedIDs: 24faffff18fbffff
|
||||
m_ExpandedIDs: 34fbffff
|
||||
m_RenameOverlay:
|
||||
m_UserAcceptedRename: 0
|
||||
m_Name:
|
||||
@@ -540,7 +427,7 @@ MonoBehaviour:
|
||||
m_IsLocked: 0
|
||||
m_CurrentSortingName: TransformSorting
|
||||
m_WindowGUID: 4c969a2b90040154d917609493e03593
|
||||
--- !u!114 &16
|
||||
--- !u!114 &14
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
@@ -560,10 +447,10 @@ MonoBehaviour:
|
||||
m_Tooltip:
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 270
|
||||
y: 73
|
||||
width: 601
|
||||
height: 539
|
||||
x: 234
|
||||
y: 86
|
||||
width: 732
|
||||
height: 332
|
||||
m_ViewDataDictionary: {fileID: 0}
|
||||
m_OverlayCanvas:
|
||||
m_LastAppliedPresetName: Default
|
||||
@@ -793,14 +680,14 @@ MonoBehaviour:
|
||||
m_OverrideSceneCullingMask: 6917529027641081856
|
||||
m_SceneIsLit: 1
|
||||
m_SceneLighting: 1
|
||||
m_2DMode: 0
|
||||
m_2DMode: 1
|
||||
m_isRotationLocked: 0
|
||||
m_PlayAudio: 0
|
||||
m_AudioPlay: 0
|
||||
m_Position:
|
||||
m_Target: {x: -4.802098, y: 3.3336782, z: 32.88261}
|
||||
m_Target: {x: 369.16226, y: 152.6716, z: 1.3187772}
|
||||
speed: 2
|
||||
m_Value: {x: -4.802098, y: 3.3336782, z: 32.88261}
|
||||
m_Value: {x: 369.16226, y: 152.6716, z: 1.3187772}
|
||||
m_RenderMode: 0
|
||||
m_CameraMode:
|
||||
drawMode: 0
|
||||
@@ -828,6 +715,14 @@ MonoBehaviour:
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Size: {x: 0, y: 0}
|
||||
yGrid:
|
||||
m_Fade:
|
||||
m_Target: 0
|
||||
speed: 2
|
||||
m_Value: 0
|
||||
m_Color: {r: 0.5, g: 0.5, b: 0.5, a: 0.4}
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Size: {x: 1, y: 1}
|
||||
zGrid:
|
||||
m_Fade:
|
||||
m_Target: 1
|
||||
speed: 2
|
||||
@@ -835,29 +730,21 @@ MonoBehaviour:
|
||||
m_Color: {r: 0.5, g: 0.5, b: 0.5, a: 0.4}
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Size: {x: 1, y: 1}
|
||||
zGrid:
|
||||
m_Fade:
|
||||
m_Target: 0
|
||||
speed: 2
|
||||
m_Value: 0
|
||||
m_Color: {r: 0.5, g: 0.5, b: 0.5, a: 0.4}
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Size: {x: 0, y: 0}
|
||||
m_ShowGrid: 1
|
||||
m_GridAxis: 1
|
||||
m_gridOpacity: 0.5
|
||||
m_Rotation:
|
||||
m_Target: {x: -0.095726386, y: 0.09451524, z: -0.009131043, w: -0.9908675}
|
||||
m_Target: {x: 0, y: 0, z: 0, w: 1}
|
||||
speed: 2
|
||||
m_Value: {x: -0.09572646, y: 0.094515316, z: -0.009131051, w: -0.9908683}
|
||||
m_Value: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_Size:
|
||||
m_Target: 15.278611
|
||||
m_Target: 292.94366
|
||||
speed: 2
|
||||
m_Value: 15.278611
|
||||
m_Value: 292.94366
|
||||
m_Ortho:
|
||||
m_Target: 0
|
||||
m_Target: 1
|
||||
speed: 2
|
||||
m_Value: 0
|
||||
m_Value: 1
|
||||
m_CameraSettings:
|
||||
m_Speed: 1.0005
|
||||
m_SpeedNormalized: 0.5
|
||||
@@ -871,14 +758,154 @@ MonoBehaviour:
|
||||
m_FarClip: 10000
|
||||
m_DynamicClip: 1
|
||||
m_OcclusionCulling: 0
|
||||
m_LastSceneViewRotation: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_LastSceneViewRotation: {x: -0.08717229, y: 0.89959055, z: -0.21045254, w: -0.3726226}
|
||||
m_LastSceneViewOrtho: 0
|
||||
m_ReplacementShader: {fileID: 0}
|
||||
m_ReplacementString:
|
||||
m_SceneVisActive: 1
|
||||
m_LastLockedObject: {fileID: 0}
|
||||
m_ViewIsLockedToObject: 0
|
||||
--- !u!114 &17
|
||||
--- !u!114 &15
|
||||
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: 1
|
||||
m_Script: {fileID: 12014, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_MinSize: {x: 230, y: 250}
|
||||
m_MaxSize: {x: 10000, y: 10000}
|
||||
m_TitleContent:
|
||||
m_Text: Project
|
||||
m_Image: {fileID: -5467254957812901981, guid: 0000000000000000d000000000000000, type: 0}
|
||||
m_Tooltip:
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 439
|
||||
width: 967
|
||||
height: 248
|
||||
m_ViewDataDictionary: {fileID: 0}
|
||||
m_OverlayCanvas:
|
||||
m_LastAppliedPresetName: Default
|
||||
m_SaveData: []
|
||||
m_SearchFilter:
|
||||
m_NameFilter:
|
||||
m_ClassNames: []
|
||||
m_AssetLabels: []
|
||||
m_AssetBundleNames: []
|
||||
m_VersionControlStates: []
|
||||
m_SoftLockControlStates: []
|
||||
m_ReferencingInstanceIDs:
|
||||
m_SceneHandles:
|
||||
m_ShowAllHits: 0
|
||||
m_SkipHidden: 0
|
||||
m_SearchArea: 1
|
||||
m_Folders:
|
||||
- Assets/Scripts/HighScoreTable
|
||||
m_Globs: []
|
||||
m_OriginalText:
|
||||
m_ViewMode: 1
|
||||
m_StartGridSize: 64
|
||||
m_LastFolders:
|
||||
- Assets/Scripts/HighScoreTable
|
||||
m_LastFoldersGridSize: -1
|
||||
m_LastProjectPath: /home/tom/Documents/dev/zarodolgozat/ColorRunner
|
||||
m_LockTracker:
|
||||
m_IsLocked: 0
|
||||
m_FolderTreeState:
|
||||
scrollPos: {x: 0, y: 0}
|
||||
m_SelectedIDs: 1e5e0000
|
||||
m_LastClickedID: 24094
|
||||
m_ExpandedIDs: 000000000c5e00001a5e000000ca9a3b
|
||||
m_RenameOverlay:
|
||||
m_UserAcceptedRename: 0
|
||||
m_Name:
|
||||
m_OriginalName:
|
||||
m_EditFieldRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 0
|
||||
height: 0
|
||||
m_UserData: 0
|
||||
m_IsWaitingForDelay: 0
|
||||
m_IsRenaming: 0
|
||||
m_OriginalEventType: 11
|
||||
m_IsRenamingFilename: 1
|
||||
m_ClientGUIView: {fileID: 0}
|
||||
m_SearchString:
|
||||
m_CreateAssetUtility:
|
||||
m_EndAction: {fileID: 0}
|
||||
m_InstanceID: 0
|
||||
m_Path:
|
||||
m_Icon: {fileID: 0}
|
||||
m_ResourceFile:
|
||||
m_AssetTreeState:
|
||||
scrollPos: {x: 0, y: 0}
|
||||
m_SelectedIDs:
|
||||
m_LastClickedID: 0
|
||||
m_ExpandedIDs: 000000000c5e0000
|
||||
m_RenameOverlay:
|
||||
m_UserAcceptedRename: 0
|
||||
m_Name:
|
||||
m_OriginalName:
|
||||
m_EditFieldRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 0
|
||||
height: 0
|
||||
m_UserData: 0
|
||||
m_IsWaitingForDelay: 0
|
||||
m_IsRenaming: 0
|
||||
m_OriginalEventType: 11
|
||||
m_IsRenamingFilename: 1
|
||||
m_ClientGUIView: {fileID: 0}
|
||||
m_SearchString:
|
||||
m_CreateAssetUtility:
|
||||
m_EndAction: {fileID: 0}
|
||||
m_InstanceID: 0
|
||||
m_Path:
|
||||
m_Icon: {fileID: 0}
|
||||
m_ResourceFile:
|
||||
m_ListAreaState:
|
||||
m_SelectedInstanceIDs:
|
||||
m_LastClickedInstanceID: 0
|
||||
m_HadKeyboardFocusLastEvent: 1
|
||||
m_ExpandedInstanceIDs: c6230000
|
||||
m_RenameOverlay:
|
||||
m_UserAcceptedRename: 0
|
||||
m_Name:
|
||||
m_OriginalName:
|
||||
m_EditFieldRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 0
|
||||
height: 0
|
||||
m_UserData: 0
|
||||
m_IsWaitingForDelay: 0
|
||||
m_IsRenaming: 0
|
||||
m_OriginalEventType: 11
|
||||
m_IsRenamingFilename: 1
|
||||
m_ClientGUIView: {fileID: 0}
|
||||
m_CreateAssetUtility:
|
||||
m_EndAction: {fileID: 0}
|
||||
m_InstanceID: 0
|
||||
m_Path:
|
||||
m_Icon: {fileID: 0}
|
||||
m_ResourceFile:
|
||||
m_NewAssetIndexInList: -1
|
||||
m_ScrollPosition: {x: 0, y: 0}
|
||||
m_GridSize: 64
|
||||
m_SkipHiddenPackages: 0
|
||||
m_DirectoriesAreaWidth: 207
|
||||
--- !u!114 &16
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
@@ -899,14 +926,14 @@ MonoBehaviour:
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 633
|
||||
width: 1448
|
||||
height: 366
|
||||
y: 439
|
||||
width: 967
|
||||
height: 248
|
||||
m_ViewDataDictionary: {fileID: 0}
|
||||
m_OverlayCanvas:
|
||||
m_LastAppliedPresetName: Default
|
||||
m_SaveData: []
|
||||
--- !u!114 &18
|
||||
--- !u!114 &17
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
@@ -914,54 +941,36 @@ MonoBehaviour:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 13974, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12019, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_MinSize: {x: 200, y: 200}
|
||||
m_MinSize: {x: 275, y: 50}
|
||||
m_MaxSize: {x: 4000, y: 4000}
|
||||
m_TitleContent:
|
||||
m_Text: Simulator
|
||||
m_Image: {fileID: 8720083202187608617, guid: 0000000000000000d000000000000000, type: 0}
|
||||
m_Text: Inspector
|
||||
m_Image: {fileID: -2667387946076563598, guid: 0000000000000000d000000000000000, type: 0}
|
||||
m_Tooltip:
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 873
|
||||
y: 73
|
||||
width: 574
|
||||
height: 539
|
||||
x: 968
|
||||
y: 86
|
||||
width: 397
|
||||
height: 601
|
||||
m_ViewDataDictionary: {fileID: 0}
|
||||
m_OverlayCanvas:
|
||||
m_LastAppliedPresetName: Default
|
||||
m_SaveData: []
|
||||
m_SerializedViewNames:
|
||||
- UnityEditor.GameView
|
||||
m_SerializedViewValues:
|
||||
- /home/tom/Documents/dev/zarodolgozat/ColorRunner/Library/PlayModeViewStates/ee028417846cb62ad8ae9a3a627eb326
|
||||
m_PlayModeViewName: Device Simulator
|
||||
m_ShowGizmos: 0
|
||||
m_TargetDisplay: 0
|
||||
m_ClearColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_TargetSize: {x: 1170, y: 2532}
|
||||
m_TextureFilterMode: 0
|
||||
m_TextureHideFlags: 61
|
||||
m_RenderIMGUI: 1
|
||||
m_EnterPlayModeBehavior: 0
|
||||
m_UseMipMap: 0
|
||||
m_SimulatorState:
|
||||
controlPanelVisible: 0
|
||||
controlPanelWidth: 0
|
||||
controlPanelFoldoutKeys:
|
||||
- UnityEditor.DeviceSimulation.ApplicationSettingsPlugin
|
||||
controlPanelFoldoutValues: 01
|
||||
pluginNames:
|
||||
- UnityEditor.DeviceSimulation.ApplicationSettingsPlugin
|
||||
pluginStates:
|
||||
- '{}'
|
||||
scale: 19
|
||||
fitToScreenEnabled: 1
|
||||
rotationDegree: 0
|
||||
highlightSafeAreaEnabled: 0
|
||||
friendlyName: Apple iPhone 13 Pro
|
||||
networkReachability: 1
|
||||
systemLanguage: 10
|
||||
m_ObjectsLockedBeforeSerialization: []
|
||||
m_InstanceIDsLockedBeforeSerialization:
|
||||
m_PreviewResizer:
|
||||
m_CachedPref: 160
|
||||
m_ControlHash: -371814159
|
||||
m_PrefName: Preview_InspectorPreview
|
||||
m_LastInspectedObjectInstanceID: -1
|
||||
m_LastVerticalScrollValue: 0
|
||||
m_GlobalObjectId:
|
||||
m_InspectorMode: 0
|
||||
m_LockTracker:
|
||||
m_IsLocked: 0
|
||||
m_PreviewWindow: {fileID: 0}
|
||||
|
||||
Reference in New Issue
Block a user