Class NumberMetadata
A class which can be used as a filter for searching for metadata by number value.
Inherited Members
Namespace: Unity.AssetManager.Editor
Assembly: Unity.AssetManager.Core.Editor.dll
Syntax
[Serializable]
public sealed class NumberMetadata : Metadata
Constructors
NumberMetadata(double)
Creates a new instance of the NumberMetadata class.
Declaration
public NumberMetadata(double value)
Parameters
| Type | Name | Description |
|---|---|---|
| double | value | The searchable value of a number metadata. This must exactly match the number value. |
Examples
Given a number value of 123, the number value must be 123.
Given a number value of 123.45, the number value must be 123.45.
Properties
Value
The searchable value of a number metadata. This must exactly match the number value.
Declaration
public double Value { get; }
Property Value
| Type | Description |
|---|---|
| double |
Examples
Given a number value of 123, the number value must be 123.
Given a number value of 123.45, the number value must be 123.45.