Skip to content

Conversation

@WispyMouse
Copy link
Contributor

Some features of the plugin, such as the Ecommerce interface, require the use of the Social Overlay. If the Social Overlay isn't available, it won't work. This aims to cover exactly one scenario: the Unity Editor. If UNITY_EDITOR is defined, DisabledInEditorWarningPanel will enable a game object. That game object may contain text that explains the error. There is no standardized warning panel prefab, and should be used as-needed.

#EOS-2130

Some features of the plugin, such as the Ecommerce interface, require the use of the Social Overlay. If the Social Overlay isn't available, it won't work. This aims to cover exactly one scenario: the Unity Editor. If UNITY_EDITOR is defined, `DisabledInEditorWarningPanel` will enable a game object. That game object may contain text that explains the error. There is no standardized warning panel prefab, and should be used as-needed.

#EOS-2130
@WispyMouse WispyMouse added the tracked This issue has a corresponding task in our internal bug tracking system label Dec 5, 2024
@WispyMouse WispyMouse self-assigned this Dec 5, 2024
@WispyMouse
Copy link
Contributor Author

image

Copy link
Contributor

@paulhazen paulhazen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any degree of functionality within the Ecommerce sample within the Editor? I'm wondering whether it makes more sense to disable the sample in the editor altogether.

@arthur740212
Copy link
Contributor

Is there any degree of functionality within the Ecommerce sample within the Editor? I'm wondering whether it makes more sense to disable the sample in the editor altogether.

Puchasing/Checking out is the part that requires overlay.
Querying the store items is technically a part of the Ecommerce sample.
I think there is still some value to have this usable in editor.

@WispyMouse WispyMouse merged commit 0bed65e into development Dec 5, 2024
@EpicCliffHudson EpicCliffHudson deleted the feat/indicate-ecom-doesnotwork-in-editor branch September 23, 2025 03:31
@EpicCliffHudson EpicCliffHudson restored the feat/indicate-ecom-doesnotwork-in-editor branch September 23, 2025 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tracked This issue has a corresponding task in our internal bug tracking system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants