Advertisement
Munchy2007

Part6b_3

Mar 12th, 2018
8,037
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.26 KB | None | 0 0
  1.         void DisplayHealth()
  2.         {
  3.             healthBar.SetHealthBarValue(GetNormalisedHealthPercent(hitPoints));
  4.             if (photonView.isMine)
  5.             {
  6.                 GameUI.SetHealth(GetNormalisedHealthPercent(hitPoints));
  7.             }
  8.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement