Advertisement
centner_dc

UI_Slider_IHealthy

Sep 29th, 2020
867
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.28 KB | None | 0 0
  1. using UnityEngine.Events;
  2.  
  3. namespace Player
  4. {
  5.     public interface IHealthy
  6.     {
  7.         event UnityAction<float> HealthChanged;
  8.  
  9.         float Amount { get; }
  10.         float MaxAmount { get; }
  11.  
  12.         void Cure(float value);
  13.         void Damage(float value);
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement