Class ContextRelatedData
Used to store context related data on a PackSet or a Configuration.
Inherited Members
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: Unity.Industrial.Forma.Core
Syntax
[MovedFrom(true, "UnityEngine.Industrial.Configuring.Core", "Unity.Industrial.Configurator", null)]
public class ContextRelatedData : MonoBehaviour
Properties
ContextValues
Gets the context values.
Declaration
public IReadOnlyList<string> ContextValues { get; }
Property Value
| Type | Description | 
|---|---|
| IReadOnlyList<String> | The context values.  | 
Methods
AddValue(String)
Adds the value.
Declaration
public void AddValue(string value)
Parameters
| Type | Name | Description | 
|---|---|---|
| String | value | The value.  | 
Exceptions
| Type | Condition | 
|---|---|
| ArgumentNullException | The value must not be null. Use RemoveValue to remove the value.  | 
| ArgumentException | The value must not be empty.  | 
RemoveValue(Int32)
Removes the value.
Declaration
public void RemoveValue(int index)
Parameters
| Type | Name | Description | 
|---|---|---|
| Int32 | index | The index.  | 
Exceptions
| Type | Condition | 
|---|---|
| ArgumentException | The index is out of bounds.  |