// public GameObject netPlayer; // Use this for initialization void Start() { name = Net.sid; netWork = Net.GetNetWork(); netWork.AddMsgListener(this); Destroy(GetComponent <Rigidbody> ()); //从客服端暂时去除物理引擎 }
// public GameObject netPlayer; // Use this for initialization void Start() { netWork = Net.GetNetWork(); netWork.AddMsgListener(this); SendPosition(); }