class MAGES::Editor::Utilities::SerializedPropertyReflection

Overview

Class that gets the type of a serialized property. More…

class SerializedPropertyReflection: public MonoBehaviour
{
public:
    // methods

    static object GetTargetObjectOfProperty(SerializedProperty prop);
};

Detailed Documentation

Class that gets the type of a serialized property.

Methods

static object GetTargetObjectOfProperty(SerializedProperty prop)

Gets the type of a serialized property that you can later cast to mach the actual type of the property.

Parameters:

prop

The serialized property.

Returns:

The returened object.