Skip to main content

AutoFestiveAchievement

A class in Root.Township, ATT.TaskTracking.

Achievement that can only complete while its festivity is active.

Constructors​

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

Fields​

1 private and internal field
MemberWhat it is
private Festivity festivityThe festivity that must be active.

Methods​

MemberWhat it is
override void Complete(IPlayer player)Completes the achievement only if the festivity is active. Logs an error if none is set.