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

Pages: [1]
1
Support / Re: How to set SpriteCollection in runtime
« on: June 04, 2013, 02:59:14 pm »
Thank. It work.
Only i use SwitchCollectionAndSprite
level.GetComponent<tk2dSprite>().SwitchCollectionAndSprite(data,0);

2
Support / How to set SpriteCollection in runtime
« on: June 04, 2013, 02:20:59 pm »
I create Game object

GameObject levelButton = new GameObject("LevelButton",new Type[]{typeof(tk2dSprite),typeof(tk2dButton)});

and i want set the exist sprite collection. Collection in folder Assets/Sprites/GameElements.prefab

How can i do it?

Pages: [1]