Escape From The Earth 逃离地球

1、对Tags进行管理 设置一个全局的类,类似如下: public class Tags:MonoBehaviour{ public const string player="Player"; } 调用Tags.player 2、发送消息 unity中每一个对象都有SendMessage,BroadcastMessage,SendMessageUpwards 三个发送消息的方法! 具体
相关文章
相关标签/搜索