Skip to content

Instantly share code, notes, and snippets.

@kingcoyote
Created August 22, 2013 17:24
Show Gist options
  • Save kingcoyote/6310224 to your computer and use it in GitHub Desktop.
Save kingcoyote/6310224 to your computer and use it in GitHub Desktop.
_cannonButton = new ImageButtonControl();
_cannonButton.Bounds = new UniRectangle(
new UniScalar(0.0F, 15),
new UniScalar(0.0F, 15),
new UniScalar(0.0F, 50),
new UniScalar(0.0F, 50)
);
_cannonButton.ImageFrame = "hotbar.cannon";
Children.Add(_cannonButton);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment