Converts an alignment to another enum (e.g. Unity's built in types, NGUI or EZ GUI).
Namespace: NarayanaGames.Common.UIAssembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
public static int ConvertAlignment( NGAlignment..::..ScreenAlign screenAlign, NGAlignment..::..AlignmentType alignmentType )
Parameters
- screenAlign
- Type: NarayanaGames.Common.UI NGAlignment ScreenAlign
alignment in our encoding
- alignmentType
- Type: NarayanaGames.Common.UI NGAlignment AlignmentType
target alignment
Return Value
See Also