public override void Setup(Object type)
        {
            base.Setup(type);
            SkinnedMeshRenderer component = (SkinnedMeshRenderer)type;

            Mesh.Setup(component.sharedMesh);
            UpdateWhenOffscreen.Setup(component.updateWhenOffscreen);
        }
        public override void Setup(Object type)
        {
            base.Setup(type);
            MeshCollider component = (MeshCollider)type;

            Convex.Setup(component.convex);
            SharedMesh.Setup(component.sharedMesh);
        }
Ejemplo n.º 3
0
        public override void Setup(Object type)
        {
            GameObject component = (GameObject)type;

            Active.Setup(component.activeInHierarchy);
            Tag.Setup(component.tag);
            Layer.Setup(component.layer);
            StaticEditorFlags.Setup(GameObjectUtility.GetStaticEditorFlags(component));
        }
        public override void Setup(Object type)
        {
            base.Setup(type);
            VRC_MirrorReflection component = (VRC_MirrorReflection)type;

            DisablePixelLights.Setup(component.m_DisablePixelLights);
            TurnOffMirrorOcclusion.Setup(component.TurnOffMirrorOcclusion);
            ReflectLayers.Setup(component.m_ReflectLayers);
        }
Ejemplo n.º 5
0
        public override void Setup(Object type)
        {
            base.Setup(type);
#if VRC_SDK_VRCSDK2
            VRC_MirrorReflection component = (VRC_MirrorReflection)type;
#elif VRC_SDK_VRCSDK3
            VRCMirrorReflection component = (VRCMirrorReflection)type;
#endif
            DisablePixelLights.Setup(component.m_DisablePixelLights);
            TurnOffMirrorOcclusion.Setup(component.TurnOffMirrorOcclusion);
            ReflectLayers.Setup(component.m_ReflectLayers);
        }
Ejemplo n.º 6
0
        public override void Setup(Object type)
        {
            Renderer component = (Renderer)type;

            Enabled.Setup(component.enabled);
            LightProbes.Setup(component.lightProbeUsage);
            AnchorOverride.Setup(component.probeAnchor);
            ReflectionProbes.Setup(component.reflectionProbeUsage);
            CastShadows.Setup(component.shadowCastingMode);
            ReceiveShadows.Setup(component.receiveShadows);
            DynamicOccluded.Setup(component.allowOcclusionWhenDynamic);
            for (int i = 0; i < component.sharedMaterials.Length; i++)
            {
                Materials.Add(new SharedMaterial());
                Materials[i].Setup(component.sharedMaterials[i]);
            }
        }
Ejemplo n.º 7
0
        public override void Setup(Object type)
        {
            Behaviour component = (Behaviour)type;

            Enabled.Setup(component.enabled);
        }
Ejemplo n.º 8
0
        public override void Setup(Object type)
        {
            Collider component = (Collider)type;

            Enabled.Setup(component.enabled);
        }