Skip to main content

VisualChunkQuickAccessMenuAction

A class in Root.Township, the global namespace.

Quick access menu action that cycles the Feature Test Gymnasium's ChunkDisplayTool chunk view mode. Hidden when that tool doesn't exist.

Constructors​

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

Properties​

MemberWhat it is
override bool IsActive { get; }True when the chunk display mode isn't None, or when there's no tool.
override bool IsIgnored { get; }Hidden when the base says so or when there's no ChunkDisplayTool.
override bool IsValid { get; }True when a ChunkDisplayTool instance exists.

Methods​

MemberWhat it is
override void Run(Controller controller)Moves the chunk display tool to its next mode.