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

Holds a tagmask. More...

Public Member Functions

 TagMask (int change, int set)
 
void SetValues (System.Object boxedTagMask)
 
override string ToString ()
 

Public Attributes

int tagsChange
 
int tagsSet
 

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.


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