unity Destroy 子物体后childCount没有立即改变

作者:Unity transform.childCount的坑_liveownworld的博客-CSDN博客

把Destory改变DestroyImmediate ,即可可以实时改变。

你可能感兴趣的:(Unity,unity)