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

Pages: [1]
1
Support / Edge Collider > Polygon Collider SCRIPT
« on: November 03, 2015, 09:48:05 am »
I was giving 2DtoolKit a spin, long been a fan, but now Unity Tilemap is looming.

I was wondering if the solid collider issue has been addressed.

Seems not (as far as I can tell).

Drop this script on your tile layers, it'll do the job. It also has a "convert to trigger" setting if you want the polygon to be a trigger (ladders, water, doors etc.)

Almost certainly doesn't work with holes, I'll try and fix it up if you let me know any problems, or feel free to edit and PR!

https://github.com/HawkenKing/Edge-collider2D-to-Polygon-collider-2D

2
Support / Re: 2d Camera doesn't support Diffuse sprites
« on: March 31, 2014, 06:18:59 am »
Ah, interesting! Will wait to see what happens then, thanks.

3
Releases / Re: 2D Toolkit 2.4.0
« on: March 27, 2014, 08:48:25 am »
Can't see where to click for the PDF attachment sample in the post.

4
Support / Re: Dropdown height
« on: March 27, 2014, 08:41:35 am »
OK I figured it out, just being dim as usual. I simply pull on the yellow arrow? Might want to add that to the FAQ :)

BTW there's no way to see attachments on this forum? (chrome, mac) I need to see the pdf invoice sample to register for 2dtk 2.4

5
FAQs / Re: Register your copy and get download access.
« on: March 27, 2014, 08:37:30 am »
Maybe I'm being dim, but where is the attached image? I need to quote from the PDF to get my 2.4 goodness.

I've attached an image this post, but chances are theres no where to click to see it? Using Chrome on Mac.

6
Support / 2d Camera doesn't support Diffuse sprites
« on: March 27, 2014, 05:13:29 am »
The 2d camera is amazingly useful, I use it in all my projects.

I thought I was going mad though, as my sprites weren't displaying any diffuse or bump. (unity sprites)

Particles too.

Then I switched to a normal defult unity camera and everything worked.

Will there be a fix for this? Would be a shame to lose this wonderful camera, tile system and so on, jest because the camera doesn't support lighting.

7
Support / Re: Dropdown height
« on: March 25, 2014, 05:08:42 am »
Specifically how do I change these blue lines to be higher?


8
Support / Dropdown height
« on: March 25, 2014, 04:52:45 am »
Hi, not really grasping how this works, there not much in the docs or FAQ so I'll ask here:

I used a prefab to make some dropdowns, set the dropdownheight (left one is correct):



But when it runs in the player, the dropdown items are all layered on top of each other. Is there a way to set the dropdown button height & dropdown item height?


9
Support / Re: How to set state of Toggle button in code? (AS)
« on: March 25, 2014, 04:46:46 am »
Thanks!

10
Support / Re: How to set state of Toggle button in code? (AS)
« on: January 30, 2014, 12:04:42 pm »
Thanks for the feedback. Not really grasping it though :(

So basically I should show and hide the toggle states based on the setting I'm saving with playerPrefs?

11
Support / Multi Touch & Camera hooked to tk2dUIManager possible bug?
« on: January 30, 2014, 11:59:53 am »
Quote
It is no longer necessary to hook up a camera to the tk2dUIManager. You can simply attach a tk2dUICamera script to the cameras that interact with UI.
UnityEngine.Debug:Log(Object)
tk2dUIManager:Start() (at Assets/Plugins/tk2dUI/Code/Core/tk2dUIManager.cs:289)

It appears, doing so, stops multitouch from working. So, living with these alerts for now. Either that or multitouch needs to be enabled in the first scene you load, which I was doubting. FYI cheers!

12
Support / How to set state of Toggle button in code? (AS)
« on: January 21, 2014, 08:32:29 am »
I'm making a setting that is persistent through scenes and need a toggle button to be on when the user loads that scene.

From the documentation it's not entirely clear how to do this without any examples.

I tried the follow code:

var myToggleButton : GameObject;

Code: [Select]
function Start() {
if (PlayerPrefs.GetInt("ButtonOn") == 1) {
tk2dUIBaseItemControl.ChangeGameObjectActiveState(myToggleButton, true);
}
}

But unsure if this is the way to do it. It's not really clear. I just want the Toggle Button to be on, using code. Thanks.

13
Support / Re: Disabling UIItem
« on: January 09, 2014, 04:37:38 am »
I'm also interested in this feature  :D

I have UI items that overlay others (popups etc) and need an easy way to disable UI items when they are being covered.

thanks,

Pages: [1]