Пример #1
0
    // A more customisable version of PopIn.
    // Control the duration of the pop by changing the number.

    void Start()
    {
        JuiceBox.PopIn(gameObject, 2f);
    }
Пример #2
0
    // The full version of PopIn, using all 4 options.
    // Control the duration of the pop, the delay before popping and the type of easing.

    void Start()
    {
        JuiceBox.PopIn(gameObject, .6f, 1, iTween.EaseType.easeOutBack);
    }