示例#1
0
        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);
            }
        }
示例#2
0
        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();
        }