Beispiel #1
0
	public override void OnInspectorGUI ()
	{
        UITweenColor tweencolor = target as UITweenColor;
		base.OnInspectorGUI ();

		EditorETweenUITools.OnDrawGUI<Graphic> (tweencolor.gameObject, tweencolor.listGraphic);

		if (GUI.changed) {
			EditorTools.SetDirty(tweencolor);
		}
	}
Beispiel #2
0
    public override void OnInspectorGUI()
    {
        UITweenUV tweenuv = target as UITweenUV;
        base.OnInspectorGUI();

        
        EditorETweenUITools.OnDrawGUI<RawImage>(tweenuv.gameObject, tweenuv.listGraphic);


        if (GUI.changed)
        {
            EditorTools.SetDirty(tweenuv);
        }
    }
Beispiel #3
0
	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);
		}
	}