예제 #1
0
        /// Initialise function
        ///
        public void Initialise()
        {
            m_audioService        = GlobalDirector.Service <AudioService>();
            m_inputService        = GlobalDirector.Service <InputService>();
            m_localisationService = GlobalDirector.Service <LocalisationService>();

            InitialiseInternal();
        }
예제 #2
0
 /// Called when the global director is ready
 ///
 protected virtual void OnDirectorReady()
 {
     m_localisationService = GlobalDirector.Service <LocalisationService>();
     m_localisationService.OnLanguageChanged += OnLanguageChanged;
     if (m_localisationService.m_loaded == true)
     {
         OnLanguageChanged();
     }
 }