Difference between revisions of "GUIDragItem"
From Virtual World Web Wiki
(Documentation for the GUIDragItem class) |
(Documentation for the GUIDragItem class) |
||
Line 1: | Line 1: | ||
+ | * '''Inherits class: [[GUIComponent]]''' | ||
+ | * This is a JavaScript visible object | ||
===Remarks <nowiki>[</nowiki>[{{fullurl:GUIDragItem Remarks|action=edit}} edit]<nowiki>]</nowiki>=== | ===Remarks <nowiki>[</nowiki>[{{fullurl:GUIDragItem Remarks|action=edit}} edit]<nowiki>]</nowiki>=== | ||
{{:GUIDragItem Remarks}} | {{:GUIDragItem Remarks}} | ||
Line 12: | Line 14: | ||
:{{CSharp|GUISprite DraggingTexture {get;} }} | :{{CSharp|GUISprite DraggingTexture {get;} }} | ||
− | |||
− | |||
:{{CSharp|bool Enabled {get; set;} }} | :{{CSharp|bool Enabled {get; set;} }} | ||
Line 30: | Line 30: | ||
:{{CSharp|JSVector3 WorldDrop {get;} }} | :{{CSharp|JSVector3 WorldDrop {get;} }} | ||
− | |||
− | |||
===Events=== | ===Events=== | ||
Line 37: | Line 35: | ||
:{{CSharp|OnDrop(EventHandler<FlexibleEventArgs>)}} | :{{CSharp|OnDrop(EventHandler<FlexibleEventArgs>)}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
__NOTOC____NOEDITSECTION__ | __NOTOC____NOEDITSECTION__ |
Revision as of 16:35, 21 October 2016
- Inherits class: GUIComponent
- This is a JavaScript visible object
Remarks [edit]
Properties
- bool AllowDrag {get; set;}
- bool AllowUIDrop {get; set;}
- bool AllowWorldDrop {get; set;}
- Color32 DisabledColor {get; set;}
- GUISprite DraggingTexture {get;}
- bool Enabled {get; set;}
- bool HideWhenNotDragging {get; set;}
- Color32 HoverColor {get; set;}
- Color32 NormalColor {get; set;}
- GUISprite NormalTexture {get;}
- Color32 PressedColor {get; set;}
- bool SnapToMouse {get; set;}
- JSVector3 WorldDrop {get;}
Events
- OnClick(EventHandler<FlexibleEventArgs>)
- OnDrop(EventHandler<FlexibleEventArgs>)