Event
UnityObjectLink
Event

class:/TYPE/UnityEngine.Event//, can be loaded from an assetbundle using Event::createfromassetbundle(bundlename,prefabname) /

Parent

UnityObjectLink

Variables
alt
System.Boolean alt
button
System.Int32 button
capslock
System.Boolean capslock
character
System.Char character
clickcount
System.Int32 clickcount
command
System.Boolean command
commandname
System.String commandname
control
System.Boolean control
delta
UnityEngine.Vector2 delta
displayindex
System.Int32 displayindex
event::​current
static UnityEngine.Event event::current
functionkey
readonly System.Boolean functionkey
iskey
readonly System.Boolean iskey
ismouse
readonly System.Boolean ismouse
isscrollwheel
readonly System.Boolean isscrollwheel
keycode
UnityEngine.KeyCode keycode
modifiers
UnityEngine.EventModifiers modifiers
mouseposition
UnityEngine.Vector2 mouseposition
numeric
System.Boolean numeric
pointertype
UnityEngine.PointerType pointertype
pressure
System.Single pressure
rawtype
readonly UnityEngine.EventType rawtype
shift
System.Boolean shift
type
UnityEngine.EventType type
Functions
event::​create
static UnityEngine.Event Create (
UnityEngine.Event other
)

Constructor replaces new;

Parameters
other
UnityEngine.Event

no description

Returns

UnityEngine.Event

event::​create
static UnityEngine.Event Create ()

Constructor replaces new;

Returns

UnityEngine.Event

event::​create
static UnityEngine.Event Create (
System.Int32 displayIndex
)

Constructor replaces new;

Parameters
displayIndex
System.Int32

no description

Returns

UnityEngine.Event

event::​fromassetbundle
static UnityEngine.Event CreateFromAssetBundle(
string bundle,
string objectname
)

Constructor for object from a bundle

Parameters
bundle
string

bundle name

objectname
string

object name with extension

Returns

UnityEngine.Event

event::​geteventcount
static System.Int32 GetEventCount()
Returns

System.Int32

event::​keyboardevent
static UnityEngine.Event KeyboardEvent(
System.String key
)

System.String key-no documentation

Parameters

key -

Returns

UnityEngine.Event

event::​popevent
static System.Boolean PopEvent(
UnityEngine.Event outEvent
)

UnityEngine.Event outEvent-no documentation

Parameters

outEvent -

Returns

System.Boolean

gettypeforcontrol
UnityEngine.EventType GetTypeForControl(
System.Int32 controlID
)

System.Int32 controlID-no documentation

Parameters

controlID -

Returns

UnityEngine.EventType

tostring
System.String ToString()
Returns

System.String

use
System.Void Use()
Returns

System.Void