BigBadGuy.Pause C# (CSharp) Method

Pause() public method

public Pause ( bool isPause ) : void
isPause bool
return void
    public void Pause (bool isPause)
    {
        if (isPause && null != _iTP && _iTP.IsInvoking ()) {
            iTween.Pause (gameObject);
        } else if (!isPause && null != _iTP && !_iTP.IsInvoking ()) {
            iTween.Resume (gameObject);
        }
    }