コード例 #1
0
 public ValueWidget(GameObject obj)
     : base(obj)
 {
     Value      = new GOLabel(obj.GetChild(0));
     Slash      = new GOLabel(obj.GetChild(1));
     MaxValue   = new GOLabel(obj.GetChild(2));
     Background = new GOThinBackground(obj.GetChild(3));
 }
コード例 #2
0
 public IconsWidget(GameObject obj)
     : base(obj)
 {
     Icons      = new GOTable <GOSprite>(obj.GetChild(0));
     Background = new GOThinBackground(obj.GetChild(1));
 }