public static void CreateDialog(ExampleAccountType exampleAccountType) { GameObject dialogObject = new GameObject("Dialog"); AnonymousDowngradeDialog dialog = dialogObject.AddComponent <AnonymousDowngradeDialog>(); dialog.m_exampleAccountType = exampleAccountType; }
public static string getAccountLogin(ExampleAccountType exampleAccountType) { switch (exampleAccountType) { case ExampleAccountType.Universal_1: { return(getUniversal_1()); } case ExampleAccountType.Universal_2: { return(getUniversal_2()); } case ExampleAccountType.Email: { return(getEmail()); } default: { throw new Exception(); } } }
public static void CreateDialog(ExampleAccountType exampleAccountType) { GameObject dialogObject = new GameObject("Dialog"); WrapperCreateAccountDialog dialog = dialogObject.AddComponent <WrapperCreateAccountDialog>(); dialog.m_exampleAccountType = exampleAccountType; }
public static string getTypeName(ExampleAccountType exampleType) { switch (exampleType) { case ExampleAccountType.Anonymous: { return("Anonymous"); } case ExampleAccountType.Universal_1: case ExampleAccountType.Universal_2: { return("Universal"); } case ExampleAccountType.Email: { return("Email"); } case ExampleAccountType.GooglePlay: { return("Google"); } } return(""); }
public static void MergIdentityRequestDialog(ExampleAccountType exampleAccountType) { GameObject dialogObject = new GameObject("Dialog"); MergeIdentityDialog dialog = dialogObject.AddComponent <MergeIdentityDialog>(); dialog.m_exampleAccountType = exampleAccountType; dialog.m_state = ResponseState.Setup; }