This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using UnityEngine.EventSystems; | |
namespace UnityEngine.UI | |
{ | |
[AddComponentMenu ("UI/Scroll Rect", 33)] | |
[SelectionBase] | |
[ExecuteInEditMode] | |
[RequireComponent(typeof(RectTransform))] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine.EventSystems; | |
namespace UnityEngine.UI | |
{ | |
[RequireComponent (typeof (Canvas))] | |
[ExecuteInEditMode] | |
[AddComponentMenu("Layout/Reference Resolution", 101)] | |
public class ReferenceResolution : UIBehaviour | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine.EventSystems; | |
namespace UnityEngine.UI | |
{ | |
[RequireComponent (typeof (Canvas))] | |
[ExecuteInEditMode] | |
[AddComponentMenu("Layout/Physical Resolution", 102)] | |
public class PhysicalResolution : UIBehaviour | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
namespace UnityEngine.UI | |
{ | |
/// <summary> | |
/// Image is a textured element in the UI hierarchy. | |
/// </summary> | |
[AddComponentMenu("UI/Image", 10)] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using UnityEngine.Events; | |
using UnityEngine.EventSystems; | |
using UnityEngine.UI.CoroutineTween; | |
namespace UnityEngine.UI | |
{ | |
/// <summary> | |
/// Base class for all UI components that should be derived from when creating new Graphic types. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine.EventSystems; | |
namespace UnityEngine.UI | |
{ | |
[AddComponentMenu("Layout/Content Size Fitter", 141)] | |
[ExecuteInEditMode] | |
[RequireComponent (typeof (RectTransform))] | |
public class ContentSizeFitter : UIBehaviour, ILayoutSelfController | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using UnityEngine.Events; | |
// interface you implement in your MB to receive events | |
public interface ICustomHandler : IEventSystemHandler | |
{ | |
void OnCustomCode(CustomEventData eventData); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
namespace UnityEngine.UI | |
{ | |
[AddComponentMenu ("UI/Effects/Shadow", 14)] | |
public class Shadow : BaseVertexEffect | |
{ | |
[SerializeField] | |
private Color m_EffectColor = new Color (0f, 0f, 0f, 0.5f); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using UnityEngine.Events; | |
using UnityEngine.EventSystems; | |
namespace UnityEngine.UI | |
{ | |
[AddComponentMenu ("UI/Scroll Rect", 33)] | |
[SelectionBase] | |
[ExecuteInEditMode] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Text; | |
namespace UnityEngine.UI | |
{ | |
/// <summary> | |
/// Labels are graphics that display text. | |
/// </summary> |