A* Pathfinding Project  3.8
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
TagMask Class Reference

Holds a tagmask. More...

Detailed Description

Holds a tagmask.

This is used to store which tags to change and what to set them to in a Pathfinding.GraphUpdateObject. All variables are bitmasks.
I wanted to make it a struct, but due to technical limitations when working with Unity's GenericMenu, I couldn't. So be wary of this when passing it as it will be passed by reference, not by value as e.g LayerMask.

This class is being phased out

Public Member Functions

 TagMask ()
 TagMask (int change, int set)
override string ToString ()

Public Attributes

int tagsChange
int tagsSet

Constructor & Destructor Documentation

TagMask ( )
TagMask ( int  change,
int  set 

Member Function Documentation

override string ToString ( )

Member Data Documentation

int tagsChange
int tagsSet

The documentation for this class was generated from the following file: