[4.6 - UI] How to instantly move mouse pointer to a certain button when I...
![alt text][1] How can I make mouse pointer instantly move to Yes button when I click Buy button with screen resolution independent? For now I only get the temporarily solution at [here][2]. It is hard...
View ArticleHow to truncate sprite without changing the scale of the sprite?
For now, I use transform.localScale to design a HP bar that will keep decreasing HP when player get hit but because of localScale issue I get the undesired result as image below. I dun want tat portion...
View ArticleWhat is purpose of sortingLayerName in 2D Platformer sample project?
What is the purpose of putting these lines of code in hero object? Even I comment these lines I still cannot get any differentiation. Sample project :...
View ArticleHow to export complete package?
How can I export complete package with all project settings such as InputManager.asset, TagManager.asset and so on?
View ArticleHow to change transform.position.x after a state is changed?
When I press attack button, player will change to Normal Attack state to perform Normal Attack animation and you will notice the player seem like step back a little bit as the width of sprite for...
View ArticleTrigger a script when an object is destroyed
Why I get 2 errors after putting this line? How to fix it? Thanks. Btw the game still runs fine. ![alt text][1] [1]: /storage/temp/20962-5.png
View Article[4.6 - UI] How to instantly move mouse pointer to a certain button when I...
![alt text][1] How can I make mouse pointer instantly move to Yes button when I click Buy button with screen resolution independent? For now I only get the temporarily solution at [here][2]. It is hard...
View ArticleHow to truncate sprite without changing the scale of the sprite?
For now, I use transform.localScale to design a HP bar that will keep decreasing HP when player get hit but because of localScale issue I get the undesired result as image below. I dun want tat portion...
View ArticleWhat is purpose of sortingLayerName in 2D Platformer sample project?
What is the purpose of putting these lines of code in hero object? Even I comment these lines I still cannot get any differentiation. Sample project :...
View ArticleHow to export complete package?
How can I export complete package with all project settings such as InputManager.asset, TagManager.asset and so on?
View ArticleHow to change transform.position.x after a state is changed?
When I press attack button, player will change to Normal Attack state to perform Normal Attack animation and you will notice the player seem like step back a little bit as the width of sprite for...
View ArticleTrigger a script when an object is destroyed
Why I get 2 errors after putting this line? How to fix it? Thanks. Btw the game still runs fine. ![alt text][1] [1]: /storage/temp/20962-5.png
View Article