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()
9393 str +=
9494 $ "\n \t \t public static UnityEngine.Purchasing.Product GetProduct{ CultureInfo . CurrentCulture . TextInfo . ToTitleCase ( itemName ) } () => IapManager.GetProduct(IapSettings.Instance.IapDataProducts[{ i } ]);";
9595
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;";
9798 if ( iapDataProducts [ i ] . iapProductType == IapProductType . Subscription )
9899 {
99100 str +=
100101 $ "\n \t \t public static UnityEngine.Purchasing.SubscriptionInfo GetSubscriptionInfo{ CultureInfo . CurrentCulture . TextInfo . ToTitleCase ( itemName ) } () => IapManager.GetSubscriptionInfo(IapSettings.Instance.IapDataProducts[{ i } ]);";
101102 }
103+
102104 str += "\n " ;
103105 }
104106
@@ -158,7 +160,7 @@ void GuiLine(int i_height = 1)
158160
159161 string GetPathInCurrentEnvironent ( string fullRelativePath )
160162 {
161- var upmPath = $ "Packages/com.wolf-package .in-app-purchasing/{ fullRelativePath } ";
163+ var upmPath = $ "Packages/com.wolf-org .in-app-purchasing/{ fullRelativePath } ";
162164 var normalPath = $ "Assets/in-app-purchasing-unity/{ fullRelativePath } ";
163165 return ! File . Exists ( Path . GetFullPath ( upmPath ) ) ? normalPath : upmPath ;
164166 }
You can’t perform that action at this time.
0 commit comments