聊天频道

This commit is contained in:
2025-08-08 09:12:30 +08:00
parent 3c39f4a3c9
commit 3fb2c6a7d3
595 changed files with 63 additions and 12 deletions

View File

@@ -0,0 +1,16 @@
using UnityEngine;
using FairyGUI;
public class CoolComponent : GComponent
{
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));
}
}