update
This commit is contained in:
@@ -5,7 +5,7 @@ using TMPro;
|
|||||||
|
|
||||||
public class Akciopont : MonoBehaviour
|
public class Akciopont : MonoBehaviour
|
||||||
{
|
{
|
||||||
public TMP_Text text;
|
[SerializeField] private TMP_Text _text;
|
||||||
private int akciopont = 0;
|
private int akciopont = 0;
|
||||||
|
|
||||||
public int getAkciopont(){ return akciopont; }
|
public int getAkciopont(){ return akciopont; }
|
||||||
@@ -15,7 +15,7 @@ public class Akciopont : MonoBehaviour
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void setText(){
|
private void setText(){
|
||||||
text.text = "Akciopontok: " + akciopont;
|
_text.text = "Akciopontok: " + akciopont;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void UpdateAkciopont(int number) {
|
public void UpdateAkciopont(int number) {
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ using UnityEngine;
|
|||||||
|
|
||||||
public class CameraMovement : MonoBehaviour
|
public class CameraMovement : MonoBehaviour
|
||||||
{
|
{
|
||||||
|
//not in use currently
|
||||||
public Camera mainCamera;
|
public Camera mainCamera;
|
||||||
public Vector3 offset;
|
public Vector3 offset;
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,9 @@ using UnityEngine;
|
|||||||
|
|
||||||
public class ControllerHandler : MonoBehaviour
|
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;
|
public string[] controllers;
|
||||||
|
|
||||||
private IEnumerator detectControllers(){
|
private IEnumerator detectControllers(){
|
||||||
|
|||||||
@@ -4,8 +4,12 @@ using UnityEngine;
|
|||||||
|
|
||||||
public class FrameRateSetter : MonoBehaviour
|
public class FrameRateSetter : MonoBehaviour
|
||||||
{
|
{
|
||||||
//mobil miatt volt (30fps) van ertelme? nincs sok mozgas es animacio \\ ha lesz animacio vissza rakhato
|
|
||||||
private void Awake() {
|
private void Awake() {
|
||||||
|
#if !UNITY_ANDROID || !UNITY_IOS
|
||||||
Application.targetFrameRate = 60;
|
Application.targetFrameRate = 60;
|
||||||
|
#else
|
||||||
|
Application.targetFrameRate = 30;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
File diff suppressed because one or more lines are too long
@@ -134,7 +134,7 @@ PlayerSettings:
|
|||||||
16:10: 1
|
16:10: 1
|
||||||
16:9: 1
|
16:9: 1
|
||||||
Others: 1
|
Others: 1
|
||||||
bundleVersion: 0.9.2.1
|
bundleVersion: 0.9.2.2
|
||||||
preloadedAssets: []
|
preloadedAssets: []
|
||||||
metroInputSource: 0
|
metroInputSource: 0
|
||||||
wsaTransparentSwapchain: 0
|
wsaTransparentSwapchain: 0
|
||||||
|
|||||||
Reference in New Issue
Block a user