新增动态性能优化的开关

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

@@ -8,6 +8,7 @@ namespace Demo.Game
{
public class DDT : ScriptableObject, IEnumerable<float>
{
protected override bool IsSelfEnableUpdate => false;
public static DDT Make()
{
return new GameObject().AddComponent<DDT>();