Files
Convention-Unity-Demo/Assets/Scripts/Anchor.cs
2025-12-12 15:19:10 +08:00

20 lines
444 B
C#

using Demo.Attr;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Demo.Game
{
[Scriptable]
public class Anchor : ScriptableObject
{
protected override bool IsSelfEnableUpdate => false;
public static Anchor Make()
{
var anchor = new GameObject().AddComponent<Anchor>();
anchor.SetUpdatePerFrame(0);
return anchor;
}
}
}