SynicSugarManger
Namespace: SynicSugar
Description
Modify the backend server and check the status of users.
Event
| API | description |
| CleanupForEditor | For dev. Invoke this event OnDestory in the editor. |
Property
Function
| API | description |
| GetFactoryName | Get core name |
| SetCoreFactory | NOT DONE. Change backend and transport |
using UnityEngine;
using SynicSugar;
public class FPSManager : MonoBehaviour {
private void Start()
{
if(!SynicSugarManger.Instance.State.IsLoggedIn){
Application.targetFrameRate = 60;
}
}
}