public override void OnInspectorGUI () { UITweenColor tweencolor = target as UITweenColor; base.OnInspectorGUI (); EditorETweenUITools.OnDrawGUI<Graphic> (tweencolor.gameObject, tweencolor.listGraphic); if (GUI.changed) { EditorTools.SetDirty(tweencolor); } }
public override void OnInspectorGUI() { UITweenUV tweenuv = target as UITweenUV; base.OnInspectorGUI(); EditorETweenUITools.OnDrawGUI<RawImage>(tweenuv.gameObject, tweenuv.listGraphic); if (GUI.changed) { EditorTools.SetDirty(tweenuv); } }
public override void OnInspectorGUI () { UITweenAlpha tweenalpha = target as UITweenAlpha; base.OnInspectorGUI (); if(!tweenalpha.dynamicBind) EditorETweenUITools.OnDrawGUI<Graphic>(tweenalpha.gameObject, tweenalpha.listGraphic); if (GUI.changed) { if (tweenalpha.dynamicBind) tweenalpha.listGraphic.Clear(); EditorTools.SetDirty(tweenalpha); } }