16
Support / Re: New line in textmesh
« on: February 11, 2014, 04:33:17 pm »
nvm... found it. Used /n instead of \n at first try
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.
public class MainGame : MonoBehaviour
{
public tk2dSprite myGameOverlay;
void Start ()
{
myGameOverlay = GetComponent<tk2dSprite>();
}
I'm not exactly sure this has anything to do with tk2d code specifically, it may be a general thing... I seem to be getting a fair few shutdown (and debugger) hanging in Unity 4.3 in another project which doesn't have tk2d in it at all.Glad to hear that tk2d isn't the problem then. Back to the Unity forums then :wink:
Same issue here after updating to 4.3 (with 2dtoolkit also updated to latest). It seems to eventually close but after many minutes.How many minutes..? On my system I've had Unity3D 'open' for over 15 minutes after I've pressed the X to close. And I don't have a real slow system (nor really fast either - Phenom X6 1090T)
using UnityEngine;
using System.Collections;
public class TetrisBits : MonoBehaviour
{
public Transform myObject;
// Use this for initialization
void Start ()
{
}
// Update is called once per frame
void Update ()
{
if (Input.GetKey(KeyCode.N) && Input.GetKeyDown(KeyCode.N))
{
Instantiate(myObject, new Vector3(176,261,1),myObject.rotation);
}
}
}
Well, code works, but it's not created on (176,261,1) in the anchor where the prefab sprite resides, but instead it's on those coordinates in the MAIN camera (and thus waaay off where I want it ). Now I'm wondering how I can tell the object to appear under the anchor it's parent is instead of the clone popping up on the main window. Also worth to note that myObject.rotation is not working as 'anchor' as the tutorial on the Unity site tells me.
I have no idea. None of the relevant bits have changed in tk2d 2.3, so I don't think it will be broken. We don't maintain the spine runtime, its maintained by the spine community, I believe.
Spine does not currently support the 4.3 features since we haven't had much time to look into it yet. It will support 4.3 features in the future, hopefully before too long. We need to look into it to be able to give more details.
2.2.3 in what version of Unity?Had a couple of those hangups with 2.2.3 as well in the last 4.2 Unity build. But it were only a few back then. Now (2d toolkit 2.3 and Unity 4.3) if hangs after almost every session I try to close.
You can use 2D Toolkit (2.3) with Unity 4.3, use as little or as much of each system as you like. Unity provides some really nice tools, but 2D Toolkit builds on that and does a lot more. Some examples - I'll update this later with more stuff, maybe set up a "comparison" website - I say that loosely, as I think you should probably use the strengths of both systems.Thanks for the quick list!