文档

Unity Engine


User Manual

Script Reference

Unity Engine


Contains(StylePropertyName)

Determines whether a StylePropertyNameCollection contains the specified element.
阅读时间1 分钟最后更新于 1 个月前

Definition

public bool Contains(StylePropertyName stylePropertyName)

Parameters

stylePropertyName

The element to locate in the StylePropertyNameCollection.

Returns

Type

Description

booltrue if the StylePropertyNameCollection contains the specified element; otherwise, false.