示例#1
0
 private void DestroyableOnRepaired(Destroyable destroyable)
 {
     cooldownBarCanvasGroup.alpha = 1f;
 }
示例#2
0
 public void Destroy(Destroyable destroyable)
 {
     destroyable.Destroy();
     onDestroyedDestroyable.Invoke();
     DestroyedDestroyable?.Invoke(destroyable);
 }
示例#3
0
 private void Awake()
 {
     _destroyable = GetComponent <Destroyable>();
     cooldownBarCanvasGroup.alpha = 0f;
 }