public void CopyTo(SitTargetInfo sitInfo) { sitInfo.m_offset = this.m_offset; sitInfo.m_rotation = this.m_rotation; sitInfo.m_part = this.m_part; sitInfo.m_sitter = this.m_sitter; }
public void SetSitTarget(SceneObjectPart part, Vector3 pos, Quaternion rot) { SitTargetInfo sitInfo = new SitTargetInfo(part, pos, rot); if (sitInfo.IsSet) { m_sitTargets[part.UUID] = sitInfo; } else { if (m_sitTargets.ContainsKey(part.UUID)) m_sitTargets.Remove(part.UUID); } }