Class SelectOnString
Selects a value from a set by switching over a string.
Implements
Inherited Members
Namespace: Unity.VisualScripting
Assembly: Unity.VisualScripting.Flow.dll
Syntax
[UnitCategory("Control")]
[UnitTitle("Select On String")]
[UnitShortTitle("Select")]
[UnitSubtitle("On String")]
[UnitOrder(7)]
public class SelectOnString : SelectUnit<string>, ISelectUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Properties
ignoreCase
Declaration
[Serialize]
[Inspectable]
[UnitHeaderInspectable("Ignore Case")]
[InspectorToggleLeft]
public bool ignoreCase { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
Matches(string, string)
Declaration
protected override bool Matches(string a, string b)
Parameters
Type | Name | Description |
---|---|---|
string | a | |
string | b |
Returns
Type | Description |
---|---|
bool |