SceneObjectHandle
A handle to an object in a scene definition: a plain GameObject (NodeHandle) or a prefab instance root (InstanceHandle). Every authoring call that takes a cross-object reference takes this, so either kind of target can be assigned.
public abstract class SceneObjectHandleCompile-time scaffolding only — SceneBuilder parses the source text to build the scene, so this carries no state and performs no work at runtime.
Members
Asmethod
public T As<T>()This scene object, typed as T so it can be written as a UnityEvent listener's object argument (e.g. m.SetSubject(door.As<UnityEngine.GameObject>())). T is a compile-time cast for that parameter slot; it does NOT select a component (use NodeHandle.Ref for that) and performs no work at runtime.