add target framerate of 90fps, move Graphy module to top left

This commit is contained in:
Xevion
2020-05-23 03:24:02 -05:00
parent 8343af22a8
commit 4c43a5287f
2 changed files with 7 additions and 3 deletions
+4
View File
@@ -3365,6 +3365,10 @@ PrefabInstance:
propertyPath: m_backgroundColor.a propertyPath: m_backgroundColor.a
value: 0.6156863 value: 0.6156863
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 11496292, guid: 0abab5bb77339e4428787a870eb31bd3, type: 3}
propertyPath: m_graphModulePosition
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22415034, guid: 0abab5bb77339e4428787a870eb31bd3, type: 3} - target: {fileID: 22415034, guid: 0abab5bb77339e4428787a870eb31bd3, type: 3}
propertyPath: m_AnchoredPosition.x propertyPath: m_AnchoredPosition.x
value: -163.56982 value: -163.56982
+3 -3
View File
@@ -1,7 +1,4 @@
using System; using System;
using System.Net;
using JetBrains.Annotations;
using UnityEditorInternal;
using UnityEngine; using UnityEngine;
using UnityEngine.UI; using UnityEngine.UI;
@@ -78,6 +75,9 @@ public class UIController : MonoBehaviour {
} }
private void Start() { private void Start() {
// Set Target Application Framerate
Application.targetFrameRate = 90;
// Basic variable setup // Basic variable setup
_currentUI = UIStance.Title; _currentUI = UIStance.Title;
_scaler = canvas.GetComponent<CanvasScaler>(); _scaler = canvas.GetComponent<CanvasScaler>();