Quantcast
Channel: Latest Questions by optimise
Browsing index pages (12 articles)

[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 Article


How 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 Article


What 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 Article

How to export complete package?

How can I export complete package with all project settings such as InputManager.asset, TagManager.asset and so on?

View Article

How 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 Article


Trigger 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 Article

How 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 Article


What 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 Article


How to export complete package?

How can I export complete package with all project settings such as InputManager.asset, TagManager.asset and so on?

View Article

How 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 Article

Trigger 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
Browsing index pages (12 articles)


Latest Images