mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
升级HybridCLR 1.1.20
升级HybridCLR 1.1.20
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using TEngine.Runtime;
|
||||
using UnityEngine;
|
||||
|
||||
namespace HotFix
|
||||
{
|
||||
@@ -8,12 +9,16 @@ namespace HotFix
|
||||
{
|
||||
public static void Start()
|
||||
{
|
||||
Log.Debug("HotFix.GameHotfixEntry");
|
||||
Log.Fatal("HotFix.GameHotfixEntry");
|
||||
|
||||
Log.Fatal("=======看到此条日志代表你成功运行了示例项目的热更新代码=======");
|
||||
MonoUtility.AddUpdateListener(Update);
|
||||
TResources.Load<GameObject>("Test/Cube.prefab");
|
||||
}
|
||||
|
||||
void Update()
|
||||
private static void Update()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1,7 +1,9 @@
|
||||
{
|
||||
"name": "HotFix",
|
||||
"rootNamespace": "",
|
||||
"references": [
|
||||
"GUID:f4ecd6f7bd8993043b6cec60dd0cf2b2"
|
||||
"GUID:f4ecd6f7bd8993043b6cec60dd0cf2b2",
|
||||
"GUID:13ba8ce62aa80c74598530029cb2d649"
|
||||
],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
|
Reference in New Issue
Block a user