예제 #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());
 }