'iTween'에 해당되는 글 1건

  1. 2017/11/17 글뻥 Custom iTween for uGUI
I modified iTween for working  Fade/Color to the uGUI elements such as Text, Image, Textmesh.
and It will work Action<T> Lambda method.

iTween.ValueTo(gameObject, iTween.Hash(
    "from", 1f,
    "to", 0f,
    "time", 1f,
    "onupdate", (System.Action<object>)(x => { missedInfo.color = new Color(1f, 0f, 0f, (float)x); }),
    "oncomplete", (System.Action<object>)(x => missedInfo.gameObject.SetActive(true))

* Caution: If you didn't install the Textmesh pro, You could see the Error message on Unity3D


2017/11/17 10:49 2017/11/17 10:49
TAG , ,