C# Class AimController, gmap377_leathGloves_inc

Inheritance: MonoBehaviour
Mostrar archivo Open project: bi3mer/gmap377_leathGloves_inc Class Usage Examples

Public Properties

Property Type Description
ButtonHeld bool
Instance AimController,
IsWindowInFocus bool
Sensitivity float
cursorTexture UnityEngine.Texture2D

Public Methods

Method Description
GetMousePosition ( ) : Vector2
MouseEvent ( MouseEventFlags value ) : void
SetMousePosition ( Vector2 mousePosition ) : void

Private Methods

Method Description
Awake ( ) : void
CallMouseEventLeftDown ( ) : void
CallMouseEventLeftUp ( ) : void
GetCursorPos ( Point &pos ) : bool
OnApplicationFocus ( bool focusStatus ) : void
SetCursorPos ( int X, int Y ) : bool
Update ( ) : void
mouse_event ( int dwFlags, int dx, int dy, int dwData, int dwExtraInfo ) : void

Method Details

GetMousePosition() public method

public GetMousePosition ( ) : Vector2
return Vector2

MouseEvent() public static method

public static MouseEvent ( MouseEventFlags value ) : void
value MouseEventFlags
return void

SetMousePosition() public method

public SetMousePosition ( Vector2 mousePosition ) : void
mousePosition Vector2
return void

Property Details

ButtonHeld public_oe property

public bool ButtonHeld
return bool

Instance public_oe static_oe property

public static AimController, Instance
return AimController,

IsWindowInFocus public_oe property

public bool IsWindowInFocus
return bool

Sensitivity public_oe property

public float Sensitivity
return float

cursorTexture public_oe property

public Texture2D,UnityEngine cursorTexture
return UnityEngine.Texture2D