public void SetYnvPortal(YnvPortal ynvPortal) { YnvPortal = ynvPortal; Tag = ynvPortal; UpdateFormTitle(); UpdateYnvPortalUI(); }
public NavPortalRotationUndoStep(YnvPortal portal, Quaternion startrot, WorldForm wf) { Portal = portal; StartRotation = startrot; EndRotation = portal?.Orientation ?? Quaternion.Identity; //UpdateGraphics(wf); }
public NavPortalPositionUndoStep(YnvPortal portal, Vector3 startpos, WorldForm wf) { Portal = portal; StartPosition = startpos; EndPosition = portal?.Position ?? Vector3.Zero; UpdateGraphics(wf); //forces the update of the path graphics when it's moved... }