Struct StyleValue<T>
Assembly: UnityEngine.dll
Syntax
public struct StyleValue<T>
Type Parameters
Constructors
|
Improve this Doc
View Source
StyleValue(T)
Declaration
public StyleValue(T value)
Parameters
Type |
Name |
Description |
T |
value |
|
Fields
|
Improve this Doc
View Source
value
Declaration
Field Value
Properties
|
Improve this Doc
View Source
nil
Declaration
public static StyleValue<T> nil { get; }
Property Value
Methods
|
Improve this Doc
View Source
Create(T)
Declaration
public static StyleValue<T> Create(T value)
Parameters
Type |
Name |
Description |
T |
value |
|
Returns
|
Improve this Doc
View Source
GetSpecifiedValueOrDefault(T)
Declaration
public T GetSpecifiedValueOrDefault(T defaultValue)
Parameters
Type |
Name |
Description |
T |
defaultValue |
|
Returns
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
|
Improve this Doc
View Source
Implicit(T to StyleValue<T>)
Declaration
public static implicit operator StyleValue<T>(T value)
Parameters
Type |
Name |
Description |
T |
value |
|
Returns
|
Improve this Doc
View Source
Implicit(StyleValue<T> to T)
Declaration
public static implicit operator T(StyleValue<T> sp)
Parameters
Returns
Extension Methods