Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
InputToEvent
C# Class InputToEvent, PaperCowboys
Utility component to forward mouse or touch input to clicked gameobjects. Calls OnPress, OnClick and OnRelease methods on "first" game object.
Inheritance:
MonoBehaviour
Exibir arquivo
Open project: Gamieon/PaperCowboys
Class Usage Examples
Public Properties
Property
Type
Description
DetectPointedAtGameObject
bool
inputHitPos
Vector3
Private Methods
Method
Description
Press
(
Vector2
screenPos
) :
void
RaycastObject
(
Vector2
screenPos
) :
GameObject
Release
(
Vector2
screenPos
) :
void
Update
( ) :
void
Property Details
DetectPointedAtGameObject
public_oe property
public
bool
DetectPointedAtGameObject
return
bool
inputHitPos
public_oe static_oe property
public
static
Vector3
inputHitPos
return
Vector3