code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using System.Collections; using System.Collections.Generic; /// <summary> /// Base class for all tweening operations....
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Tweening/UITweener.cs
C#
asf20
11,547
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; /// <summary> /// Tween the object's color. /// </summary> [AddComponentMenu("NGUI/Tween/Tween Color")] public class...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Tweening/TweenColor.cs
C#
asf20
2,392
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; /// <summary> /// Tween the camera's orthographic size. /// </summary> [RequireComponent(typeof(Camera))] [AddCompon...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Tweening/TweenOrthoSize.cs
C#
asf20
1,598
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; /// <summary> /// Makes it possible to animate a color of the widget. /// </summary> [ExecuteInEditMode] [RequireCom...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Tweening/AnimatedColor.cs
C#
asf20
570
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; /// <summary> /// Tween the object's rotation. /// </summary> [AddComponentMenu("NGUI/Tween/Tween Rotation")] public...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Tweening/TweenRotation.cs
C#
asf20
1,963
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; /// <summary> /// Makes it possible to animate alpha of the widget or a panel. /// </summary> [ExecuteInEditMode] pu...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Tweening/AnimatedAlpha.cs
C#
asf20
700
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; /// <summary> /// Tween the object's local scale. /// </summary> [AddComponentMenu("NGUI/Tween/Tween Scale")] public...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Tweening/TweenScale.cs
C#
asf20
1,974
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; /// <summary> /// Tween the object's position, rotation and scale. /// </summary> [AddComponentMenu("NGUI/Tween/Twee...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Tweening/TweenTransform.cs
C#
asf20
2,103
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using System.Collections.Generic; /// <summary> /// Base class for all UI components that should be derived from when...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Internal/UIWidget.cs
C#
asf20
34,907
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using System.Collections.Generic; using System.Diagnostics; /// <summary> /// This improved version of the System.Col...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Internal/BetterList.cs
C#
asf20
8,308
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using System.Text; using System.Collections.Generic; /// <summary> /// MemoryStream.ReadLine has an interesting oddit...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Internal/ByteReader.cs
C#
asf20
5,859
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using System.Collections.Generic; /// <summary> /// Generated geometry class. All widgets have one. /// This class se...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Internal/UIGeometry.cs
C#
asf20
3,445
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; /// <summary> /// Event Hook class lets you easily add remote event listener functions to an object. /// Example usa...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Internal/UIEventListener.cs
C#
asf20
2,350
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- #if !UNITY_3_5 && !UNITY_FLASH #define DYNAMIC_FONT #endif using UnityEngine; using System.Text; /// <summary> /// Helper class contain...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Internal/NGUIText.cs
C#
asf20
40,312
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- #if !UNITY_3_5 && !UNITY_4_0 && !UNITY_4_1 && !UNITY_4_2 #define USE_MECANIM #endif using UnityEngine; using AnimationOrTween; using Sys...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Internal/ActiveAnimation.cs
C#
asf20
9,803
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- #if UNITY_EDITOR || (!UNITY_FLASH && !NETFX_CORE && !UNITY_WP8) #define REFLECTION_SUPPORT #endif using System; using System.IO; using S...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Internal/DataNode.cs
C#
asf20
18,870
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using System.Collections.Generic; /// <summary> /// Localization manager is able to parse localization information fr...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Internal/Localization.cs
C#
asf20
8,331
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; /// <summary> /// Abstract UI rectangle containing functionality common to both panels and widgets. /// A UI rectangl...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Internal/UIRect.cs
C#
asf20
15,290
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; /// <summary> /// Time class has no timeScale-independent time. This class fixes that. /// </summary> public class R...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Internal/RealTime.cs
C#
asf20
1,222
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; namespace AnimationOrTween { public enum Trigger { OnClick, OnHover, OnPress, OnHoverTrue, OnHoverFalse,...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Internal/AnimationOrTween.cs
C#
asf20
731
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; /// <summary> /// Similar to SpringPosition, but also moves the panel's clipping. Works in local coordinates. /// </s...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Internal/SpringPanel.cs
C#
asf20
2,397
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- #if UNITY_EDITOR || (!UNITY_FLASH && !NETFX_CORE && !UNITY_WP8) #define REFLECTION_SUPPORT #endif #if REFLECTION_SUPPORT using System.Re...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Internal/PropertyReference.cs
C#
asf20
7,801
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using System.Collections.Generic; /// <summary> /// BMFont reader. C# implementation of http://www.angelcode.com/prod...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Internal/BMFont.cs
C#
asf20
3,679
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; /// <summary> /// Property binding lets you bind two fields or properties so that changing one will update the other....
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Internal/PropertyBinding.cs
C#
asf20
2,820
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- //#define SHOW_HIDDEN_OBJECTS using UnityEngine; using System.Collections.Generic; /// <summary> /// This is an internally-created scri...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Internal/UIDrawCall.cs
C#
asf20
20,223
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using System.Collections.Generic; /// <summary> /// This class is meant to be used only internally. It's like Debug.L...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Internal/NGUIDebug.cs
C#
asf20
2,732
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using System.Collections.Generic; /// <summary> /// Glyph structure used by BMFont. For more information see http://...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Internal/BMGlyph.cs
C#
asf20
2,438
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using System; using System.Collections.Generic; using System.IO; using System.Reflection; /// <summary> /// Helper cl...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Internal/NGUITools.cs
C#
asf20
36,364
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using System; using System.Collections.Generic; using System.Text; /// <summary> /// Helper class containing generic ...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Internal/NGUIMath.cs
C#
asf20
28,811
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using System.Collections.Generic; /// <summary> /// Symbols are a sequence of characters such as ":)" that get replac...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Internal/BMSymbol.cs
C#
asf20
2,334
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- #if UNITY_EDITOR || (!UNITY_FLASH && !NETFX_CORE && !UNITY_WP8) #define REFLECTION_SUPPORT #endif #if REFLECTION_SUPPORT using System.Re...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Internal/EventDelegate.cs
C#
asf20
16,397
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; /// <summary> /// Inspector class used to view UIDrawCalls. /// </summary> [CustomEditor(typeof(U...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIDrawCallInspector.cs
C#
asf20
1,074
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; using System.Collections.Generic; /// <summary> /// Editor class used to view panels. /// </summar...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIPanelInspector.cs
C#
asf20
22,520
using UnityEngine; using UnityEditor; /// <summary> /// This editor helper class makes it easy to create and show a context menu. /// It ensures that it's possible to add multiple items with the same name. /// </summary> public static class NGUIContextMenu { [MenuItem("Help/NGUI Documentation")] static void ShowHel...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/NGUIContextMenu.cs
C#
asf20
19,430
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; using System.Collections.Generic; /// <summary> /// Inspector class used to edit UISprites. /// </...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIImageButtonInspector.cs
C#
asf20
1,272
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CanEditMultipleObjects] #if UNITY_3_5 [CustomEditor(typeof(UIButtonKeys))] #else [CustomEditor(ty...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIButtonKeysEditor.cs
C#
asf20
753
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; using System.Collections.Generic; [CustomEditor(typeof(UIEventTrigger))] public class UIEventTrigg...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIEventTriggerEditor.cs
C#
asf20
2,108
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; using System.Collections.Generic; /// <summary> /// Inspector class used to edit UISprites. /// </...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UISpriteInspector.cs
C#
asf20
4,969
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; /// <summary> /// Editor helper class containing functions related to drawing things in the Scene ...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/NGUIHandles.cs
C#
asf20
5,416
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; /// <summary> /// Utility class that makes it easy to perform snapping while dragging widgets. /// </summary> public...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/NGUISnap.cs
C#
asf20
3,965
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- #if !UNITY_3_5 && !UNITY_4_0 && !UNITY_4_1 && !UNITY_4_2 using UnityEngine; using UnityEditor; using System.Collections.Generic; /// <s...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UI2DSpriteEditor.cs
C#
asf20
1,718
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CustomEditor(typeof(UIPlayTween))] public class UIPlayTweenEditor : Editor { enum ResetOnPlay {...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIPlayTweenEditor.cs
C#
asf20
2,190
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- #if !UNITY_3_5 && !UNITY_FLASH #define DYNAMIC_FONT #endif using UnityEditor; using UnityEngine; using System.Collections.Generic; /// ...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UICreateWidgetWizard.cs
C#
asf20
25,562
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEditor; using UnityEngine; using System.Collections.Generic; /// <summary> /// Panel wizard that allows a bird's eye view of...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UICameraTool.cs
C#
asf20
5,767
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CanEditMultipleObjects] [CustomEditor(typeof(UISlider))] public class UISliderEditor : UIProgress...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UISliderEditor.cs
C#
asf20
335
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- #if !UNITY_3_5 && !UNITY_FLASH #define DYNAMIC_FONT #endif using UnityEngine; using UnityEditor; using System.Collections.Generic; /// ...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIPopupListInspector.cs
C#
asf20
6,764
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; using System.Collections.Generic; [CanEditMultipleObjects] #if UNITY_3_5 [CustomEditor(typeof(UILo...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UILocalizeEditor.cs
C#
asf20
3,411
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CanEditMultipleObjects] [CustomEditor(typeof(PropertyBinding))] public class PropertyBindingEdito...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/PropertyBindingEditor.cs
C#
asf20
2,750
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CustomEditor(typeof(TweenHeight))] public class TweenHeightEditor : UITweenerEditor { public ove...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/TweenHeightEditor.cs
C#
asf20
909
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; using System; using System.Collections.Generic; /// <summary> /// This script adds the NGUI menu o...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/NGUIHelp.cs
C#
asf20
4,117
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; using System.Collections.Generic; using System; using System.Reflection; /// <summary> /// Generic...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/PropertyReferenceDrawer.cs
C#
asf20
4,942
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; using System.Collections.Generic; using System.IO; /// <summary> /// Inspector class used to edit ...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIAtlasInspector.cs
C#
asf20
17,740
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEditor; using UnityEngine; using System.Collections.Generic; /// <summary> /// Panel wizard that allows enabling / disabling ...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIPanelTool.cs
C#
asf20
6,240
using System; using System.Collections; using System.Text; using System.Collections.Generic; using UnityEngine; // Source: UIToolkit -- https://github.com/prime31/UIToolkit/blob/master/Assets/Plugins/MiniJSON.cs // Based on the JSON parser from // http://techblog.procurios.nl/k/618/news/view/14605/14863/How-do-I-wri...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/NGUIJson.cs
C#
asf20
18,740
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEditor; using UnityEngine; using System.Collections.Generic; /// <summary> /// EditorGUILayout.ObjectField doesn't support cu...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/ComponentSelector.cs
C#
asf20
7,434
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; using System.Collections.Generic; /// <summary> /// Inspector class used to edit UIWidgets. /// </...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIWidgetInspector.cs
C#
asf20
32,311
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; using System.Collections.Generic; /// <summary> /// Inspector class used to edit UITextu...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UITextureInspector.cs
C#
asf20
2,033
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CustomEditor(typeof(UIScrollView))] public class UIScrollViewEditor : Editor { public override v...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIScrollViewEditor.cs
C#
asf20
2,404
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; using System.Collections.Generic; /// <summary> /// Editor class used to view UIRects. /// </summa...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIRectEditor.cs
C#
asf20
18,517
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; using System.Text; /// <summary> /// Helper class that takes care of loading BMFont's glyph inform...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/BMFontReader.cs
C#
asf20
4,436
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CanEditMultipleObjects] [CustomEditor(typeof(UICamera))] public class UICameraEditor : Editor { ...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UICameraEditor.cs
C#
asf20
5,531
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; /// <summary> /// Widget containers are classes that are meant to hold more than one widget inside...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIWidgetContainerEditor.cs
C#
asf20
8,301
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEditor; using UnityEngine; using System.Collections.Generic; using System.Reflection; /// <summary> /// Tools for the editor ...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/NGUIEditorTools.cs
C#
asf20
55,303
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; /// <summary> /// Inspector class used to edit UISpriteAnimations. /// </summary> [CustomEditor(...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UISpriteAnimationInspector.cs
C#
asf20
1,428
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CanEditMultipleObjects] [CustomEditor(typeof(UIToggle))] public class UIToggleInspector : UIWidge...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIToggleInspector.cs
C#
asf20
1,924
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CanEditMultipleObjects] #if UNITY_3_5 [CustomEditor(typeof(UIWrapContent))] #else [CustomEditor(t...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIWrapContentEditor.cs
C#
asf20
1,708
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- #if UNITY_3_5 using UnityEngine; using UnityEditor; [CustomEditor(typeof(Transform))] public class NGUITransformInspector : Editor { /// <sum...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/NGUITransformInspector.cs
C#
asf20
9,324
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CanEditMultipleObjects] [CustomEditor(typeof(UIDragObject))] public class UIDragObjectEditor : Ed...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIDragObjectEditor.cs
C#
asf20
1,666
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; using System.Collections.Generic; /// <summary> /// Atlas maker lets you create atlases from a bun...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIAtlasMaker.cs
C#
asf20
29,321
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- #if UNITY_IPHONE || UNITY_ANDROID || UNITY_WP8 || UNITY_BLACKBERRY #define MOBILE #endif using UnityEngine; using UnityEditor; [CanEdit...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIInputEditor.cs
C#
asf20
3,048
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CanEditMultipleObjects] [CustomEditor(typeof(UIScrollBar))] public class UIScrollBarEditor : UIPr...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIScrollBarEditor.cs
C#
asf20
1,136
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CustomEditor(typeof(TweenOrthoSize))] public class TweenOrthoSizeEditor : UITweenerEditor { publ...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/TweenOrthoSizeEditor.cs
C#
asf20
835
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CanEditMultipleObjects] #if UNITY_3_5 [CustomEditor(typeof(UIProgressBar))] #else [CustomEditor(t...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIProgressBarEditor.cs
C#
asf20
2,314
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CustomEditor(typeof(TweenVolume))] public class TweenVolumeEditor : UITweenerEditor { public ove...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/TweenVolumeEditor.cs
C#
asf20
778
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CanEditMultipleObjects] #if UNITY_3_5 [CustomEditor(typeof(UIKeyNavigation))] #else [CustomEditor...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIKeyNavigationEditor.cs
C#
asf20
1,277
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CustomEditor(typeof(TweenScale))] public class TweenScaleEditor : UITweenerEditor { public overr...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/TweenScaleEditor.cs
C#
asf20
872
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using System; using System.IO; using System.Runtime.InteropServices; using UnityEngine; /// <summary> /// FreeType library is a C++ libr...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/FreeType.cs
C#
asf20
20,032
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CanEditMultipleObjects] #if UNITY_3_5 [CustomEditor(typeof(UIButton))] #else [CustomEditor(typeof...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIButtonEditor.cs
C#
asf20
2,193
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CanEditMultipleObjects] [CustomEditor(typeof(UIRoot))] public class UIRootEditor : Editor { publ...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIRootEditor.cs
C#
asf20
1,143
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; using System.Reflection; using System.Collections.Generic; using Entry = PropertyReferenceDrawer.En...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/EventDelegateEditor.cs
C#
asf20
7,758
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- // Dynamic font support contributed by the NGUI community members: // Unisip, zh4ox, Mudwiz, Nicki, DarkMagicCK. using UnityEngine; usin...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIFontInspector.cs
C#
asf20
18,659
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CustomEditor(typeof(TweenTransform))] public class TweenTransformEditor : UITweenerEditor { }
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/TweenTransformEditor.cs
C#
asf20
318
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; using System.Collections.Generic; using System.Text; using System.IO; /// <summary> /// Font maker...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIFontMaker.cs
C#
asf20
17,254
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; #if UNITY_3_5 [CustomEditor(typeof(UITweener))] #else [CustomEditor(typeof(UITweener), true)] #end...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UITweenerEditor.cs
C#
asf20
2,065
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CustomEditor(typeof(ActiveAnimation))] public class ActiveAnimationEditor : Editor { public over...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/ActiveAnimationEditor.cs
C#
asf20
532
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; using System.Collections.Generic; public class NGUISelectionTools { [MenuItem("GameObject/Selecti...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/NGUISelectionTools.cs
C#
asf20
6,044
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CustomEditor(typeof(TweenPosition))] public class TweenPositionEditor : UITweenerEditor { public...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/TweenPositionEditor.cs
C#
asf20
786
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CanEditMultipleObjects] [CustomEditor(typeof(UIAnchor))] public class UIAnchorEditor : Editor { }...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIAnchorEditor.cs
C#
asf20
322
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CustomEditor(typeof(TweenWidth))] public class TweenWidthEditor : UITweenerEditor { public overr...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/TweenWidthEditor.cs
C#
asf20
905
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- #if !UNITY_3_5 && !UNITY_4_0 && !UNITY_4_1 && !UNITY_4_2 #define USE_MECANIM #endif using UnityEngine; using UnityEditor; [CustomEditor...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIPlayAnimationEditor.cs
C#
asf20
3,136
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CanEditMultipleObjects] [CustomEditor(typeof(UIButtonMessage))] public class UIButtonMessageEdito...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIButtonMessageEditor.cs
C#
asf20
528
/* Based on the Public Domain MaxRectsBinPack.cpp source by Jukka Jylänki https://github.com/juj/RectangleBinPack/ Ported to C# by Sven Magnus This version is also public domain - do whatever you want with it. */ using UnityEngine; using System.Collections; using System.Collections.Generic; public class UITexture...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UITexturePacker.cs
C#
asf20
19,318
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- #if UNITY_3_5 using UnityEngine; using UnityEditor; [CanEditMultipleObjects] [CustomEditor(typeof(UIGrid))] public class UIGridEditor :...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIGridEditor.cs
C#
asf20
359
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CustomEditor(typeof(TweenAlpha))] public class TweenAlphaEditor : UITweenerEditor { public overr...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/TweenAlphaEditor.cs
C#
asf20
774
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CustomEditor(typeof(TweenFOV))] public class TweenFOVEditor : UITweenerEditor { public override ...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/TweenFOVEditor.cs
C#
asf20
770
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEditor; using UnityEngine; using System.Collections.Generic; /// <summary> /// UI Creation Wizard. This tool has been made ob...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UICreateNewUIWizard.cs
C#
asf20
2,057
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEditor; using UnityEngine; using System.Collections.Generic; /// <summary> /// Editor component used to display a list of spr...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/SpriteSelector.cs
C#
asf20
7,557
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CustomEditor(typeof(TweenRotation))] public class TweenRotationEditor : UITweenerEditor { public...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/TweenRotationEditor.cs
C#
asf20
786
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; [CanEditMultipleObjects] [CustomEditor(typeof(UIStretch))] public class UIStretchEditor : Editor {...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIStretchEditor.cs
C#
asf20
324
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2014 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; #if UNITY_3_5 [CustomEditor(typeof(UIButtonColor))] #else [CustomEditor(typeof(UIButtonColor), tru...
zzzstrawhatzzz
trunk/client/Assets/NGUI/Scripts/Editor/UIButtonColorEditor.cs
C#
asf20
2,235