UIRectEditor.IsRect C# (CSharp) Méthode

IsRect() static protected méthode

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