Cinemachine
ReflectionHelpersGetParentObject Method |
Get the object owner of a field. This method processes
the '.' separator to get from the object that owns the compound field
to the object that owns the leaf field
Namespace: Cinemachine.Utility
Assembly: Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public static Object GetParentObject( string path, Object obj )
Cinemachine.Utility.ReflectionHelpers.GetParentObject = function(path, obj);
Parameters
- path
- Type: SystemString
The name of the field, which may contain '.' separators - obj
- Type: SystemObject
the owner of the compound field
Return Value
Type: Object[Missing <returns> documentation for "M:Cinemachine.Utility.ReflectionHelpers.GetParentObject(System.String,System.Object)"]
See Also