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,7 +4,9 @@ using UnityEngine;
public class ControllerHandler : MonoBehaviour
{
[SerializeField]private bool connected = false;
//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;
private IEnumerator detectControllers(){

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