PhysicsLayerRegistry.GetLayer(string) Method
Definition
Namespace: Brine2D.Physics
Returns the layer index for the given name.
Parameters
name System.String
Returns
Exceptions
System.Collections.Generic.KeyNotFoundException
Thrown when the name has not been registered.