Example #1
0
 public void Move(Vector3 oldPos, Vector3 oldRot, Vector3 newPos, Vector3 newRot, float speed)
 {
     (nebulaObject as Item).Move(newPos.ToVector(), newRot.ToVector());
     m_Message.PublishMove(oldPos.ToArray(), oldRot.ToArray(), transform.position.ToArray(), transform.rotation.ToArray(), speed);
 }
Example #2
0
 protected void Move(Vector3 oldPos, Vector3 oldRot, Vector3 pos, Vector3 rot, float speed)
 {
     (nebulaObject as Item).Move(pos.ToVector(), rot.ToVector());
     mMessage.PublishMove(oldPos.ToArray(), oldRot.ToArray(), transform.position.ToArray(), transform.rotation.ToArray(), speed);
 }