[修改] 修改外部可以获取当前操作对象的包名称

1. 主要是外部如果是回调的时候,不一定在之前的代码位置了.所需要需要从操作对象中直接获取当前的包名
pull/353/head
Blank 2024-08-27 19:13:36 +08:00 committed by GitHub
parent 850ae88bc6
commit a6b333fe35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ namespace YooAsset
throw new System.NotImplementedException(this.GetType().Name); throw new System.NotImplementedException(this.GetType().Name);
} }
internal string GetPackageName() public string GetPackageName()
{ {
return _packageName; return _packageName;
} }
@ -191,4 +191,4 @@ namespace YooAsset
private TaskCompletionSource<object> _taskCompletionSource; private TaskCompletionSource<object> _taskCompletionSource;
#endregion #endregion
} }
} }