Skip to main content

PlayerInPositionStep

A class in Root.Township, ATT.MicroTutorial.Steps.

Micro tutorial step that completes when a PlayerInPositionObserver in its dynamic content reports the player in place.

Constructors​

MemberWhat it is
PlayerInPositionStep()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

1 private and internal field
MemberWhat it is
private static readonly Type[] requiredEventTypesBacking array for RequiredPlayerEventTypes.

Properties​

MemberWhat it is
override IEnumerable<Type> RequiredPlayerEventTypes { get; }Only PlayerInPositionEvent.

Methods​

MemberWhat it is
override bool IsCompletedByEvent(IPlayerEvent eventInfo)True for any PlayerInPositionEvent.
override IResult IsConfigurationValid()Errors if the step has no dynamic content.