◆ GetValueViaPath()

static object GetValueViaPath ( this object  rootObject,
string  path 
)
static
Parameters
rootObjectobject that contains the field from which to get the value.
pathUnity SerialiazatbleProperty path of the field to extract the value from.
Returns
the value found in the field.