SetName(string, int)
Set the name of the world, truncated to PhysicsConstants.MaxWorldNameLength characters. The name of the _defaultWorld cannot be set and will always be "Default World".
Read time 1 minuteLast updated 14 days ago
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public void SetName(string name, int ownerKey = 0)
Parameters
Remarks
See PhysicsWorld.GetName.