Skip to main content

ComponentHistoryAccess

A class in Root.Township, the global namespace.

A HistoryAccess that takes its history from an IHasHistory component on the same object.

Constructors​

MemberWhat it is
ComponentHistoryAccess()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

1 private and internal field
MemberWhat it is
private IHistoryManager historyBacking field for History.

Properties​

MemberWhat it is
override IHistoryManager History { get; }History manager from the IHasHistory component.

Methods​

MemberWhat it is
protected override void Awake()Gets the history from the IHasHistory component before the base setup.