2026-03-28 15:09:42 +08:00
|
|
|
using XCEngine;
|
|
|
|
|
|
|
|
|
|
namespace Gameplay
|
|
|
|
|
{
|
2026-04-03 15:55:47 +08:00
|
|
|
public enum FieldMetadataProbeState
|
|
|
|
|
{
|
|
|
|
|
Idle = 0,
|
|
|
|
|
Running = 2,
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-28 15:09:42 +08:00
|
|
|
public sealed class FieldMetadataProbe : MonoBehaviour
|
|
|
|
|
{
|
|
|
|
|
public int Health;
|
|
|
|
|
public float Speed;
|
|
|
|
|
public string Label = string.Empty;
|
|
|
|
|
public Vector3 SpawnPoint;
|
2026-04-03 15:55:47 +08:00
|
|
|
public FieldMetadataProbeState State = FieldMetadataProbeState.Running;
|
2026-04-03 16:19:56 +08:00
|
|
|
[SerializeField] private bool HiddenFlag = true;
|
2026-03-28 15:09:42 +08:00
|
|
|
public GameObject Target;
|
|
|
|
|
public Quaternion UnsupportedRotation;
|
|
|
|
|
public static int SharedCounter;
|
2026-04-03 16:19:56 +08:00
|
|
|
private int IgnoredPrivateCounter = 7;
|
2026-03-28 15:09:42 +08:00
|
|
|
public bool HiddenFlagMirror => HiddenFlag;
|
2026-04-03 16:19:56 +08:00
|
|
|
public int IgnoredPrivateCounterMirror => IgnoredPrivateCounter;
|
2026-03-28 15:09:42 +08:00
|
|
|
}
|
|
|
|
|
}
|