TilemapPropertyExtensions.Get(this Dictionary, string, T) Method
Definition
Namespace: Brine2D.Tilemap
Returns the property value as T, or defaultValue if the key is missing or can't be parsed.
C#
public static T Get<T>(this System.Collections.Generic.Dictionary<string,string> properties, string name, T defaultValue=default(T));
Type parameters
T
Parameters
properties System.Collections.Generic.Dictionary<System.String,System.String>
name System.String
defaultValue T