コード例 #1
0
        public static void ViewConditionalSplit(IView v, delConditionalSplit onDecal, delConditionalSplit onVVS, object data)
        {
            Type vtype = v.GetType();

#if VVS_REFERENCED
            if (vtype == typeof(VirindiViewServiceHudControls.View))
            {
                if (onVVS != null)
                {
                    onVVS(data);
                }
            }
#endif

            if (vtype == typeof(DecalControls.View))
            {
                if (onDecal != null)
                {
                    onDecal(data);
                }
            }
        }
コード例 #2
0
        public static void ViewConditionalSplit(IView v, delConditionalSplit onDecal, delConditionalSplit onVVS, object data)
        {
            Type vtype = v.GetType();

#if VVS_REFERENCED
            if (vtype == typeof(VirindiViewServiceHudControls.View))
            {
                if (onVVS != null)
                    onVVS(data);
            }
#endif

            if (vtype == typeof(DecalControls.View))
            {
                if (onDecal != null)
                    onDecal(data);
            }
        }