Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance Drifter Common Module with Serialization, PlayerPrefs, and more #15

Merged
merged 5 commits into from
Feb 23, 2024

Conversation

teogor
Copy link
Owner

@teogor teogor commented Feb 23, 2024

Enhance Drifter Common Module with Powerful Features

This pull request significantly expands the capabilities of the dev.teogor.drifter:drifter-common module by introducing several valuable features:

1. Drifter Common Module (Maintained):

  • Leverages the original commit improvements for shared functionalities.

2. UnityMessageSender Class:

  • Enables convenient communication between Android code and Unity game objects.
  • Simplifies sending messages and triggering actions in Unity from Android.

3. Generic Serializable Class:

  • Provides a flexible way to store and retrieve objects using custom serialization/deserialization.
  • Enhances data management and persistence capabilities within the Drifter codebase.

4. UnityPlayerPrefs Class:

  • Offers type-safe access to Unity PlayerPrefs with automatic conversion support.
  • Reduces data corruption risks and streamlines data interaction with PlayerPrefs.

5. @UnityPrefAccess Annotation:

  • Clearly marks functions interacting with PlayerPrefs and promotes responsible usage.
  • Improves code clarity and awareness of potential security implications.

Benefits:

  • Enhanced interaction between Android and Unity components.
  • Improved data serialization and management capabilities.
  • Type-safe and secure access to Unity PlayerPrefs.
  • Cleaner and more organized codebase through modularity and best practices.

@teogor teogor added @priority-medium @feature New feature or request labels Feb 23, 2024
@teogor teogor added this to the 1.0.0-alpha02 milestone Feb 23, 2024
@teogor teogor self-assigned this Feb 23, 2024
@teogor teogor merged commit 2a19a00 into main Feb 23, 2024
4 checks passed
@zeobot zeobot bot deleted the feature/drifter-common branch February 23, 2024 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@feature New feature or request @priority-medium
Projects
Development

Successfully merging this pull request may close these issues.

1 participant