LTDescr.setFrom C# (CSharp) Méthode

setFrom() public méthode

public setFrom ( float from ) : LTDescr
from float
Résultat LTDescr
    public LTDescr setFrom( float from )
    {
        return setFrom( new Vector3(from, 0f, 0f) );
    }

Same methods

LTDescr::setFrom ( Vector3 from ) : LTDescr

Usage Example

        void Start()
        {
            LTDescr ltDescr = LeanTween.moveLocalX(cloudRoot.gameObject, -1136, 200f);

            ltDescr.setFrom(1136);
            ltDescr.tweenType = LeanTweenType.linear;
            ltDescr.setRepeat(-1);
        }
All Usage Examples Of LTDescr::setFrom
LTDescr