Version: 2018.1

SpriteRect.GetSpriteIDFromSerializedProperty

Switch to Manual
public static GUID GetSpriteIDFromSerializedProperty (SerializedProperty sp);

Parameters

spThe SerializedProperty to acquire from.

Returns

GUID GUID for the SpriteRect.

Description

Helper method to get SpriteRect.spriteID from a SerializedProperty.