Class ViewControllerTransitionIdentifier
A transition identifier is used to identify a view controller transition. Generally, you create public, static ViewControllerTransitionIdentifier fields in your container view controller for each of its custom transitions. This identifier can then be used to identify the transition from any script, as well as exposed to the Graphing and Transition Sequence Animator systems.
You must specify a globally unique identifier for your transition identifier, which usually follows the format 'TypeName.TransitionName', such as CanvasController.Present.
You must specify a ViewControllerTransitionIdentifier.TransitionType for your transition identifier, which informs the graphing system how to treat your transition. The options are Presentation, Dismissal, and Replacement.
You may optionally specify a display name for your transition identifier. This will be displayed in the editor by both the Graphing and Transition Sequence Animator systems when exposing the transition identifier.
Inheritance
Inherited Members
Namespace: Pelican7.UIGraph
Assembly: UI Graph API Documentation Project.dll
Syntax
public class ViewControllerTransitionIdentifier
Constructors
ViewControllerTransitionIdentifier(String, ViewControllerTransitionIdentifier.TransitionType, String)
Create a new view controller transition identifier. Generally, you create public, static ViewControllerTransitionIdentifier fields in your container view controller for each of its custom transitions.
Declaration
public ViewControllerTransitionIdentifier(string guid, ViewControllerTransitionIdentifier.TransitionType type, string displayName = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | guid | |
ViewControllerTransitionIdentifier.TransitionType | type | |
System.String | displayName |
Properties
DisplayName
The transition identifier's display name. Used in the editor by the Graphing and Transition Sequence Animator systems.
Declaration
public string DisplayName { get; }
Property Value
Type | Description |
---|---|
System.String |
Guid
The transition identifier's globally unique identifier.
Declaration
public string Guid { get; }
Property Value
Type | Description |
---|---|
System.String |
Type
The transition identifier's type.
Declaration
public ViewControllerTransitionIdentifier.TransitionType Type { get; }
Property Value
Type | Description |
---|---|
ViewControllerTransitionIdentifier.TransitionType |