Ejemplo n.º 1
0
 void OnGUI()
 {
     GUI.DrawTexture(new Rect(Screen.width / 10, Screen.height - Screen.height / 5, basicWeap.nextShotPercent, 10), fireRateTex);
     GUI.DrawTexture(new Rect(Screen.width / 10, Screen.height - Screen.height / 8, healthScript.GetHealthPercentage(), 20), fireRateTex);
 }