GUIContainer
From Virtual World Web Wiki
Revision as of 12:49, 26 May 2017 by Spark5 (Talk | contribs) (Documentation for the GUIContainer class)
- This is a JavaScript visible object
Remarks [edit]
Properties
- float Alpha {get; set;}
- int AnimateDueTime {get; set;}
- int AnimateInterval {get; set;}
- int AnimateTime {get;}
- bool BlocksRaycasts {get; set;}
- bool ClickThrough {get; set;}
- int Height {get; set;}
- bool IgnoreParentGroups {get; set;}
- bool Interactable {get; set;}
- string Name {get; set;}
- float Opacity {get; set;}
- bool Outline {get; set;}
- Color32 OutlineColor {get; set;}
- JSVector2 OutlineOffset {get; set;}
- GUIRectTransform RectTransform {get; set;}
- bool Shadow {get; set;}
- Color32 ShadowColor {get; set;}
- JSVector2 ShadowOffset {get; set;}
- int SubComponents {get;}
- bool Visible {get; set;}
- int Width {get; set;}
- Rectangle WorldRect {get;}
- int X {get; set;}
- int Y {get; set;}
Events
- OnAnimate()
- OnDisappeared()
- OnResize()
Methods
- void AbortDelay()
- void Appear(string animationName = "")
- void BringToFront()
- void ClearChildren()
- GUIContainer CreateComponent(string type, string componentName = NULL, string templateName = NULL)
- GUIContainer CreateComponentFromTemplate(string templateName, string objectName = NULL)
- void Delay(float duration, JSFlexibleFunction callback)
- void Destroy()
- void Disappear(string animationName = "")
- GUIComponent FindChild(string searchName, bool traverse = false)
- GUIComponent GetComponent(int index)
- GUIComponent GetComponentByName(string componentName)
- GUIComponent[] GetComponents()
- void Hide(float fadeDelay = 0.1, JSFlexibleFunction callback = NULL)
- bool MakeNumb()
- void MakeSensitive(JSFlexibleFunction callback, bool singleClick = true)
- float PlayAnimation(string animationName)
- void SendToBack()
- void Show(float fadeDelay = 0.1, JSFlexibleFunction callback = NULL)
- void StartAnimate()
- void StopAnimate()