-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Type: DiscussionDiscuss ideas, etcDiscuss ideas, etcType: EnhancementNew feature or requestNew feature or request
Description
Do we need to cache fields on C# side?
Caching ref fields like PackageInfo https://github.com/Suvitruf/unity-android-native/blob/master/Assets/UnityAndroidNative/Android/Content/Pm/PackageManager.cs#L11 in PackageManager is not the bad idea, 'cause this ref will not be changed.
But what's about primitive types, like mAction field of Intent? It would be a nice to reduce jni calls. But if something changes this field in native object, it will not be automatically changed on C# side.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type: DiscussionDiscuss ideas, etcDiscuss ideas, etcType: EnhancementNew feature or requestNew feature or request