private Vector3 m_moveVector = new Vector3(0,0,0);
public Vector3 moveVector
{
get { return m_moveVector; }
set { if (moveVector.z != 0)
{
Debug.LogError("units cant move on z-axes");
}
else m_moveVector = moveVector;
}
}