Exemple #1
0
    public void Show(float duration)
    {
        if (_isShown)
        {
            return;
        }

        _isShown = true;

        _containerToUse.AddChildAtBack(this);
        Go.killAllTweensWithTarget(this);
        Go.to(this, duration, new TweenConfig().floatProp("alpha", 1.0f).onComplete(HandleShowComplete));
    }