Beispiel #1
0
 private void Update()
 {
     if (_updateFunc != null)
     {
         _updateFunc.Invoke();
     }
 }
Beispiel #2
0
        protected override void DoUpdate()
        {
            UpdateFunc?.Invoke(this);

            foreach (var cell in GetCells())
            {
                cell.Update();
            }
        }
Beispiel #3
0
 private void Update()
 {
     cd = Mathf.Clamp(cd - Time.deltaTime, 0.0f, abilityCD);
     if (updateFunc != null)
     {
         if (!CheckTarget())
         {
             Interrupt();
         }
         updateFunc?.Invoke();
     }
 }
Beispiel #4
0
 private void Update()
 {
     UpdateFunc?.Invoke();
 }