2D Toolkit Forum

2D Toolkit => Support => Topic started by: hawken on January 30, 2014, 11:59:53 am

Title: Multi Touch & Camera hooked to tk2dUIManager possible bug?
Post by: hawken 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!
Title: Re: Multi Touch & Camera hooked to tk2dUIManager possible bug?
Post by: unikronsoftware 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.