Improved Player Prefs is a powerful and user-friendly enhancement to Unity’s default PlayerPrefs system. Ideal for projects of any genre, this package enables you to store complex data—such as vectors, colors, or custom serializable objects—without coding cumbersome workarounds. The integrated editor simplifies the creation and management of Player Pref keys, while built-in encryption secures sensitive information. Whether you're saving player progress, configuration settings, or serialized custom objects, Improved Player Prefs offers a reliable, scalable solution.
Why Choose Improved Player Prefs?
- User-Friendly Editor: Manage keys visually in the Unity Editor, no coding required for setup.
- Complex Data Types: Store not just simple primitives but also Unity-specific types and JSON-serialized objects.
- Security and Validation: Encrypt values, prevent data tampering, and ensure correct data retrieval with automatic type checks.
- Default Values and Graceful Degradation: Handle missing or invalid keys by returning configurable defaults, avoiding runtime errors.
- Easy Integration: Drop the package into your project and begin managing data instantly.
Key Features
- Multi-Type Support: Int, Float, Double, Long, Bool, String, Vector2, Vector3, Vector4, Quaternion, Color, and Serializable types.
- Encryption Option: Enable encryption to protect sensitive data from unauthorized access.
- Editor Integration: Create, visualize, edit, and remove Player Pref keys from a dedicated editor window.
- Type Safety: Retrieve data with confidence, knowing it will match the expected type or revert to a default value.
- JSON Serialization: Store complex objects or structures as JSON without additional code.
- Programmatic Control: Adjust and manage keys at runtime to accommodate dynamic game logic.
- Cross-Platform Compatibility: Works seamlessly on PC, mobile, consoles, and WebGL.
Supported Data Types
- Int: Integer value
- Float: Floating-point number
- Double: Double-precision floating-point number
- Long: Long integer
- Bool: Boolean value
- String: Text or string value
- Vector2: 2D vector
- Vector3: 3D vector
- Vector4: 4D vector
- Quaternion: Quaternion for rotations
- Color: Unity's color structure
- Serializable: Custom serialized data stored as JSON
Platforms Supported
- PC
- Mobile (iOS, Android)
- Console
- WebGL
Bring enhanced data management to your Unity project with Improved Player Prefs—the comprehensive solution for storing, securing, and retrieving persistent data.
❤️ Reviews are very much appreciated, we love to hear what you think of the asset.