Hello Guest

Author Topic: Multi Touch & Camera hooked to tk2dUIManager possible bug?  (Read 4482 times)

hawken

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 13
  • developer
    • View Profile
    • hawkenking
Multi Touch & Camera hooked to tk2dUIManager possible bug?
« on: January 30, 2014, 11:59:53 am »
Quote
It is no longer necessary to hook up a camera to the tk2dUIManager. You can simply attach a tk2dUICamera script to the cameras that interact with UI.
UnityEngine.Debug:Log(Object)
tk2dUIManager:Start() (at Assets/Plugins/tk2dUI/Code/Core/tk2dUIManager.cs:289)

It appears, doing so, stops multitouch from working. So, living with these alerts for now. Either that or multitouch needs to be enabled in the first scene you load, which I was doubting. FYI cheers!

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Multi Touch & Camera hooked to tk2dUIManager possible bug?
« Reply #1 on: January 30, 2014, 12:33:54 pm »
All you need to do is to create the uimanager with multitouch on, but don't hook up the camera. Be sure your camera has the tk2dUICamera component on it, and it should work fine.