Hey guys:
I have a problem. Please help.
I created a prefab using a tk2dAnimatedSprite. Then I created a instance like this:
tk2dAnimatedSprite temp = Instantiate(prefab, new Vector3(0,0,0), Quaternion.identity) as tk2dAnimatedSprite;
Destory(temp);
But the instance didn't destoryed. It still showed in the Hierarchy View.
I did another test. I created a prefab using a Cube.Then Coding like this:
GameObject temp = Instantiate(cubePrefab, new Vector3(0,0,0), Quaternion.identity) as GameObject ;
Destory(temp);
The cub destoyed. It didn't show in the Hierarchy View.
How did I destoy a tk2dAnimatedSprite instance?