Version: 2019.4
public bool TryGetValue (CustomStyleProperty<float> property, out float value);
public bool TryGetValue (CustomStyleProperty<int> property, out int value);
public bool TryGetValue (CustomStyleProperty<bool> property, out bool value);
public bool TryGetValue (CustomStyleProperty<Color> property, out Color value);
public bool TryGetValue (CustomStyleProperty<Texture2D> property, out Texture2D value);
public bool TryGetValue (CustomStyleProperty<string> property, out string value);

戻り値

bool True if the property is found, false if not.

説明

Gets the value associated with the specified CustomStyleProperty.