文档

Unity Engine

Unity Engine

GetOwner()

Get the owner object associated with this chain as specified using PhysicsChain.SetOwner.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public Object GetOwner()

Returns

Type

Description

ObjectThe owner object associated with this chain or NULL if no owner has been specified.