Class SpawnPoint
Prefab-based spawn point. Place on a GameObject inside the stage prefab
to define a named location where characters or objects can be spawned.
Implements ISpawnPoint to expose Domain-level identity and pose.
Assembly: Serenity.UnityStage.Infrastructure.dll
Syntax
public class SpawnPoint : MonoBehaviour, ISpawnPoint
Constructors
SpawnPoint()
Declaration
Properties
HasValidId
True when Serenity.Stage.Infrastructure.Authoring.SpawnPoint.id is non-blank and safe to build a SpawnPointId from.
Declaration
public bool HasValidId { get; }
Property Value
Id
Declaration
public SpawnPointId Id { get; }
Property Value
Pose
Declaration
public SpawnPose Pose { get; }
Property Value
RawId
The raw serialized id, exposed without validation for blank-id checks before Id is read.
Declaration
public string RawId { get; }
Property Value
Implements