/// <summary> /// 销毁GameObject前要进行的操作 /// </summary> public void DestroyAll() { CommonTool.DestroyObjectImmediate(gameObject); }