PropertyInterface
Nectunia.PropertyInterface.PropertyToSlider Class Reference

Detailed Description

Link a Slider to a Property3

Inheritance diagram for Nectunia.PropertyInterface.PropertyToSlider:
Nectunia.PropertyInterface.MonoBehaviourTagged

Public Attributes

Slider _targetSlider
 
Image _targetImage
 
bool _getPropertyInChildren
 

Public Member Functions

void OnEnable ()
 
void Update ()
 
- Public Member Functions inherited from Nectunia.PropertyInterface.MonoBehaviourTagged
virtual void UpdateValuesType ()
 Update ValuesType. More...
 
virtual bool CheckIntegrity ()
 Check if the Tag, ValuesType are good. Update the Icon anyway. More...
 
bool CheckValuesType (Tag tag)
 Check if the ValuesType is equals to the passed Tag.ValuesType. More...
 

Additional Inherited Members

- Properties inherited from Nectunia.PropertyInterface.MonoBehaviourTagged
TagID TagID [get, set]
 The TagID used by the component. More...
 
Tag.ValueType ValuesType [get, protected set]
 The Tag.ValueType of the component's values. More...
 
Tag Tag [get]
 Get from the Tags list the Tag wich have the same TagID than this component. More...
 
Texture2D Icon [get]
 Get the icon of the Tag More...
 
- Static Public Member Functions inherited from Nectunia.PropertyInterface.MonoBehaviourTagged
static List< MonoBehaviourTaggedGetMonoBehavioursTagged (bool includeInactive=false)
 Get all MonoBehaviourTagged in the current scene. More...
 
static List< MonoBehaviourTaggedGetMonoBehavioursTagged (TagID tagID, bool includeInactive=false)
 Get all MonoBehaviourTagged in the current scene wich have the passed TagID. More...
 
static List< MonoBehaviourTaggedGetMonoBehavioursTagged (GameObject target)
 Get all MonoBehaviourTagged in the target gameobject. More...
 
static List< MonoBehaviourTaggedGetMonoBehavioursTagged (GameObject target, TagID tagID)
 Get all MonoBehaviourTagged in the target gameobject wich have the passed TagID. More...
 
static void GetMonoBehavioursTagged (ref List< MonoBehaviourTagged > results, bool includeInactive=false)
 Get all MonoBehaviourTagged in the current scene. More...
 
static void GetMonoBehavioursTagged (TagID tagID, ref List< MonoBehaviourTagged > results, bool includeInactive=false)
 Get all MonoBehaviourTagged in the current scene wich have the passed TagID. More...
 
static void GetMonoBehavioursTagged (GameObject target, ref List< MonoBehaviourTagged > results)
 Get all MonoBehaviourTagged in the target gameobject. More...
 
static void GetMonoBehavioursTagged (GameObject target, TagID tagID, ref List< MonoBehaviourTagged > results)
 Get all MonoBehaviourTagged in the target gameobject wich have the passed TagID. More...
 
static List< MonoBehaviourTaggedGetMonoBehavioursTaggedInChildren (GameObject target, bool includeInactive=false)
 Get all MonoBehaviourTagged in the target gameobject and it's children. More...
 
static List< MonoBehaviourTaggedGetMonoBehavioursTaggedInChildren (GameObject target, TagID tagID, bool includeInactive=false)
 Get all MonoBehaviourTagged with the passed TagID in the target gameobject and it's children. More...
 
static void GetMonoBehavioursTaggedInChildren (GameObject target, ref List< MonoBehaviourTagged > results, bool includeInactive=false)
 Get all MonoBehaviourTagged in the target gameobject and it's children. More...
 
static void GetMonoBehavioursTaggedInChildren (GameObject target, TagID tagID, ref List< MonoBehaviourTagged > results, bool includeInactive=false)
 Get all MonoBehaviourTagged with the passed TagID in the target gameobject and it's children. More...
 
static MonoBehaviourTagged GetMonoBehaviourTagged (bool includeInactive=false)
 Get the First MonoBehaviourTagged in the current scene. More...
 
static MonoBehaviourTagged GetMonoBehaviourTagged (TagID tagID, bool includeInactive=false)
 Get the first MonoBehaviourTagged in the current scene wich have the passed TagID. More...
 
static MonoBehaviourTagged GetMonoBehaviourTagged (GameObject target)
 Get the first MonoBehaviourTagged in the target gameobject. . More...
 
static MonoBehaviourTagged GetMonoBehaviourTagged (GameObject target, TagID tagID)
 Get the first MonoBehaviourTagged in the target gameobject wich have the passed TagID. More...
 
static void GetMonoBehaviourTagged (ref MonoBehaviourTagged result, bool includeInactive=false)
 Get the first MonoBehaviourTagged in the current scene. More...
 
static void GetMonoBehaviourTagged (TagID tagID, ref MonoBehaviourTagged result, bool includeInactive=false)
 Get the first MonoBehaviourTagged in the current scene wich have the passed TagID. More...
 
static void GetMonoBehaviourTagged (GameObject target, ref MonoBehaviourTagged result)
 Get the first MonoBehaviourTagged in the target gameobject. More...
 
static void GetMonoBehaviourTagged (GameObject target, TagID tagID, ref MonoBehaviourTagged result)
 Get the first MonoBehaviourTagged in the target gameobject wich have the passed TagID. More...
 
static MonoBehaviourTagged GetMonoBehaviourTaggedInChildren (GameObject target, bool includeInactive=false)
 Get the first MonoBehaviourTagged in the target gameobject and it's children. More...
 
static MonoBehaviourTagged GetMonoBehaviourTaggedInChildren (GameObject target, TagID tagID, bool includeInactive=false)
 Get the first MonoBehaviourTagged with the passed TagID in the target gameobject and it's children. More...
 
static void GetMonoBehaviourTaggedInChildren (GameObject target, ref MonoBehaviourTagged result, bool includeInactive=false)
 Get the first MonoBehaviourTagged in the target gameobject and it's children. More...
 
static void GetMonoBehaviourTaggedInChildren (GameObject target, TagID tagID, ref MonoBehaviourTagged result, bool includeInactive=false)
 Get the first MonoBehaviourTagged with the passed TagID in the target gameobject and it's children. More...
 
static bool Exists (bool includeInactive=false)
 Return True if at least one MonoBehaviourTagged exists in the current scene or False otherwise. More...
 
static bool Exists (TagID tagId, bool includeInactive=false)
 Return True if at least one MonoBehaviourTagged with passed TagID exists in the current scene or False otherwise. More...
 
static bool Exists (GameObject target)
 Return True if at least one MonoBehaviourTagged exists in the target gameobject or False otherwise. More...
 
static bool Exists (GameObject target, TagID tagId)
 Return True if at least one MonoBehaviourTagged with passed TagID exists in the target gameobject or False otherwise. More...
 
static bool ExistsInChildren (GameObject target, bool includeInactive=false)
 Return True if at least one MonoBehaviourTagged exists in the target gameobject and its children or False otherwise. More...
 
static bool ExistsInChildren (GameObject target, TagID tagId, bool includeInactive=false)
 Return True if at least one MonoBehaviourTagged with passed TagID exists in the target gameobject and its children or False otherwise. More...
 
- Protected Attributes inherited from Nectunia.PropertyInterface.MonoBehaviourTagged
TagID _tagID = -1L
 
Tag.ValueType _valuesType = Tag.DEFAULT_VALUESTYPE
 
- Protected Member Functions inherited from Nectunia.PropertyInterface.MonoBehaviourTagged
virtual void OnTagIDChanged ()
 Event triggered when TagID changed. More...
 
virtual void OnValuesTypeChanged ()
 Event triggered when ValuesType changed. More...
 
virtual void WarningUpdate ()
 Log a warning in the console to say the MonoBehaviourTagged have to be updated. More...
 
virtual void WarningUpdate (Tag tag)
 Log a warning in the console to say the MonoBehaviourTagged have to be updated. More...
 
virtual void WarningUnknownTag ()
 Log a warning in the console to say the MonoBehaviourTagged have an Unknown Tag. More...
 
virtual void WarningIconUpdated (Tag tag)
 Log a warning in the console to say the MonoBehaviourTagged icon have been automaticaly updated. More...
 

Member Function Documentation

◆ OnEnable()

void Nectunia.PropertyInterface.PropertyToSlider.OnEnable ( )

◆ Update()

void Nectunia.PropertyInterface.PropertyToSlider.Update ( )

Member Data Documentation

◆ _getPropertyInChildren

bool Nectunia.PropertyInterface.PropertyToSlider._getPropertyInChildren

◆ _targetImage

Image Nectunia.PropertyInterface.PropertyToSlider._targetImage

◆ _targetSlider

Slider Nectunia.PropertyInterface.PropertyToSlider._targetSlider