Skip to content

Commit 0670b87

Browse files
committed
- fix: missing assembly
1 parent 34df172 commit 0670b87

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

Editor/IapSettingsEditor.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ void ObfuscatorKeyImpl()
127127
$"Editor/TempAssembly/PurchasingGeneratedAsmdefMeta.txt");
128128
var asmdef = (TextAsset)AssetDatabase.LoadAssetAtPath(pathAsmdef, typeof(TextAsset));
129129
var meta = (TextAsset)AssetDatabase.LoadAssetAtPath(pathAsmdefMeta, typeof(TextAsset));
130-
string path = Path.Combine(TangleFileConsts.k_OutputPath, "Wolf.Purchasing.Generate.asmdef");
131-
string pathMeta = Path.Combine(TangleFileConsts.k_OutputPath, "Wolf.Purchasing.Generate.asmdef.meta");
130+
string path = Path.Combine(TangleFileConsts.k_OutputPath, "UnityCommon.Purchasing.Generate.asmdef");
131+
string pathMeta = Path.Combine(TangleFileConsts.k_OutputPath, "UnityCommon.Purchasing.Generate.asmdef.meta");
132132
if (!File.Exists(path))
133133
{
134134
var writer = new StreamWriter(path, false);
@@ -158,7 +158,7 @@ void GuiLine(int i_height = 1)
158158
string GetPathInCurrentEnvironent(string fullRelativePath)
159159
{
160160
var upmPath = $"Packages/com.wolf-package.in-app-purchasing/{fullRelativePath}";
161-
var normalPath = $"Assets/in-app-purchasing/{fullRelativePath}";
161+
var normalPath = $"Assets/in-app-purchasing-unity/{fullRelativePath}";
162162
return !File.Exists(Path.GetFullPath(upmPath)) ? normalPath : upmPath;
163163
}
164164
}

Editor/TempAssembly/PurchasingGeneratedAsmdef.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "Wolf.Purchasing.Generate",
2+
"name": "UnityCommon.Purchasing.Generate",
33
"rootNamespace": "",
44
"references": [
55
"GUID:94e1de2458b07d0bf1e9f13e6ae06443",

Runtime/UnityCommon.IAP.asmdef

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55
"GUID:60bfecf5cb232594891bc622f40d6bed",
66
"GUID:94e1de2458b07d0bf1e9f13e6ae06443",
77
"GUID:e63a64384cc3ef04cac761c1ce76e9c2",
8+
"GUID:d0bf1e9f644394e1de13e6ae02458b07",
89
"GUID:08d1c582746949b40ba6a45cdb776bdf",
910
"GUID:fe25561d224ed4743af4c60938a59d0b",
1011
"GUID:70ea675efa2644cef98c7ece24158333",
11-
"GUID:5a4d3c3ff86da0f459ebef74b42549cd"
12+
"GUID:5a4d3c3ff86da0f459ebef74b42549cd",
13+
"GUID:ae6fee6164ec0134e9a5b8094e226755"
1214
],
1315
"includePlatforms": [],
1416
"excludePlatforms": [],

0 commit comments

Comments
 (0)