File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -93,12 +93,14 @@ void GenerateProductImpl()
93
93
str +=
94
94
$ "\n \t \t public static UnityEngine.Purchasing.Product GetProduct{ CultureInfo . CurrentCulture . TextInfo . ToTitleCase ( itemName ) } () => IapManager.GetProduct(IapSettings.Instance.IapDataProducts[{ i } ]);";
95
95
96
- str += $ "\n \t \t public static float PriceConfig{ CultureInfo . CurrentCulture . TextInfo . ToTitleCase ( itemName ) } () => IapSettings.Instance.IapDataProducts[{ i } ].price;";
96
+ str +=
97
+ $ "\n \t \t public static float PriceConfig{ CultureInfo . CurrentCulture . TextInfo . ToTitleCase ( itemName ) } () => IapSettings.Instance.IapDataProducts[{ i } ].price;";
97
98
if ( iapDataProducts [ i ] . iapProductType == IapProductType . Subscription )
98
99
{
99
100
str +=
100
101
$ "\n \t \t public static UnityEngine.Purchasing.SubscriptionInfo GetSubscriptionInfo{ CultureInfo . CurrentCulture . TextInfo . ToTitleCase ( itemName ) } () => IapManager.GetSubscriptionInfo(IapSettings.Instance.IapDataProducts[{ i } ]);";
101
102
}
103
+
102
104
str += "\n " ;
103
105
}
104
106
@@ -158,7 +160,7 @@ void GuiLine(int i_height = 1)
158
160
159
161
string GetPathInCurrentEnvironent ( string fullRelativePath )
160
162
{
161
- var upmPath = $ "Packages/com.wolf-package .in-app-purchasing/{ fullRelativePath } ";
163
+ var upmPath = $ "Packages/com.wolf-org .in-app-purchasing/{ fullRelativePath } ";
162
164
var normalPath = $ "Assets/in-app-purchasing-unity/{ fullRelativePath } ";
163
165
return ! File . Exists ( Path . GetFullPath ( upmPath ) ) ? normalPath : upmPath ;
164
166
}
You can’t perform that action at this time.
0 commit comments