SetOwnerUserData(PhysicsUserData, int)
Set PhysicsUserData that can be used for any purpose, typically by the owner only.
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public void SetOwnerUserData(PhysicsUserData physicsUserData, int ownerKey = 0)