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 - roaet

Pages: [1]
1
Support / Tilemaps are amazing, but how do I dynamically create them?
« on: August 31, 2013, 07:01:05 am »
I really like tilemaps but I have level data stored externally and would like to generate them runtime. Is that possible? Thanks for the support. Love your product!

2
Support / Re: GetMeshDimensionsForString not returning height of textmesh
« on: February 07, 2013, 03:40:52 am »
@Drips: what did you do in GetMeshDimensionsForString to get it to work? I'm apparently incapable of getting this one working.
Code: [Select]
public Vector2 GetMeshDimensionsForString(string str)
{
str = FormatText(str);
Debug.Log (str);

int newlines = str.Length - str.Replace("\n","").Length;
Debug.Log("There are " + newlines.ToString() + " newlines");

Returns the expected amount of new lines but the mesh isn't updating the size properly.

Pages: [1]