Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - pandaryll

Pages: [1]
1
Support / Re: Reloading scene destroys UI camera of tk2dUIManager
« on: August 25, 2013, 10:32:11 pm »
that did the trick thanks!

2
Support / Re: Reloading scene destroys UI camera of tk2dUIManager
« on: August 24, 2013, 06:18:36 pm »
I'm using 2 final + hotfix 2 (taken from 2D Toolkit > About)

The camera isn't actually destroyed in the scene but somehow the UI manager loses it reference of it

3
Support / Reloading scene destroys UI camera of tk2dUIManager
« on: August 21, 2013, 04:04:32 pm »
Whenever I reload the scene using Application.LoadLevel(Application.loadedLevel) the UI camera of my Tk 2D UIManager becomes missing.

Here's the error message:
MissingReferenceException: The object of type 'Camera' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
UnityEngine.Camera.ScreenPointToRay (Vector3 position) (at C:/BuildAgent/work/7535de4ca26c26ac/Runtime/ExportGenerated/Editor/UnityEngineCamera.cs:376)
tk2dUIManager.CheckInputs () (at Assets/TK2DROOT/tk2dUI/Code/Core/tk2dUIManager.cs:388)
tk2dUIManager.Update () (at Assets/TK2DROOT/tk2dUI/Code/Core/tk2dUIManager.cs:236)


The game will still run but the error persists.

4
Support / Re: Updating values of a text mesh
« on: August 07, 2013, 03:09:07 pm »
It worked thanks!


5
Support / Updating values of a text mesh
« on: August 07, 2013, 02:38:11 pm »
Hi,

I'm rewriting some of my OnGUI code to something equivalent in 2Dtoolkit.
One of my GUI values requires it to be updated frequently, like a timer or a current value like current speed.

To display this value i'm using a Tk2DTextMesh Script, which has a text value. Here's my code:
      textValue.GetComponent<tk2dTextMesh>().text = curValue.ToString();

note: textValue is a transform w/c has a tk2dTextMesh component

When I play the game the text value in the inspector is updating but the value does not change while playing.


6
Support / How to create font soft shadows?
« on: July 22, 2013, 11:00:50 pm »
Hi all,

It's my first time posting here. I'd like to know how can you create a soft shadow with your font?

Thanks!

Pages: [1]