Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public bool IsAlive { get => gameObject.activeSelf && Hp > 0; }
- public bool IsAlive
- {
- get
- {
- return gameObject.activeSelf && Hp > 0;
- }
- }
- public bool IsAlive
- {
- get
- {
- if (gameObject.activeSelf)
- if (Hp > 0)
- return true;
- return false;
- }
- }
Add Comment
Please, Sign In to add comment