Class SelectOnString
Selects a value from a set by switching over a string.
Inherited Members
Namespace: Unity.VisualScripting
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 |
---|---|
Boolean |
Methods
Matches(String, String)
Declaration
protected override bool Matches(string a, string b)
Parameters
Type | Name | Description |
---|---|---|
String | a | |
String | b |
Returns
Type | Description |
---|---|
Boolean |
Overrides
Unity.VisualScripting.SelectUnit<System.String>.Matches(System.String, System.String)