protected virtual void FixedUpdate() { if (fixedUpdate) { fixedUpdate.Call(Time.fixedDeltaTime); } }
protected virtual void LateUpdate() { if (lateUpdate) { lateUpdate.Call(); } }
protected virtual void Update() { if (update) { update.Call(Time.deltaTime, Time.unscaledDeltaTime); } }
void Update() { if (updateFn) { updateFn.Call(scriptInstance); } }
protected virtual void OnDisable() { if (onDisableFn) { onDisableFn.Call(scriptInstance); } }
public void OpenPanel(string filePath, LuaRef fn, LuaRef inst) { OpenPanel(filePath, (go) => { fn.Call(inst, go); }); }
public static void AddListener(LuaRef action) { tableTree.recharge(() => action.Call()); }