public override void OnInspectorGUI() { GUILayout.Space(6.0f); NGUIEditorTools.SetLabelWidth(120f); TweenConcurrent tw = target as TweenConcurrent; GUI.changed = false; if (GUI.changed) { NGUIEditorTools.RegisterUndo("Tween Change", tw); UnityEditor.EditorUtility.SetDirty(tw); } this.DrawModifiedCommonProperties(); }
static public TweenConcurrent Begin(GameObject go, float duration) { TweenConcurrent comp = UITweener.Begin <TweenConcurrent>(go, duration); return(comp); }