ドキュメント

Unity Engine

Unity Engine

CreateOwnerKey(Object)

Create an owner key.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public static int CreateOwnerKey(Object owner)

Parameters

owner

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

intThe new owner key.