lj170200

IEnumerator testSpine(){
GameObject obj=GameTool.Tool.LoadPrefab("Prefabs/BattleScene/Actor/p1001",transform);

yield return new WaitForSeconds(3f);

GameObject.Destroy(obj);
obj=null;
Resources.UnloadUnusedAssets();
//Resources.UnloadAsset(obj);
}
I try to create an SpineObject, and destroy it ,but with Profiler,SpineObject Ref count is 1,
It has not been destroyed.
Why?

---

help me~~~~~~~
unity Profiler message:
Referenced By:
skeletonDataAsset(MonoBehaviour)
AtlasAsset(MonoBehaviour)
ManagedStaticReferences()
lj170200
  • Messaggi: 3


Torna a Unity