2025-12-12 15:19:10 +08:00
|
|
|
using Demo.Attr;
|
2025-09-25 19:04:05 +08:00
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
namespace Demo.Game
|
|
|
|
|
{
|
2025-12-12 15:19:10 +08:00
|
|
|
[Scriptable]
|
2025-09-25 19:04:05 +08:00
|
|
|
public class Anchor : ScriptableObject
|
|
|
|
|
{
|
2025-11-29 00:44:05 +08:00
|
|
|
protected override bool IsSelfEnableUpdate => false;
|
2025-09-25 19:04:05 +08:00
|
|
|
public static Anchor Make()
|
|
|
|
|
{
|
2025-11-28 17:35:24 +08:00
|
|
|
var anchor = new GameObject().AddComponent<Anchor>();
|
|
|
|
|
anchor.SetUpdatePerFrame(0);
|
|
|
|
|
return anchor;
|
2025-09-25 19:04:05 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|