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

Pages: [1]
1
Support / Check 2dToolkit Exists/ Imported
« on: December 04, 2013, 03:50:06 pm »
Hello

I am building a custom playmaker plugin using 2dtoolkit for my own needs, but there's one scenario I have to check 2dtoolkit imported, if no ignore the function.

Any way to do checking?

Thanks

2
Showcase / Re: Tasty Fish release on Android
« on: June 18, 2013, 02:34:28 pm »
Awesome and fun games.  ;D

Mind to share how you create the wave and floating boats? Cheers

3
Support / Re: tk2dTextMesh text misalignment after commit
« on: March 19, 2013, 01:48:54 pm »
Thanks for reply. By default, it is center and global. I tried to switch to pivot and local, but it still dropping to the next line.

4
Support / Re: tk2dTextMesh text misalignment after commit
« on: March 18, 2013, 06:27:47 pm »
Sorry, I am fairly new to unity. How do I check the pivot point?

5
Support / Re: tk2dTextMesh text misalignment after commit
« on: March 18, 2013, 02:16:41 pm »
The transform position remains the same.

The life and 3 is separate tk2dTextMesh, which I only update to the "3" tk2dTextMesh.

Thanks for reply.

6
Support / tk2dTextMesh text misalignment after commit
« on: March 18, 2013, 12:31:44 pm »
I tried to update text of tk2dTextMesh with following code:

      lifeLabel.text = "2";
      lifeLabel.Commit();

But, found out the text vertical alignment drop to the next line. I attached the images and configuration.

First image is the original display, second is after commit and third is the configuration. How do I resolved this?

Thank you


7
Support / Re: Getting mouse click for specific TK2DSprite
« on: March 11, 2013, 12:27:18 pm »
Thanks. Solved the problem.

8
Support / Getting mouse click for specific TK2DSprite
« on: March 11, 2013, 05:29:13 am »
Hi,

I am having problem with getting OnMouseDown and OnMouseEvent for TK2DSprite that have mesh collider. But, it works fine for TK2DSprite with box collider implemented.

My question is how do I get OnMouseDown event to works for sprite that implement mesh collider. Thank you

Some of my codes below:

using UnityEngine;
using System.Collections;

public class Crate : MonoBehaviour {

   void OnMouseDown() {
      Debug.Log("MouseDown");
   }

   void OnMouseUp() {
      Debug.Log("MouseUp");
   }   
}

Pages: [1]