文档

Unity Engine


User Manual

Script Reference

Unity Engine


userData

Get/Set PhysicsUserData that can be used for any purpose. This cannot be set on the PhysicsWorld.defaultWorld and will always be at the default. The physics system doesn't use this data, it is entirely for custom use.
阅读时间1 分钟最后更新于 1 个月前

Definition

public PhysicsUserData userData { get; set; }