This version of Unity is unsupported.

SpriteRect.GetSpriteIDFromSerializedProperty

Declaration

public static GUID GetSpriteIDFromSerializedProperty(SerializedProperty sp);

Parameters

sp The SerializedProperty to acquire from.

Returns

GUID GUID for the SpriteRect.

Description

Helper method to get SpriteRect.spriteID from a SerializedProperty.