| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 | 
							- using UnityEngine;
 
- using UnityEngine.UI;
 
- namespace Fort23.Mono
 
- {
 
-     public class UIToggleImageSet : UIToggleWidgetBasic
 
-     {
 
-         public bool isNoSize;
 
-         public MyImage[] alterIamge;
 
-         public string[] showName;
 
-         public string[] hindName;
 
-         public Text[] alterText;
 
-         public Color[] showColors;
 
-         public Color[] hindColors;
 
-         public int[] showSize;
 
-         public int[] hindSize;
 
-         public override void Show()
 
-         {
 
-             for (int i = 0; i < alterIamge.Length; i++)
 
-             {
 
-                 alterIamge[i].icon_name = showName[i];
 
-                 alterIamge[i].enabled = true;
 
-                 if (!isNoSize)
 
-                 {
 
-                     alterIamge[i].SetNativeSize();
 
-                 }
 
-             }
 
-             for (int i = 0; i < alterText.Length; i++)
 
-             {
 
-                 alterText[i].color = showColors[i];
 
-                 if (showSize.Length > i)
 
-                 {
 
-                     alterText[i].fontSize = showSize[i];
 
-                 }
 
-             }
 
-         }
 
-         public override void Hind()
 
-         {
 
-             for (int i = 0; i < alterIamge.Length; i++)
 
-             {
 
-                 if (hindName.Length <= i)
 
-                 {
 
-                     alterIamge[i].enabled = false;
 
-                 }
 
-                 else
 
-                 {
 
-                     alterIamge[i].icon_name = hindName[i];
 
-                     if (!isNoSize)
 
-                     {
 
-                         alterIamge[i].SetNativeSize();
 
-                     }
 
-                 }
 
-             }
 
-             for (int i = 0; i < alterText.Length; i++)
 
-             {
 
-                 alterText[i].color = hindColors[i];
 
-                 if (showSize.Length > i)
 
-                 {
 
-                     alterText[i].fontSize = showSize[i];
 
-                 }
 
-             }
 
-         }
 
-     }
 
- }
 
 
  |