Documentation

Unity Engine

Unity Engine

isTrigger

Get/Set if the shape is a trigger. Changing the state here is relatively expensive and should be avoided. See PhysicsShapeDefinition.isTrigger.
Read time 1 minuteLast updated a month ago

Definition

public bool isTrigger { get; set; }