微信登录

C# - 消除Object(物体) - Destroy();

作用:消除物体

Destroy();

代码:

  1. GameObject.Destroy(this.GameObject);//消除本物体