Skip to content

Commit

Permalink
Update ControlPanelWindowEditor.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
GrayWolf52 committed Jan 4, 2024
1 parent beb8c8f commit ba0e473
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions VirtueSky/ControlPanel/ControlPanelWindowEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -253,17 +253,32 @@ void OnDrawIap()
GUILayout.Space(10);
if (GUILayout.Button("Open AdSetting (Alt+2 / Option+2)"))
{
#if VIRTUESKY_IAP
IapWindowEditor.OpenIapSettingsWindows();

#else
Debug.LogError("Add scripting define symbols ( VIRTUESKY_IAP ) to use IAP");
#endif
}

if (GUILayout.Button("Create Iap Purchase Product Event"))
{
#if VIRTUESKY_IAP
IapWindowEditor.CreateIapProductEvent();

#else
Debug.LogError("Add scripting define symbols ( VIRTUESKY_IAP ) to use IAP");
#endif
}

if (GUILayout.Button("Create Iap Purchase Product Event"))
{
#if VIRTUESKY_IAP
IapWindowEditor.CreateIsPurchaseProductEvent();

#else
Debug.LogError("Add scripting define symbols ( VIRTUESKY_IAP ) to use IAP");
#endif
}

GUILayout.EndVertical();
Expand Down

0 comments on commit ba0e473

Please sign in to comment.