Exemple #1
0
 public void RegisterGuiTextureBinding(GuiTextureBinding binding)
 {
     guiTextureBindings[binding.TextureBindingNr] = binding;
 }
Exemple #2
0
 private void SetTexture(GuiTextureBinding binding, char character)
 {
     var texture = globalTexture.TranslateToTexture(character);
     var guiObject = binding.GetComponent<GUITexture>();
     guiObject.texture = texture;
     Debug.Log("Updated texture for: " + binding.TextureBindingNr + " to: " + character);
 }