This commit is contained in:
2023-09-27 23:15:38 +02:00
parent 1ffd2ab270
commit abed81bb35
6 changed files with 21 additions and 41 deletions

View File

@@ -5,7 +5,7 @@ using TMPro;
public class Akciopont : MonoBehaviour
{
public TMP_Text text;
[SerializeField] private TMP_Text _text;
private int akciopont = 0;
public int getAkciopont(){ return akciopont; }
@@ -15,7 +15,7 @@ public class Akciopont : MonoBehaviour
}
private void setText(){
text.text = "Akciopontok: " + akciopont;
_text.text = "Akciopontok: " + akciopont;
}
public void UpdateAkciopont(int number) {

View File

@@ -4,6 +4,7 @@ using UnityEngine;
public class CameraMovement : MonoBehaviour
{
//not in use currently
public Camera mainCamera;
public Vector3 offset;

View File

@@ -4,6 +4,8 @@ using UnityEngine;
public class ControllerHandler : MonoBehaviour
{
//if controller movement is detected hide the cursor and and spawn a ui object to act as a cursor for controller
[SerializeField] private bool connected = false;
public string[] controllers;

View File

@@ -4,8 +4,12 @@ using UnityEngine;
public class FrameRateSetter : MonoBehaviour
{
//mobil miatt volt (30fps) van ertelme? nincs sok mozgas es animacio \\ ha lesz animacio vissza rakhato
private void Awake() {
#if !UNITY_ANDROID || !UNITY_IOS
Application.targetFrameRate = 60;
#else
Application.targetFrameRate = 30;
#endif
}
}

File diff suppressed because one or more lines are too long

View File

@@ -134,7 +134,7 @@ PlayerSettings:
16:10: 1
16:9: 1
Others: 1
bundleVersion: 0.9.2.1
bundleVersion: 0.9.2.2
preloadedAssets: []
metroInputSource: 0
wsaTransparentSwapchain: 0