LTDescr.setDestroyOnComplete C# (CSharp) Méthode

setDestroyOnComplete() public méthode

public setDestroyOnComplete ( bool doesDestroy ) : LTDescr
doesDestroy bool
Résultat LTDescr
    public LTDescr setDestroyOnComplete( bool doesDestroy )
    {
        this.destroyOnComplete = doesDestroy;
        return this;
    }

Usage Example

Exemple #1
0
        void Start()
        {
            LTDescr ltDescr = LeanTween.rotateAroundLocal(gameObject, axis, add, time);

            ltDescr.setDelay(delay);
            ltDescr.setRepeat(repeat);
            ltDescr.setDestroyOnComplete(destroyOnComplete);
        }
All Usage Examples Of LTDescr::setDestroyOnComplete
LTDescr