Graph Maker
WMG_GUI_Functions Class Reference
Inheritance diagram for WMG_GUI_Functions:
WMG_Text_Functions WMG_Axis WMG_Bezier_Band WMG_Events WMG_Graph_Tooltip WMG_Legend WMG_Legend_Entry WMG_Link WMG_Node WMG_Ring

Public Member Functions

void SetActive (GameObject obj, bool state)
 
bool activeInHierarchy (GameObject obj)
 
void SetActiveAnchoredSprite (GameObject obj, bool state)
 
void SetActiveImage (GameObject obj, bool state)
 
Texture2D getTexture (GameObject obj)
 
void setTexture (GameObject obj, Sprite sprite)
 
void changeSpriteFill (GameObject obj, float fill)
 
void changeRadialSpriteRotation (GameObject obj, Vector3 newRot)
 
void changeSpriteColor (GameObject obj, Color aColor)
 
void changeSpriteAlpha (GameObject obj, float alpha)
 
float getSpriteAlpha (GameObject obj)
 
void changeSpriteWidth (GameObject obj, int aWidth)
 
void changeSpriteHeight (GameObject obj, int aHeight)
 
void setTextureMaterial (GameObject obj, Material aMat)
 
Material getTextureMaterial (GameObject obj)
 
void changeSpriteSize (GameObject obj, int aWidth, int aHeight)
 
void changeSpriteSizeFloat (GameObject obj, float aWidth, float aHeight)
 
Vector2 getSpriteSize (GameObject obj)
 
void changeBarWidthHeight (GameObject obj, int aWidth, int aHeight)
 
float getSpriteWidth (GameObject obj)
 
float getSpriteHeight (GameObject obj)
 
float getTextWidth (GameObject obj)
 
float getTextHeight (GameObject obj)
 
void forceUpdateText (GameObject obj)
 
void setAnchor (GameObject go, Vector2 anchor, Vector2 pivot, Vector2 anchoredPosition)
 
void setAnchoredPosition (GameObject go, Vector2 anchoredPosition)
 
void stretchToParent (GameObject go)
 
bool rectIntersectRect (GameObject r1, GameObject r2)
 
void getRectDiffs (GameObject child, GameObject container, ref Vector2 xDif, ref Vector2 yDif)
 
float getSpritePositionX (GameObject obj)
 
float getSpritePositionY (GameObject obj)
 
Vector2 getSpritePositionXY (GameObject obj)
 
float getSpritePivotTopToBot (GameObject obj)
 
Vector3 getPositionRelativeTransform (GameObject obj, GameObject relative)
 
void changePositionByRelativeTransform (GameObject obj, GameObject relative, Vector2 delta)
 
void changeSpritePositionTo (GameObject obj, Vector3 newPos)
 
void changeSpritePositionToX (GameObject obj, float newPos)
 
void changeSpritePositionToY (GameObject obj, float newPos)
 
Vector2 getChangeSpritePositionTo (GameObject obj, Vector2 newPos)
 
void changeSpritePositionRelativeToObjBy (GameObject obj, GameObject relObj, Vector3 changeAmt)
 
void changeSpritePositionRelativeToObjByX (GameObject obj, GameObject relObj, float changeAmt)
 
void changeSpritePositionRelativeToObjByY (GameObject obj, GameObject relObj, float changeAmt)
 
Vector2 getSpritePivot (GameObject obj)
 
void changeSpriteParent (GameObject child, GameObject parent)
 
void getFirstCanvasOnSelfOrParent (Transform trans, ref Canvas canv)
 
void addRaycaster (GameObject obj)
 
void setAsNotInteractible (GameObject obj)
 
void bringSpriteToFront (GameObject obj)
 
void sendSpriteToBack (GameObject obj)
 
- Public Member Functions inherited from WMG_Text_Functions
void changeLabelText (GameObject obj, string aText)
 
void changeLabelFontSize (GameObject obj, int newFontSize)
 
Vector2 getTextSize (GameObject obj)
 
void changeSpritePivot (GameObject obj, WMGpivotTypes theType)
 
void changeLabelColor (GameObject obj, Color newColor)
 
void changeLabelFontStyle (GameObject obj, FontStyle newFontStyle)
 
void changeLabelFont (GameObject obj, Font newFont)
 

Additional Inherited Members

- Public Types inherited from WMG_Text_Functions
enum  WMGpivotTypes {
  WMGpivotTypes.Bottom, WMGpivotTypes.BottomLeft, WMGpivotTypes.BottomRight, WMGpivotTypes.Center,
  WMGpivotTypes.Left, WMGpivotTypes.Right, WMGpivotTypes.Top, WMGpivotTypes.TopLeft,
  WMGpivotTypes.TopRight
}
 

Member Function Documentation

◆ activeInHierarchy()

bool WMG_GUI_Functions.activeInHierarchy ( GameObject  obj)

◆ addRaycaster()

void WMG_GUI_Functions.addRaycaster ( GameObject  obj)

◆ bringSpriteToFront()

void WMG_GUI_Functions.bringSpriteToFront ( GameObject  obj)

◆ changeBarWidthHeight()

void WMG_GUI_Functions.changeBarWidthHeight ( GameObject  obj,
int  aWidth,
int  aHeight 
)

◆ changePositionByRelativeTransform()

void WMG_GUI_Functions.changePositionByRelativeTransform ( GameObject  obj,
GameObject  relative,
Vector2  delta 
)

◆ changeRadialSpriteRotation()

void WMG_GUI_Functions.changeRadialSpriteRotation ( GameObject  obj,
Vector3  newRot 
)

◆ changeSpriteAlpha()

void WMG_GUI_Functions.changeSpriteAlpha ( GameObject  obj,
float  alpha 
)

◆ changeSpriteColor()

void WMG_GUI_Functions.changeSpriteColor ( GameObject  obj,
Color  aColor 
)

◆ changeSpriteFill()

void WMG_GUI_Functions.changeSpriteFill ( GameObject  obj,
float  fill 
)

◆ changeSpriteHeight()

void WMG_GUI_Functions.changeSpriteHeight ( GameObject  obj,
int  aHeight 
)

◆ changeSpriteParent()

void WMG_GUI_Functions.changeSpriteParent ( GameObject  child,
GameObject  parent 
)

◆ changeSpritePositionRelativeToObjBy()

void WMG_GUI_Functions.changeSpritePositionRelativeToObjBy ( GameObject  obj,
GameObject  relObj,
Vector3  changeAmt 
)

◆ changeSpritePositionRelativeToObjByX()

void WMG_GUI_Functions.changeSpritePositionRelativeToObjByX ( GameObject  obj,
GameObject  relObj,
float  changeAmt 
)

◆ changeSpritePositionRelativeToObjByY()

void WMG_GUI_Functions.changeSpritePositionRelativeToObjByY ( GameObject  obj,
GameObject  relObj,
float  changeAmt 
)

◆ changeSpritePositionTo()

void WMG_GUI_Functions.changeSpritePositionTo ( GameObject  obj,
Vector3  newPos 
)

◆ changeSpritePositionToX()

void WMG_GUI_Functions.changeSpritePositionToX ( GameObject  obj,
float  newPos 
)

◆ changeSpritePositionToY()

void WMG_GUI_Functions.changeSpritePositionToY ( GameObject  obj,
float  newPos 
)

◆ changeSpriteSize()

void WMG_GUI_Functions.changeSpriteSize ( GameObject  obj,
int  aWidth,
int  aHeight 
)

◆ changeSpriteSizeFloat()

void WMG_GUI_Functions.changeSpriteSizeFloat ( GameObject  obj,
float  aWidth,
float  aHeight 
)

◆ changeSpriteWidth()

void WMG_GUI_Functions.changeSpriteWidth ( GameObject  obj,
int  aWidth 
)

◆ forceUpdateText()

void WMG_GUI_Functions.forceUpdateText ( GameObject  obj)

◆ getChangeSpritePositionTo()

Vector2 WMG_GUI_Functions.getChangeSpritePositionTo ( GameObject  obj,
Vector2  newPos 
)

◆ getFirstCanvasOnSelfOrParent()

void WMG_GUI_Functions.getFirstCanvasOnSelfOrParent ( Transform  trans,
ref Canvas  canv 
)

◆ getPositionRelativeTransform()

Vector3 WMG_GUI_Functions.getPositionRelativeTransform ( GameObject  obj,
GameObject  relative 
)

◆ getRectDiffs()

void WMG_GUI_Functions.getRectDiffs ( GameObject  child,
GameObject  container,
ref Vector2  xDif,
ref Vector2  yDif 
)

◆ getSpriteAlpha()

float WMG_GUI_Functions.getSpriteAlpha ( GameObject  obj)

◆ getSpriteHeight()

float WMG_GUI_Functions.getSpriteHeight ( GameObject  obj)

◆ getSpritePivot()

Vector2 WMG_GUI_Functions.getSpritePivot ( GameObject  obj)

◆ getSpritePivotTopToBot()

float WMG_GUI_Functions.getSpritePivotTopToBot ( GameObject  obj)

◆ getSpritePositionX()

float WMG_GUI_Functions.getSpritePositionX ( GameObject  obj)

◆ getSpritePositionXY()

Vector2 WMG_GUI_Functions.getSpritePositionXY ( GameObject  obj)

◆ getSpritePositionY()

float WMG_GUI_Functions.getSpritePositionY ( GameObject  obj)

◆ getSpriteSize()

Vector2 WMG_GUI_Functions.getSpriteSize ( GameObject  obj)

◆ getSpriteWidth()

float WMG_GUI_Functions.getSpriteWidth ( GameObject  obj)

◆ getTextHeight()

float WMG_GUI_Functions.getTextHeight ( GameObject  obj)

◆ getTexture()

Texture2D WMG_GUI_Functions.getTexture ( GameObject  obj)

◆ getTextureMaterial()

Material WMG_GUI_Functions.getTextureMaterial ( GameObject  obj)

◆ getTextWidth()

float WMG_GUI_Functions.getTextWidth ( GameObject  obj)

◆ rectIntersectRect()

bool WMG_GUI_Functions.rectIntersectRect ( GameObject  r1,
GameObject  r2 
)

◆ sendSpriteToBack()

void WMG_GUI_Functions.sendSpriteToBack ( GameObject  obj)

◆ SetActive()

void WMG_GUI_Functions.SetActive ( GameObject  obj,
bool  state 
)

◆ SetActiveAnchoredSprite()

void WMG_GUI_Functions.SetActiveAnchoredSprite ( GameObject  obj,
bool  state 
)

◆ SetActiveImage()

void WMG_GUI_Functions.SetActiveImage ( GameObject  obj,
bool  state 
)

◆ setAnchor()

void WMG_GUI_Functions.setAnchor ( GameObject  go,
Vector2  anchor,
Vector2  pivot,
Vector2  anchoredPosition 
)

◆ setAnchoredPosition()

void WMG_GUI_Functions.setAnchoredPosition ( GameObject  go,
Vector2  anchoredPosition 
)

◆ setAsNotInteractible()

void WMG_GUI_Functions.setAsNotInteractible ( GameObject  obj)

◆ setTexture()

void WMG_GUI_Functions.setTexture ( GameObject  obj,
Sprite  sprite 
)

◆ setTextureMaterial()

void WMG_GUI_Functions.setTextureMaterial ( GameObject  obj,
Material  aMat 
)

◆ stretchToParent()

void WMG_GUI_Functions.stretchToParent ( GameObject  go)

The documentation for this class was generated from the following file: