GAMES IN PROGRESS
Latest Videos
Home
/
Indie Game Developers
/
Unity
/
Modify a sprite at runtime

Modify a sprite at runtime

49 sec
If your game needs to modify a sprite at runtime, you can easily regenerate its collider by using the PolygonCollider2D.CreateFromSprite method. In this quick-tip short, we’ll show you how to set this up. πŸ”— Find more info in the documentation: https://on.unity.com/2DColliderDocs #GameDev #UnityTips #Unity3D #UnityLearn