热更系统修改并测试
This commit is contained in:
@@ -33,7 +33,7 @@ public class MessageBox : MonoBehaviour
|
||||
return null;
|
||||
}
|
||||
|
||||
var go = Instantiate(prefab, GameManager.Inst.MainUICanvas.transform);
|
||||
var go = Instantiate(prefab, GameManager.Inst.MainUICanvas.transform.Find("Top"));
|
||||
go.name = "MessageBox";
|
||||
var messageBox = go.GetComponent<MessageBox>();
|
||||
return messageBox;
|
||||
|
||||
Reference in New Issue
Block a user