protected virtual void Start() { Service.Get <ICPSwrveService>().Funnel(Service.Get <MembershipService>().AccountFunnelName, "03", "create"); createController = GetComponentInParent <AbstractCreateController>(); createController.OnCreateError += onCreateError; createController.CanShowAccountError = true; createController.CheckRegConfigReady(); }
public void OnCreateClicked() { if (createController.CheckRegConfigReady()) { Service.Get <ICPSwrveService>().Action("game.account_creation", "submit_clicked"); CoroutineRunner.StopAllForOwner(this); CoroutineRunner.Start(submitActions(), this, "CreateFormSubmitValidation"); } AccountFlowData accountFlowData = Service.Get <MembershipService>().GetAccountFlowData(); accountFlowData.FlowType = AccountFlowType.create; }