A class in Root.Township, ATT.MicroTutorial.Steps.
Micro tutorial step that completes when one of the listed prefabs enters a PrefabInPositionObserver in its dynamic content.
Constructors
| Member | What it is |
|---|
PrefabInPositionStep() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
2 private and internal fields
| Member | What it is |
|---|
private static readonly Type[] requiredEventTypes | Backing array for RequiredPlayerEventTypes. |
private NetworkPrefab[] validPrefabs | Prefabs that complete the step when placed in the trigger. |
Properties
Methods
| Member | What it is |
|---|
override bool IsCompletedByEvent(IPlayerEvent eventInfo) | True for a PrefabInPositionEvent whose prefab hash matches a listed prefab. |
override IResult IsConfigurationValid() | Checks dynamic content and prefabs. The prefab check is inverted, so a filled list reports an error. |