Documentation

Unity Engine


User Manual

Script Reference

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 13 days ago

Definition

public bool isTrigger { get; set; }