Class SyncProviderAttribute
An attribute placed on ISyncProvider implementations to enable assigning the sync provider from the Live Capture project settings.
Namespace: Unity.LiveCapture
Assembly: Unity.LiveCapture.dll
Syntax
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public class SyncProviderAttribute : MenuPathAttribute
Constructors
SyncProviderAttribute(string, int)
Creates a new SyncProviderAttribute instance.
Declaration
public SyncProviderAttribute(string itemName, int priority = 0)
Parameters
Type | Name | Description |
---|---|---|
string | itemName | The menu item represented like a path name. For example, the menu item could be "Sub Menu/Action". |
int | priority | The order by which the menu items are displayed. Items in the same sub menu have a separator placed between them if their priority differs by more than 10. |