LTDescr.setTextAlpha C# (CSharp) Method

setTextAlpha() public method

public setTextAlpha ( ) : LTDescr
return LTDescr
    public LTDescr setTextAlpha()
    {
        this.type = TweenAction.TEXT_ALPHA;
        this.initInternal = ()=>{
            this.uiText = trans.gameObject.GetComponent<UnityEngine.UI.Text>();
            this.fromInternal.x = this.uiText != null ? this.uiText.color.a : 1f;
        };
        this.easeInternal = ()=>{ textAlphaRecursive( trans, easeMethod().x, this.useRecursion ); };
        return this;
    }
LTDescr