GameActionStat
A class in Root.Township, the global namespace.
A general-purpose game action asset on the General channel that accepts any argument. Used for plain stat-counting actions.
- Listed in Global namespace: E to H
- Inherits or implements
GameAction - Attributes
CreateAssetMenu
Constructors
| Member | What it is |
|---|---|
GameActionStat() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Properties
| Member | What it is |
|---|---|
override GameActionChannel Channel { get; } | Always GameActionChannel.General. |
Methods
| Member | What it is |
|---|---|
override bool IsValid(GameTaskActionArgument argument) | Always true. |
Used in
Members of other types that take, return or hold a GameActionStat:
GameAchievementSettings.cookFoodStat, GameAchievementSettings.CookFoodStat, GameAchievementSettings.distanceTravelledStat, GameAchievementSettings.DistanceTravelledStat, GameAchievementSettings.lightCampfireStat, GameAchievementSettings.LightCampfireStat, GameAchievementSettings.receivedPostboxStat, GameAchievementSettings.ReceivedPostboxStat.