public void FadeBustshotWithFiltering(int layer, string mask, int style, float wait, bool isblocking) { Layer layer2 = GetLayer(layer); while (layer2.FadingOut) { layer2.HideLayer(); layer2 = GetLayer(layer); } layer2.FadeLayerWithMask(mask, style, wait, isblocking); gameSystem.RegisterAction(delegate { }); }
public void FadeSpriteWithFiltering(int layer, string mask, int style, float wait, bool isblocking) { Layer layer2 = GetLayer(layer); layer2.FadeLayerWithMask(mask, style, wait, isblocking); }