Using same animation with different sprite sheets
I have a 2D object with a couple of animations using a sprite sheet. But now I have to recreate this object to face different directions (up,down,left,right). Since it has a shadow on the sprites, I...
View ArticleRaycast ignore itself
I've worked with Raycasts for a long time now, and I understand how it works with layermasks, etc... But I have a problem right now that I couldn't find in any question here. Let's say I have a sentry...
View ArticleSynchronize object positions
I have these saws that move around those trails in pairs and at a constant speed. When I test this on my computer with good FPS it all works great and they move as intended. But when I test it on iPad...
View ArticleStatic variable to check objects between scene reloads
Basically I have some items on the game which the player can pick up. When those items are picked they disappear. I also want it so that if the player dies, when the scene is reloaded, those items that...
View ArticleAnimation transform lock
I have a 2D animation which moves an object up and scales it, but at the end of this animation I want the physics to kick in when the object drops. But since the animation had keyframes on the object...
View ArticleSerializedProperty to Texture2D
I'm currently making a custom propertydrawer, and I want to draw a preview of a sprite field. So the question is pretty simple let's say I have this SerializedProperty:...
View Article