public ModulePhysicsControllerData(ModulePhysicsControllerData modulePhysicsControllerData) { id = modulePhysicsControllerData.id; parentId = modulePhysicsControllerData.parentId; name = modulePhysicsControllerData.name; position = modulePhysicsControllerData.position; scale = modulePhysicsControllerData.scale; rotation = modulePhysicsControllerData.rotation; tags = modulePhysicsControllerData.tags; inputStick = modulePhysicsControllerData.inputStick; forwardMovementSpeed = modulePhysicsControllerData.forwardMovementSpeed; sidewaysMovementSpeed = modulePhysicsControllerData.sidewaysMovementSpeed; velocityDirection = modulePhysicsControllerData.velocityDirection; applicationMethod = modulePhysicsControllerData.applicationMethod; }
internal override void PopulateData(ModuleData moduleData) { _data = new ModulePhysicsControllerData((ModulePhysicsControllerData)moduleData); ApplyData(); }