Method RemoveAdditionalData
RemoveAdditionalData(MenuCommand, bool)
Removes a IAdditionalData and it's components defined by RequireComponent
Declaration
public static void RemoveAdditionalData(MenuCommand command, bool promptDisplay = true)
Parameters
| Type | Name | Description |
|---|---|---|
| MenuCommand | command | The command that is executing the removal |
| bool | promptDisplay | If the command must prompt a display to get user confirmation |
Exceptions
| Type | Condition |
|---|---|
| Exception | If the given MonoBehaviour is not an IAdditionalData |