Click or drag to resize

ColliderSetCollideWithTag Method

Enable or disable the collision detection with surfaces having the specified tag.

Namespace:  Lumiscaphe.Workshop.Interop
Assembly:  Lumiscaphe.Workshop.Interop (in Lumiscaphe.Workshop.Interop.dll) Version: 21.1.16.0
Syntax
public void SetCollideWithTag(
	bool enable,
	string tag
)

Parameters

enable
Type: SystemBoolean
if set to true will detect collision with surfaces having the specified tag. Otherwise, it will not.
tag
Type: SystemString
The tag to enable or disable collision with.
Exceptions
ExceptionCondition
ObjectDestroyedExceptionCollider::IsDestroyed == true
ObjectNullExceptiontag == null
Version Information

Lumiscaphe Workshop SDK

Supported in: 7.0 release 1
See Also