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); } } }
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); } }