class MAGES::SceneGraph::UseInteractableAtTracker¶
Overview¶
Tracks whether the object this component is attached to currently overlaps any collider belonging to a location volume. More…
class UseInteractableAtTracker: public MonoBehaviour
{
public:
// properties
Transform Location;
bool IsInside;
};
Detailed Documentation¶
Tracks whether the object this component is attached to currently overlaps any collider belonging to a location volume.
Added at runtime by UseInteractableAtConditionData, one instance per condition instance, so several conditions can watch the same object against different locations.
Properties¶
Transform Location
Gets or sets the root of the location volume. Any collider on it or under it counts.
Resolved late by the condition, so this may be null for a while.
bool IsInside
Gets a value indicating whether the object currently overlaps the location volume.