private bool PoolBootUpParts()
    {
        CountLimitParts = CountLimitPartsInitial;
        if (0 >= CountLimitParts)
        {
            CountLimitParts = (int)Constants.LIMIT_PARTS;
        }

        PoolParts = new Library_SpriteStudio.Control.PoolPartsEffect(CountLimitParts);
        PoolParts.BootUp(this);

        return(true);
    }
Example #2
0
    private bool PoolBootUpParts()
    {
        int Count = CountLimitParticleInitial;

        if (0 >= Count)
        {
            Count = (int)Constants.LIMIT_PARTICLE;
        }

        PoolParts = new Library_SpriteStudio.Control.PoolPartsEffect();
        PoolParts.BootUpWorkArea(this, Count);
        PoolParts.BootUp(this);

        FrameLength = (float)(PoolParts.EffectDurationFull);

        return(true);
    }
    private bool PoolBootUpParts()
    {
        CountLimitParts = CountLimitPartsInitial;
        if(0 >= CountLimitParts)
        {
            CountLimitParts = (int)Constants.LIMIT_PARTS;
        }

        PoolParts = new Library_SpriteStudio.Control.PoolPartsEffect(CountLimitParts);
        PoolParts.BootUp(this);

        return(true);
    }