public GUISpriteSheetClips(OnGUIAction action = null)
 {
     if (action != null)
     {
         onGUIAction += action;
     }
 }
 public GUISpriteSheetMaterials(OnGUIAction action = null)
 {
     if (action != null)
     {
         onGUIAction += action;
     }
 }
Esempio n. 3
0
 public GUIToolbar(GUIContent[] itemContent, OnGUIAction action = null)
 {
     this.itemContent = itemContent;
     if (action != null)
     {
         onGUIAction += action;
     }
 }
Esempio n. 4
0
 public GUIToggle(GUIContent content, OnGUIAction action = null)
 {
     _content = content;
     if (action != null)
     {
         onGUIAction += action;
     }
 }
Esempio n. 5
0
		public GUIToolbar( GUIContent[] itemContent, OnGUIAction action=null)
		{
			this.itemContent = itemContent;
			if( action != null)
			{
				onGUIAction += action;
			}
		}
Esempio n. 6
0
		public GUIColorField( GUIContent content, OnGUIAction action=null)
		{
			_content = content;
			if( action != null)
			{
				onGUIAction += action;
			}
		}
 public GUITextureField(GUIContent content, OnGUIAction action = null)
 {
     _content = content;
     if (action != null)
     {
         onGUIAction += action;
     }
 }
Esempio n. 8
0
		public GUIToggle( GUIContent content, OnGUIAction action=null)
		{
			_content = content;
			if( action != null)
			{
				onGUIAction += action;
			}
		}
Esempio n. 9
0
 public GUIVector3Field(GUIContent content, OnGUIAction action = null)
 {
     _content = content;
     if (action != null)
     {
         onGUIAction += action;
     }
 }
Esempio n. 10
0
        public GUITextField(GUIContent content, string value = "", OnGUIAction action = null)
        {
            this.value = value;

            _content = content;
            if (action != null)
            {
                onGUIAction += action;
            }
        }
Esempio n. 11
0
		public GUIEnumPopup( GUIContent content, System.Enum value, OnGUIAction action=null)
		{
			this.value = value;

			_content = content;
			if( action != null)
			{
				onGUIAction += action;
			}
		}
Esempio n. 12
0
		public GUITextField( GUIContent content, string value="", OnGUIAction action=null)
		{
			this.value = value;
			
			_content = content;
			if( action != null)
			{
				onGUIAction += action;
			}
		}
Esempio n. 13
0
        public GUIEnumPopup(GUIContent content, System.Enum value, OnGUIAction action = null)
        {
            this.value = value;

            _content = content;
            if (action != null)
            {
                onGUIAction += action;
            }
        }
Esempio n. 14
0
        public GUIPopup(GUIContent content, GUIContent[] displayedOptions, int selectedIndex = 0, OnGUIAction action = null)
        {
            this.displayedOptions = displayedOptions;
            this.selectedIndex    = selectedIndex;
            _content = content;

            if (action != null)
            {
                onGUIAction += action;
            }
        }
Esempio n. 15
0
		public GUIPopup( GUIContent content, GUIContent[] displayedOptions, int selectedIndex=0, OnGUIAction action=null)
		{
			this.displayedOptions = displayedOptions;
			this.selectedIndex = selectedIndex;
			_content = content;

			if( action != null)
			{
				onGUIAction += action;
			}
		}
Esempio n. 16
0
		public GUISlider( GUIContent content, float value=0.0f, float minValue=0.0f, float maxValue=1.0f, OnGUIAction action=null)
		{
			this.value = value;
			this.minValue = minValue;
			this.maxValue = maxValue;

			_content = content;
			if( action != null)
			{
				onGUIAction += action;
			}
		}
Esempio n. 17
0
        public GUISlider(GUIContent content, float value = 0.0f, float minValue = 0.0f, float maxValue = 1.0f, OnGUIAction action = null)
        {
            this.value    = value;
            this.minValue = minValue;
            this.maxValue = maxValue;

            _content = content;
            if (action != null)
            {
                onGUIAction += action;
            }
        }
Esempio n. 18
0
		public GUIIntSlider( GUIContent content, int value=0, int minValue=0, int maxValue=100, OnGUIAction action=null)
		{
			this.value = value;
			this.minValue = minValue;
			this.maxValue = maxValue;
			
			_content = content;
			if( action != null)
			{
				onGUIAction += action;
			}
		}
Esempio n. 19
0
        public GUIIntSlider(GUIContent content, int value = 0, int minValue = 0, int maxValue = 100, OnGUIAction action = null)
        {
            this.value    = value;
            this.minValue = minValue;
            this.maxValue = maxValue;

            _content = content;
            if (action != null)
            {
                onGUIAction += action;
            }
        }
        public GUIDelayedIntField(GUIContent content, int value = 0, int minValue = 0, int maxValue = 0, OnGUIAction action = null)
        {
            this.value     = value;
            _previousValue = value;
            this.minValue  = minValue;
            this.maxValue  = maxValue;

            _content = content;
            if (action != null)
            {
                onGUIAction += action;
            }
        }
Esempio n. 21
0
		public GUIDelayedIntField( GUIContent content, int value=0, int minValue=0, int maxValue=0, OnGUIAction action=null)
		{
			this.value = value;
			_previousValue = value;
			this.minValue = minValue;
			this.maxValue = maxValue;

			_content = content;
			if( action != null)
			{
				onGUIAction += action;
			}
		}
Esempio n. 22
0
		public GUITextureField( GUIContent content, OnGUIAction action=null, OnGUIPreAction preAction=null)
		{
			_content = content;
			if( preAction != null)
			{
				onGUIPreAction += preAction;
			}

			if( action != null)
			{
				onGUIAction += action;
			}
		}
Esempio n. 23
0
        public GUIObjectField(GUIContent content, bool allowsSceneObjects = true, OnGUIAction action = null, OnGUIPreAction preAction = null)
        {
            _content = content;
            this.allowsSceneObjects = allowsSceneObjects;
            if (preAction != null)
            {
                onGUIPreAction += preAction;
            }

            if (action != null)
            {
                onGUIAction += action;
            }
        }