/// <summary> /// First method called in Unity component render process. /// </summary> private void Awake() { unityServiceLocator = UnityServiceLocator.Instance; try { InjectServices(); CheckBindableObjects(); InitializeComponent(); } catch (Exception e) { logger.Exception(e); } }
/// <summary> /// ServiceModule constructor. /// </summary> protected ServiceModule() { unityServiceLocator = UnityServiceLocator.Instance; IsRunning = false; }
#pragma warning restore 0649 /// <summary> /// Module constructor. /// </summary> protected Module() { unityServiceLocator = UnityServiceLocator.Instance; }