Class UnityHudMemberStep
Inspector-authored implementation of IHudMemberStep.
Implements
Inherited Members
Namespace: Serenity.GameUi.Infrastructure.Settings
Assembly: Serenity.UnityGameUi.Infrastructure.dll
Syntax
public class UnityHudMemberStep : IHudMemberStep
Remarks
The parameter type names are stored next to the member name so the chosen overload survives a domain
reload, the same contract UnityReflectionCallTaskDefinition uses for its method selection.
Constructors
UnityHudMemberStep()
Declaration
public UnityHudMemberStep()
Properties
ArgumentTypeNames
Declaration
public IReadOnlyList<string> ArgumentTypeNames { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
ArgumentValues
Declaration
public IReadOnlyList<string> ArgumentValues { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
Kind
Declaration
public HudMemberKind Kind { get; }
Property Value
| Type | Description |
|---|---|
| HudMemberKind |
MemberName
Declaration
public string MemberName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
SetArguments(IEnumerable<string>, IEnumerable<string>)
Replaces the authored arguments. Used by the builder tool.
Declaration
public void SetArguments(IEnumerable<string> typeNames, IEnumerable<string> values)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<string> | typeNames | Assembly-qualified parameter type names. |
| IEnumerable<string> | values | The constant arguments, as text. |
SetMember(string, HudMemberKind)
Sets the member this step reads. Used by the builder tool.
Declaration
public void SetMember(string name, HudMemberKind memberKind)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The member name. |
| HudMemberKind | memberKind | Whether it is a field, property or method. |