public FPEDrawerSaveData(string objectName, FPEDrawer.eDrawerState drawerState, string handleString, Vector3 customVector, bool internallyLocked, bool externallyLocked) { objName = objectName; state = drawerState; drawerPullString = handleString; customDrawerVector = new FPEVector3(customVector); isInternallyLocked = internallyLocked; isExternallyLocked = externallyLocked; }
public FPEPlayerStateSaveData(Transform player, Vector3 focalPoint, bool isCrouching, bool playerDocked, string dockName, Vector2 targetMaxAngles, Vector3 targetFocalPoint, Vector3 targetDockPosition, Vector3 previousFocalPoint, Vector3 previousWorldPosition) { playerTransform = new FPETransform(player.position, player.rotation); playerFocus = new FPEVector3(focalPoint); crouching = isCrouching; docked = playerDocked; curDockName = dockName; maxAngles = new FPEVector2(targetMaxAngles); tarFocalPos = new FPEVector3(targetFocalPoint); tarDockPos = new FPEVector3(targetDockPosition); prevFocalPos = new FPEVector3(previousFocalPoint); prevWorldPos = new FPEVector3(previousWorldPosition); }