float spf = 0.033f;//30fps public void Start() { NativeInterface.Init(); ShaderMgr.Init(); ui_sty.normal.textColor = Color.red; ui_sty.fontSize = 20; }
public static void Init(MonoBehaviour en) { _entrance = en; Application.targetFrameRate = 60; #if Native NativeInterface.Init(); #endif XTimerMgr.singleton.Init(); XConfig.Initial(LogLevel.Log, LogLevel.Error); XGlobalConfig.Initial(); XTableMgr.Initial(); ShaderMgr.Init(); XResources.Init(); UIManager.singleton.Initial(); Documents.singleton.Initial(); RegistCallbackLog(); }