Пример #1
0
 /**
  * <summary>Updates the element's texture, provided that its graphicType = AC_GraphicType.Normal</summary>
  * <param name = "newTexture">The new texture to assign the element</param>
  */
 public void SetNormalGraphicTexture(Texture newTexture)
 {
     if (graphicType == AC_GraphicType.Normal)
     {
         graphic.texture = newTexture;
         graphic.ClearCache();
     }
 }