update
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -4,6 +4,7 @@ using UnityEngine;
|
||||
|
||||
public class CameraMovement : MonoBehaviour
|
||||
{
|
||||
//not in use currently
|
||||
public Camera mainCamera;
|
||||
public Vector3 offset;
|
||||
|
||||
|
||||
@@ -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(){
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user