Makinom  2.21.0
API Documentation
GamingIsLove.Makinom.RangeValue Class Reference
Inheritance diagram for GamingIsLove.Makinom.RangeValue:
GamingIsLove.Makinom.BaseData GamingIsLove.Makinom.IRange GamingIsLove.Makinom.IBaseData

Public Member Functions

 RangeValue (float range)
 
 RangeValue (float range, float threshold)
 
 RangeValue (float range, float threshold, bool ignoreXDistance, bool ignoreYDistance, bool ignoreZDistance, bool ignoreRadius)
 
override string ToString ()
 
virtual IRange GetRange (GameObject user, GameObject target)
 
virtual IRange GetInRange (GameObject user, GameObject target)
 
virtual IRange GetOutOfRange (GameObject user, GameObject target)
 
virtual Vector3 GetAngledPosition (GameObject user, float angle, bool localSpace, HorizontalPlaneType horizontalPlane)
 
virtual bool Check (RangeCheckType type, GameObject user, GameObject target)
 
virtual bool Check (RangeCheckType type, GameObject user, GameObject target, ref float distance)
 
virtual bool Check (RangeCheckType type, Vector3 position, GameObject target)
 
virtual bool Check (RangeCheckType type, Vector3 position, GameObject target, IDataCall call)
 
virtual bool Check (RangeCheckType type, Vector3 position, GameObject target, ref float distance)
 
virtual bool Check (RangeCheckType type, Vector3 position, GameObject target, IDataCall call, ref float distance)
 
virtual float GetInRangeDistance (GameObject gameObject)
 
virtual float GetInRangeDistance (GameObject user, GameObject target)
 
virtual bool InRange (GameObject user, GameObject target)
 
virtual bool InRange (GameObject user, GameObject target, ref float distance)
 
virtual bool InRange (Vector3 position, GameObject target)
 
virtual bool InRange (Vector3 position, GameObject target, IDataCall call)
 
virtual bool InRange (Vector3 position, GameObject target, float range)
 
virtual bool InRange (Vector3 position, GameObject target, bool ignoreRadius, float range)
 
virtual bool InRange (Vector3 position, GameObject target, ref float distance)
 
virtual bool InRange (Vector3 position, GameObject target, IDataCall call, ref float distance)
 
virtual bool InRange (Vector3 position, Vector3 position2)
 
virtual float GetOutOfRangeDistance (GameObject gameObject)
 
virtual float GetOutOfRangeDistance (GameObject user, GameObject target)
 
virtual bool OutOfRange (GameObject user, GameObject target)
 
virtual bool OutOfRange (GameObject user, GameObject target, ref float distance)
 
virtual bool OutOfRange (Vector3 position, GameObject target)
 
virtual bool OutOfRange (Vector3 position, GameObject target, IDataCall call)
 
virtual bool OutOfRange (Vector3 position, GameObject target, float range)
 
virtual bool OutOfRange (Vector3 position, GameObject target, ref float distance)
 
virtual bool OutOfRange (Vector3 position, GameObject target, IDataCall call, ref float distance)
 
virtual bool OutOfRange (Vector3 position, Vector3 position2)
 
virtual void CheckInRangeStatus (GameObject user, GameObject target, bool invert, ref bool inRangeStatus)
 
virtual void CheckInRangeStatus (Vector3 position, GameObject target, bool invert, ref bool inRangeStatus)
 
virtual void CheckInRangeStatus (Vector3 position, Vector3 position2, bool invert, ref bool inRangeStatus)
 
- Public Member Functions inherited from GamingIsLove.Makinom.BaseData
virtual DataObject GetData ()
 Gets a GamingIsLove.Makinom.DataObject representing the class. More...
 
virtual void SetData (DataObject data)
 Sets the variables of the class using a GamingIsLove.Makinom.DataObject. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for the field defined using the settingAutoSetup option of the GamingIsLove.Makinom.EditorInfoAttribute. More...
 

Public Attributes

FloatValue< GameObjectSelectionrangeValue = new FloatValue<GameObjectSelection>(5)
 
AxisBool ignoreDistance = new AxisBool()
 
FloatValue< GameObjectSelectionthresholdValue = new FloatValue<GameObjectSelection>()
 
bool ignoreRadius = false
 

Protected Member Functions

virtual float GetInRangeDistanceValue (GameObject user, GameObject target)
 
virtual float GetInRangeDistanceValue (GameObject user, GameObject target, IDataCall call)
 
virtual float GetOutOfRangeDistanceValue (GameObject user, GameObject target)
 
virtual float GetOutOfRangeDistanceValue (GameObject user, GameObject target, IDataCall call)
 

Protected Attributes

Range simpleRange
 

Properties

virtual bool NeedsCall [get]
 
bool IsInfinity [get]
 
- Properties inherited from GamingIsLove.Makinom.IRange
bool IsInfinity [get]