KomastarDev

Untitled

May 29th, 2020
674
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.14 KB | None | 0 0
  1. public bool IsAlive { get => gameObject.activeSelf && Hp > 0; }
  2. public bool IsAlive
  3. {
  4.     get
  5.     {
  6.         return gameObject.activeSelf && Hp > 0;
  7.     }
  8. }
Add Comment
Please, Sign In to add comment