public GUISpriteSheetClips(OnGUIAction action = null)
 {
     if (action != null)
     {
         onGUIAction += action;
     }
 }
 public GUISpriteSheetMaterials(OnGUIAction action = null)
 {
     if (action != null)
     {
         onGUIAction += action;
     }
 }
 public GUIToolbar(GUIContent[] itemContent, OnGUIAction action = null)
 {
     this.itemContent = itemContent;
     if (action != null)
     {
         onGUIAction += action;
     }
 }
Exemple #4
0
 public GUIToggle(GUIContent content, OnGUIAction action = null)
 {
     _content = content;
     if (action != null)
     {
         onGUIAction += action;
     }
 }
Exemple #5
0
		public GUIToolbar( GUIContent[] itemContent, OnGUIAction action=null)
		{
			this.itemContent = itemContent;
			if( action != null)
			{
				onGUIAction += action;
			}
		}
Exemple #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;
     }
 }
Exemple #8
0
		public GUIToggle( GUIContent content, OnGUIAction action=null)
		{
			_content = content;
			if( action != null)
			{
				onGUIAction += action;
			}
		}
Exemple #9
0
 public GUIVector3Field(GUIContent content, OnGUIAction action = null)
 {
     _content = content;
     if (action != null)
     {
         onGUIAction += action;
     }
 }
        public GUITextField(GUIContent content, string value = "", OnGUIAction action = null)
        {
            this.value = value;

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

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

            _content = content;
            if (action != null)
            {
                onGUIAction += action;
            }
        }
Exemple #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;
            }
        }
Exemple #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;
			}
		}
Exemple #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;
			}
		}
Exemple #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;
            }
        }
Exemple #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;
			}
		}
Exemple #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;
            }
        }
		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;
			}
		}
Exemple #22
0
		public GUITextureField( GUIContent content, OnGUIAction action=null, OnGUIPreAction preAction=null)
		{
			_content = content;
			if( preAction != null)
			{
				onGUIPreAction += preAction;
			}

			if( action != null)
			{
				onGUIAction += action;
			}
		}
        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;
            }
        }