Esempio n. 1
0
    public void Turn()
    {
        if (GTween.IsTweening(this))
        {
            return;
        }

        bool toOpen = !_front.visible;

        GTween.To(0, 180, 0.8f).SetTarget(this).SetEase(EaseType.QuadOut).OnUpdate(TurnInTween).SetUserData(toOpen);
    }