LTDescr.setDestroyOnComplete C# (CSharp) Method

setDestroyOnComplete() public method

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

Usage Example

Beispiel #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