GUIBarFill control for TorqueX
by Lateral Punk · 04/04/2007 (3:47 pm) · 0 comments
Download Code File
Please just place GUIBarFill.cs somewhere in your source tree and compile. To use it do this:
You have control over various public options for GUIBarFill. But the one you will be most interested in is setting it's value:
This resources comes from the project that Shiraz and I are working on.
Please just place GUIBarFill.cs somewhere in your source tree and compile. To use it do this:
GUIStyle style = new GUIStyle();
GUIBarFill barfill = new GUIBarFill();
barfill.Style = style;
barfill.Visible = true;
barfill.Folder = sceneview;Make sure to put it in the right .Folder (your GUISceneView) and to correctly position & size it.You have control over various public options for GUIBarFill. But the one you will be most interested in is setting it's value:
//complete filled barfill.Value = 1.0; //half filled barfill.Value = 0.5; //nothing barfill.Value = 0.0;
This resources comes from the project that Shiraz and I are working on.
About the author