Files
Convention-Unity-Demo/Assets/Scripts/Anchor.cs

17 lines
349 B
C#
Raw Normal View History

2025-09-25 19:04:05 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Demo.Game
{
public class Anchor : ScriptableObject
{
public static Anchor Make()
{
var anchor = new GameObject().AddComponent<Anchor>();
anchor.SetUpdatePerFrame(0);
return anchor;
2025-09-25 19:04:05 +08:00
}
}
}