Пример #1
0
        // :TODO: Think about moving these out to some kind of controller type that also consumes the repository
        internal void SetTranslation(string objectID, Vector3 translation)
        {
            GameObjectRecord record = m_gameObjectRepository.GetObjectRecord(objectID);

            if (record != null)
            {
                record.TranslationOffsetECEF = translation;
                record.RootGameObject.transform.localPosition = translation;
            }
        }