Tanoda
IBoxSelectable.cs
Go to the documentation of this file.
1
5
6
7
namespace
UnityEngine.UI.Extensions
8
{
9
10
/*
11
* Implement this interface on any MonoBehaviour that you'd like to be considered selectable.
12
*/
13
public
interface
IBoxSelectable
{
14
bool
selected
{
15
get
;
16
set
;
17
}
18
19
bool
preSelected
{
20
get
;
21
set
;
22
}
23
24
//This property doesn't actually need to be implemented, as this interface should already be placed on a MonoBehaviour, which will
25
//already have it. Defining it here only allows us access to the transform property by casting through the selectable interface.
26
Transform
transform
{
27
get
;
28
}
29
}
30
31
}
UnityEngine.UI.Extensions.IBoxSelectable
Definition:
IBoxSelectable.cs:13
UnityEngine.UI.Extensions.IBoxSelectable.transform
Transform transform
Definition:
IBoxSelectable.cs:26
UnityEngine.UI.Extensions.IBoxSelectable.preSelected
bool preSelected
Definition:
IBoxSelectable.cs:19
UnityEngine.UI.Extensions.IBoxSelectable.selected
bool selected
Definition:
IBoxSelectable.cs:14
UnityEngine.UI.Extensions
Credit Erdener Gonenc - @PixelEnvision.
Definition:
AccordionElementEditor.cs:8
Source
Assets
unity-ui-extensions
Runtime
Scripts
Controls
SelectionBox
IBoxSelectable.cs
Generated by
1.9.3