AmbientLion
New member
There seems to be a bug in the implementation of the PointClick movement type, where clicks on UI elements that appear over other game objects (like terrain, characters, etc) are not correctly blocked. It looks like this is a relatively simple fix in [PointClick.cs @ GetInputVector()]
At line 108, instead of:
if (m_PlayerInput.GetButton(m_ClickButtonName)) { ... }
it should be:
if (!m_PlayerInput.IsPointerOverUI() && m_PlayerInput.GetButton(m_ClickButtonName)) { ... }
At line 108, instead of:
if (m_PlayerInput.GetButton(m_ClickButtonName)) { ... }
it should be:
if (!m_PlayerInput.IsPointerOverUI() && m_PlayerInput.GetButton(m_ClickButtonName)) { ... }