Esempio n. 1
0
        /// <summary>
        /// Converts the record/s into a Unity GameObject structure with meshes, materials etc and imports into the scene.
        /// </summary>
        public override void ImportIntoScene()
        {
            base.ImportIntoScene();
            var dofComp = UnityGameObject.AddComponent <DegreeOfFreedom>();

            dofComp.OnDOFNode(this);
        }
        /// <summary>
        /// Converts the record/s into a Unity GameObject structure with meshes, materials etc and imports into the scene.
        /// Adds a Component to the DOF GameObject if one is assigned in the Settings.
        /// </summary>
        public override void ImportIntoScene()
        {
            base.ImportIntoScene();
            var switchComp = UnityGameObject.AddComponent <SwitchNode>();

            switchComp.OnSwitchNode(this);
        }
        /// <summary>
        /// Converts the record/s into a Unity GameObject structure with meshes, materials etc and imports into the scene.
        /// Adds a Component to the LOD GameObject if one is assigned in the Settings.
        /// </summary>
        public override void ImportIntoScene()
        {
            base.ImportIntoScene();
            var lodComp = UnityGameObject.AddComponent <LevelOfDetail>();

            lodComp.OnLODNode(this);
        }