文档

Unity Engine

Unity Engine

contactEvents

Controls whether this shape produces contact events which can be retrieved after the simulation has completed. This only applies to kinematic and dynamic bodies. A contact event is produced if either shapes involved have their contactEvents enabled. Changing this at run-time may lead to lost begin/end events.
阅读时间1 分钟最后更新于 1 个月前

Definition

public bool contactEvents { readonly get; set; }