新增动态性能优化的开关

This commit is contained in:
2025-11-29 00:44:05 +08:00
parent ee7bd2d800
commit 1be9783491
7 changed files with 66 additions and 22 deletions

View File

@@ -6,6 +6,7 @@ namespace Demo.Game
{
public class Anchor : ScriptableObject
{
protected override bool IsSelfEnableUpdate => false;
public static Anchor Make()
{
var anchor = new GameObject().AddComponent<Anchor>();