Game Development Reference
In-Depth Information
GUI.Button(new Rect(325, 300, 135, 20),
Xbox_Aim);
GUI.EndGroup();
}
The preceding code is fairly self-explanatory; we use GUI labels to show what ac-
tions the player can do, then use the GUI buttons to show what inputs the actions
are mapped to. Later, we'll use these buttons as a way to customize our controls.
Search WWH ::




Custom Search