Skip to content

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

Merged
teogor merged 5 commits intomainfrom
feature/drifter-common
Feb 23, 2024
Merged

Enhance Drifter Common Module with Serialization, PlayerPrefs, and more#15
teogor merged 5 commits intomainfrom
feature/drifter-common

Conversation

@teogor
Copy link
Copy Markdown
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
@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