merged spy-ui-update
This commit is contained in:
parent
7f20ebd211
commit
68275766d4
3 changed files with 2337 additions and 317 deletions
File diff suppressed because it is too large
Load diff
|
@ -23,6 +23,8 @@ public class IdleClickAction : Action
|
||||||
public override void Act(StateController controller)
|
public override void Act(StateController controller)
|
||||||
{
|
{
|
||||||
// If the user clicks, but not on a UI object ...
|
// If the user clicks, but not on a UI object ...
|
||||||
|
if (EventSystem.current.IsPointerOverGameObject())
|
||||||
|
Debug.Log("Clicking on UI element");
|
||||||
if (Input.GetMouseButtonDown(0) && !EventSystem.current.IsPointerOverGameObject())
|
if (Input.GetMouseButtonDown(0) && !EventSystem.current.IsPointerOverGameObject())
|
||||||
{
|
{
|
||||||
if (controller.Interactor)
|
if (controller.Interactor)
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
m_EditorVersion: 2017.2.0f3
|
m_EditorVersion: 2017.1.2f1
|
||||||
|
|
Reference in a new issue