Hello Guest

Author Topic: tk2dCamera prefab adding camera component  (Read 2545 times)

alkaszl

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 4
    • View Profile
tk2dCamera prefab adding camera component
« on: May 23, 2014, 03:36:15 pm »
I am setting up a camera that I want to use in every scene without having to set it up every time. To achieve this, I just made the camera into a prefab. When I do this, the base Camera component built into Unity is also being added to the object. So there is a Camera component and a tk2D component on the same object when I make it into a prefab. If I remove the Camera component, the camera does not work anymore. Will the two components interfere with each as long as I don't touch the settings on the base Camera component?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: tk2dCamera prefab adding camera component
« Reply #1 on: May 23, 2014, 05:21:47 pm »
The tk2dCamera component needs a camera to work, there is one when you create it, just hidden.

alkaszl

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: tk2dCamera prefab adding camera component
« Reply #2 on: May 23, 2014, 06:13:24 pm »
Okay, I figured so. Thank you :)