скрипт на яве
- Код: Выделить всё
var healthGUI : GUITexture;
function Start() {
healthGUI.pixelInset.xMax = healthGUI.pixelInset.xMin + 10;
}
скрипт на С#
- Код: Выделить всё
public GUITexture healthGUI;
void start()
{
healthGUI.pixelInset.xMax = healthGUI.pixelInset.xMin + 10;
}