Hello Guest

Author Topic: Unable to find any tk2dUICameras ScrollArea  (Read 4410 times)

gonzalez.martin90

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 24
    • View Profile
Unable to find any tk2dUICameras ScrollArea
« on: January 16, 2015, 01:52:59 pm »
Hi, i dropped teh ScrolleableVertical prefab into the scene and tried to test it with one of my screens but this error is coming up and i cannot scroll.

Unable to find any tk2dUICameras, and no cameras are connected to the tk2dUIManager. You will not be able to interact with the UI.

I dont know why is not finding the camera.

Thanks!

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Unable to find any tk2dUICameras ScrollArea
« Reply #1 on: January 16, 2015, 01:54:24 pm »
As the error says, do you have any tk2dUICameras in your scene?

gonzalez.martin90

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: Unable to find any tk2dUICameras ScrollArea
« Reply #2 on: January 16, 2015, 02:19:03 pm »
No i did not but i drag one into my camera. No works but i have another issue.
 Can i change de Content Lenght in runtime?

gonzalez.martin90

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: Unable to find any tk2dUICameras ScrollArea
« Reply #3 on: January 16, 2015, 02:21:38 pm »
I done it.

 For other user who wants to change just have a variable of the scroll and equal the ContentLength to MeasureContentLength();

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Unable to find any tk2dUICameras ScrollArea
« Reply #4 on: January 16, 2015, 02:28:52 pm »
Can you post a screenshot of that camera in the inspector please?