Class BlockManager Extends VersionedMonoBehaviour

Public

Manager for blocker scripts such as SingleNodeBlocker.

This is part of the turn based utilities. It can be used for any game, but it is primarily intended for turn based games.

Inner Types

Blocks nodes according to a BlockManager.

Public Methods

InternalBlock (node, blocker)

Register blocker as being present at the specified node.

InternalUnblock (node, blocker)

Remove blocker from the specified node.

NodeContainsAnyExcept (node, selector)

True if the node contains any blocker which is not included in the selector list.

NodeContainsAnyOf (node, selector)

True if the node contains any blocker which is included in the selector list.

Public Enums

BlockMode
Public

Private/Protected Members

Awake ()
OnUpgradeSerializedData (migrations, unityThread)

Handle serialization backwards compatibility.

Reset ()

Handle serialization backwards compatibility.

Start ()
UpgradeSerializedData (isUnityThread)
blocked

Contains info on which SingleNodeBlocker objects have blocked a particular node.

Private