public override void ConstructFromXML(FairyGUI.Utils.XML xml) { base.ConstructFromXML(xml); _back = GetChild("n0"); _front = GetChild("icon"); _front.visible = false; }
public override void ConstructFromXML(FairyGUI.Utils.XML cxml) { base.ConstructFromXML(cxml); _timeText = this.GetChild("timeText").asTextField; _readController = this.GetController("IsRead"); _fetchController = this.GetController("c1"); _trans = this.GetTransition("t0"); }
public override void ConstructFromXML(FairyGUI.Utils.XML cxml) { base.ConstructFromXML(cxml); GGraph graph = this.GetChild("effect").asGraph; Object prefab = Resources.Load("Flame"); GameObject go = (GameObject)Object.Instantiate(prefab); graph.SetNativeObject(new GoWrapper(go)); }
public override void ConstructFromXML(FairyGUI.Utils.XML xml) { base.ConstructFromXML(xml); _obj = this.GetChild("n1"); }