1
Support / Re: Prefab with camera anchor loses the public camera variable
« on: September 12, 2016, 08:34:25 am »
Hi,
yes it's in the scene. Hmm I see.
I just add inside the Start() method now:
Thanks!
yes it's in the scene. Hmm I see.
I just add inside the Start() method now:
Code: [Select]
_tk2dCamera = GameObject.Find( "tk2dCamera" ).GetComponent<Camera>();
_textAnchor.transform.parent = _tk2dCamera.transform;
_textAnchor.AnchorCamera = _tk2dCamera;
Thanks!