Feat: 场景视图mod,UI框架更换标题
This commit is contained in:
15
SceneView/PatchObjectDestroy.cs
Normal file
15
SceneView/PatchObjectDestroy.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using HarmonyLib;
|
||||
using Object = UnityEngine.Object;
|
||||
|
||||
namespace SceneView
|
||||
{
|
||||
[HarmonyPatch(typeof(Object), nameof(Object.Destroy), new Type[] { typeof(Object)})]
|
||||
public class PatchObjectDestroy
|
||||
{
|
||||
private static void Postfix(Object __instance)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user