CreateOwnerKey(Object)
Create an owner key.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public static int CreateOwnerKey(Object owner)
Parameters
The object that owns this key. Whilst it is valid to not specify an owner object (NULL), it is recommended as the owner key can use the hash-code of the object to generate a more unique key.
Returns
Type | Description |
|---|---|
| int | The new owner key. |