LTDescr.setRotateLocal C# (CSharp) 메소드

setRotateLocal() 공개 메소드

public setRotateLocal ( ) : LTDescr
리턴 LTDescr
    public LTDescr setRotateLocal()
    {
        this.type = TweenAction.ROTATE_LOCAL;
        this.initInternal = ()=>{ this.from = trans.localEulerAngles;  this.to = new Vector3(LeanTween.closestRot( this.fromInternal.x, this.toInternal.x), LeanTween.closestRot( this.from.y, this.to.y), LeanTween.closestRot( this.from.z, this.to.z)); };
        this.easeInternal = ()=>{
            newVect = easeMethod();
            trans.localEulerAngles = newVect;
        };
        return this;
    }
LTDescr