Class DefaultValueAttribute
Adds default value information for optional parameters
Inheritance
DefaultValueAttribute
Assembly: UnityEngine.dll
Syntax
[Serializable]
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.GenericParameter)]
public class DefaultValueAttribute : Attribute, _Attribute
Constructors
|
Improve this Doc
View Source
DefaultValueAttribute(String)
Declaration
public DefaultValueAttribute(string value)
Parameters
Type |
Name |
Description |
String |
value |
|
Properties
|
Improve this Doc
View Source
Value
Declaration
public object Value { get; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Implements
Extension Methods