diff --git a/UnityProject/HotUpdateScripts/JEngine/Core/JPrefab.cs b/UnityProject/HotUpdateScripts/JEngine/Core/JPrefab.cs
index 92f29848..18aa1db4 100644
--- a/UnityProject/HotUpdateScripts/JEngine/Core/JPrefab.cs
+++ b/UnityProject/HotUpdateScripts/JEngine/Core/JPrefab.cs
@@ -38,28 +38,33 @@ public class JPrefab: IDisposable
/// 从热更资源里读取prefab
///
///
- public JPrefab(string path, bool async = false) : this(path, async, null)
+ public JPrefab(string path, bool async = false) : this(path, null, async, null)
{
}
///
- /// Load a prefab from hot update resources (async)
- /// 从热更资源里读取prefab (异步)
+ /// Load a prefab from hot update resources
+ /// 从热更资源里读取prefab
///
///
- /// Action, success 与 JPrefab
- public JPrefab(string path, Action complete = null) : this(path, true, complete)
+ public JPrefab(string path, string package, bool async = false) : this(path, package, async, null)
{
}
- public JPrefab(string path,string package, Action complete = null) : this(path,package, true, complete)
+ ///
+ /// Load a prefab from hot update resources (async)
+ /// 从热更资源里读取prefab (异步)
+ ///
+ ///
+ /// Action, success 与 JPrefab
+ public JPrefab(string path, Action complete = null) : this(path, null, true, complete)
{
}
- public JPrefab(string path, bool async, Action complete) : this(path,null, true, complete)
+ public JPrefab(string path,string package, Action complete = null) : this(path,package, true, complete)
{
}