Exemple #1
0
        void SetupAudioService()
        {
            var audioService = RootContextView.GetComponentInChildren <AudioServices>();

            injectionBinder.Bind <AudioServices>().To(audioService).ToSingleton().CrossContext();
        }
Exemple #2
0
        void SetupAnalyticService()
        {
            var flurryConfig = RootContextView.GetComponent <FlurryConfigs>();

            AnalyticService.StartTracking(flurryConfig.FlurryIosKey, flurryConfig.FlurryAndroidKey);
        }
Exemple #3
0
        void SetupStateMachine()
        {
            var stateMachine = RootContextView.GetComponentInChildren <Animator>();

            injectionBinder.Bind <Animator>().To(stateMachine).ToName(BibaMenuConstants.BIBA_STATE_MACHINE).ToSingleton().CrossContext();
        }