private void Awake() { m_uiEngine = IOCCore.Resolve <IUIEngine>(); if (m_localScale == Vector3.zero) { m_localScale = transform.localScale; } foreach (var item in m_synchronizedElements) { FordiNetwork.RegisterPhotonView(item); } }
void Awake() { m_settings = IOCCore.Resolve <ISettings>(); m_experienceMachine = IOCCore.Resolve <IExperienceMachine>(); m_webInterface = IOCCore.Resolve <IWebInterface>(); m_uiEngine = IOCCore.Resolve <IUIEngine>(); if (m_localScale == Vector3.zero) { m_localScale = transform.localScale; } foreach (var item in m_synchronizedElements) { FordiNetwork.RegisterPhotonView(item); } AwakeOverride(); }