PhysicsLayers.Get(string) Method
Definition¶
Namespace: Brine2D.Physics
Returns the layer index for name.
public static int Get(string name);
Parameters¶
name System.String
Returns¶
Exceptions¶
System.Collections.Generic.KeyNotFoundException
Thrown when the name is not registered.