Version: Unity 6.6 Alpha (6000.6)
LanguageEnglish
  • C#

PhysicsWorld.CreateOwnerKey

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public static int CreateOwnerKey(Object owner);

Parameters

Parameter Description
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

int The new owner key.

Description

Create an owner key.