static void InitScript() { Script.DefaultOptions.ScriptLoader = new LUAScriptLoader() { ModulePaths = YandereNextManager.ModulePaths, IgnoreLuaPathGlobal = true }; ScriptInstance = new Script(); LUAScriptLinking.StartLinking(); _loaded = true; }
void OnSceneUnloaded(Scene scene) { LUAScriptLinking.CallFunction("OnSceneUnloaded", scene.name); }
void OnSceneLoaded(Scene scene, LoadSceneMode mode) { LUAScriptLinking.CallFunction("OnSceneLoaded", scene.name, mode); }
void Update() { LUAScriptLinking.CallFunction("Update"); }
void Start() { LUAScriptLinking.CallFunction("Start"); }
void Awake() { LUAScriptLinking.CallFunction("Awake"); }