Ejemplo n.º 1
0
        void Awake()
        {
#if UNITY_EDITOR
            lastAutoReloadPollTime = AutoReloadPollTime;
#endif
            DontDestroyOnLoad(gameObject);
            Bindings.Open(MemorySize);
        }
Ejemplo n.º 2
0
        void Start()
        {
#if UNITY_EDITOR
            lastAutoReloadPollTime = AutoReloadPollTime;
#endif
            DontDestroyOnLoad(gameObject);
            Bindings.Open(MemorySize);
#if UNITY_EDITOR
            onPlayModeStateChange = OnEditorStateChanged;
            EditorApplication.playModeStateChanged += onPlayModeStateChange;
#endif
        }
Ejemplo n.º 3
0
        void Awake()
        {
            Debug.Log("BootScript - Awake");

            Screen.SetResolution(1200, 1800, false);
            Application.targetFrameRate = 60;

#if UNITY_EDITOR
            lastAutoReloadPollTime = AutoReloadPollTime;
#endif
            DontDestroyOnLoad(gameObject);
            Bindings.Open(MemorySize);
        }
Ejemplo n.º 4
0
        void Start()
        {
#if UNITY_EDITOR
            lastAutoReloadPollTime = AutoReloadPollTime;
#endif
            DontDestroyOnLoad(gameObject);
            Bindings.Open(MemorySize);
#if UNITY_EDITOR
            onPlayModeStateChange = OnEditorStateChanged;
            EditorApplication.playModeStateChanged += onPlayModeStateChange;
#endif

            var nativeScriptHandle = FindObjectOfType <Native.AbstractBaseNativeScript>();
            gameSettings.SetupNativeScriptStates(nativeScriptHandle);
        }
Ejemplo n.º 5
0
 void Awake()
 {
     DontDestroyOnLoad(gameObject);
     Bindings.Open();
 }
Ejemplo n.º 6
0
 void Awake()
 {
     DontDestroyOnLoad(gameObject);
     Bindings.Open(MaxManagedObjects);
 }