Esempio n. 1
0
        void Update()
        {
#if UNITY_EDITOR
            // All changes must go through .Pose accessor
            if (transform.hasChanged)
            {
                Debug.LogError("Detected unsanctioned change to transform");
                transform.hasChanged = false;
            }
#endif
            m_BatchManager.Update();
        }
Esempio n. 2
0
        void Update()
        {
#if UNITY_EDITOR
            // All changes must go through .Pose accessor
            if (transform.hasChanged)
            {
                //Debug.LogError("Detected unsanctioned change to transform"); Editor only warning, probably not super important
                transform.hasChanged = false;
            }
#endif
            m_BatchManager.Update();
        }