Пример #1
0
 protected virtual void FixedUpdate()
 {
     if (fixedUpdate)
     {
         fixedUpdate.Call(Time.fixedDeltaTime);
     }
 }
Пример #2
0
 protected virtual void LateUpdate()
 {
     if (lateUpdate)
     {
         lateUpdate.Call();
     }
 }
Пример #3
0
 protected virtual void Update()
 {
     if (update)
     {
         update.Call(Time.deltaTime, Time.unscaledDeltaTime);
     }
 }
Пример #4
0
 void Update()
 {
     if (updateFn)
     {
         updateFn.Call(scriptInstance);
     }
 }
Пример #5
0
 protected virtual void OnDisable()
 {
     if (onDisableFn)
     {
         onDisableFn.Call(scriptInstance);
     }
 }
Пример #6
0
 public void OpenPanel(string filePath, LuaRef fn, LuaRef inst)
 {
     OpenPanel(filePath, (go) =>
     {
         fn.Call(inst, go);
     });
 }
Пример #7
0
 public static void AddListener(LuaRef action)
 {
     tableTree.recharge(() => action.Call());
 }