示例#1
0
 private void RepairedEventHandler(object sender, EventArgs args)
 {
     if (IsRepaired())
     {
         RepairedEvent?.Invoke(this, EventArgs.Empty);
     }
 }
示例#2
0
        public void Repair()
        {
            Debug.Log("Point repair successful!");

            _repairState = RepairState.Repaired;

            StopDamageEffects();

            //_repairEffectTrigger.Trigger();

            RepairedEvent?.Invoke(this, EventArgs.Empty);

            gameObject.SetActive(false);
        }