UIRectEditor.IsRect C# (CSharp) Method

IsRect() static protected method

Returns 'true' if the specified serialized property reference is a UIRect.
static protected IsRect ( UnityEditor.SerializedProperty sp ) : bool
sp UnityEditor.SerializedProperty
return bool
	static protected bool IsRect (SerializedProperty sp)
	{
		if (sp.hasMultipleDifferentValues) return true;
		return (GetRect(sp) != null);
	}