コード例 #1
0
 // Token: 0x06000003 RID: 3 RVA: 0x0000205E File Offset: 0x0000025E
 public static GameObject Add(PluginBase plugin, byte[] pngData, Action <GameObject> action)
 {
     return(Buttons.Add(null, plugin, pngData, action));
 }
コード例 #2
0
 // Token: 0x06000005 RID: 5 RVA: 0x000020EA File Offset: 0x000002EA
 public static GameObject Add(string label, byte[] pngData, Action <GameObject> action)
 {
     return(Buttons.Add(null, label, pngData, action));
 }
コード例 #3
0
 // Token: 0x0600000F RID: 15 RVA: 0x00002394 File Offset: 0x00000594
 public static void SetText(string name, string label)
 {
     Buttons.SetText(Buttons.Find(name), label);
 }
コード例 #4
0
 // Token: 0x06000012 RID: 18 RVA: 0x00002457 File Offset: 0x00000657
 private static void Reposition()
 {
     Buttons.SetAndCallOnReposition(Buttons.GridUI);
     Buttons.GridUI.repositionNow = true;
 }
コード例 #5
0
 // Token: 0x0600000D RID: 13 RVA: 0x0000237A File Offset: 0x0000057A
 public static void ResetFrameColor(string name)
 {
     Buttons.ResetFrameColor(Buttons.Find(name));
 }
コード例 #6
0
 // Token: 0x0600000E RID: 14 RVA: 0x00002387 File Offset: 0x00000587
 public static void ResetFrameColor(GameObject go)
 {
     Buttons.SetFrameColor(go, Buttons.DefaultFrameColor);
 }
コード例 #7
0
 // Token: 0x0600000B RID: 11 RVA: 0x000022D9 File Offset: 0x000004D9
 public static void SetFrameColor(string name, Color color)
 {
     Buttons.SetFrameColor(Buttons.Find(name), color);
 }
コード例 #8
0
 // Token: 0x0600000A RID: 10 RVA: 0x000022CC File Offset: 0x000004CC
 public static bool Contains(GameObject go)
 {
     return(Buttons.Contains(go.name));
 }
コード例 #9
0
 // Token: 0x06000009 RID: 9 RVA: 0x000022BE File Offset: 0x000004BE
 public static bool Contains(string name)
 {
     return(Buttons.Find(name) != null);
 }
コード例 #10
0
 // Token: 0x06000008 RID: 8 RVA: 0x000022B1 File Offset: 0x000004B1
 public static void Remove(GameObject go)
 {
     NGUITools.Destroy(go);
     Buttons.Reposition();
 }
コード例 #11
0
 // Token: 0x06000007 RID: 7 RVA: 0x000022A4 File Offset: 0x000004A4
 public static void Remove(string name)
 {
     Buttons.Remove(Buttons.Find(name));
 }