示例#1
0
 void Awake()
 {
     _processor    = new ProfileUpdateProcessor(InterfaceFinder.Find <IProfileUpdateService>());
     _errorHandler = InterfaceFinder.Find <IErrorHandler>();
     _loader       = InterfaceFinder.Find <ILoader>();
     _canvasGroup  = resetPassword.GetComponent <CanvasGroup>();
     _alpha        = _canvasGroup.alpha;
 }
示例#2
0
文件: Login.cs 项目: einsju/Photofeud
 void Awake()
 {
     _processor              = new LoginProcessor(InterfaceFinder.Find <IAuthenticationService>());
     _errorHandler           = InterfaceFinder.Find <IErrorHandler>();
     _loader                 = InterfaceFinder.Find <ILoader>();
     _loginButtonCanvasGroup = login.GetComponent <CanvasGroup>();
     _loginCanvasGroupAlpha  = _loginButtonCanvasGroup.alpha;
 }
示例#3
0
        void Awake()
        {
            _processor    = new RegistrationProcessor(InterfaceFinder.Find <IAuthenticationService>());
            _errorHandler = InterfaceFinder.Find <IErrorHandler>();
            _loader       = InterfaceFinder.Find <ILoader>();

            _registerButtonCanvasGroup = register.GetComponent <CanvasGroup>();
            _registerCanvasGroupAlpha  = _registerButtonCanvasGroup.alpha;
        }
示例#4
0
 void Awake()
 {
     _processor    = new SocialLoginProcessor(InterfaceFinder.Find <IAuthenticationService>());
     _errorHandler = InterfaceFinder.Find <IErrorHandler>();
     _loader       = InterfaceFinder.Find <ILoader>();
 }
示例#5
0
文件: Menu.cs 项目: einsju/Photofeud
 void Awake()
 {
     _processor = new LogoutProcessor(InterfaceFinder.Find <IAuthenticationService>());
 }