Unity-Technologies / 2d-extras

Fun 2D Stuff that we'd like to share!
Other
1.56k stars 344 forks source link

RuleTile not spawning a GameObject? #334

Closed TheBraveBunny closed 2 years ago

TheBraveBunny commented 2 years ago

I have a RuleTile with a bunch of rules. I created a prefab of one of the sprites. I attached that prefab to the appropriate rule. I drew a little room with the RuleTile, and there was one use of the sprite that had the prefab. When I run my game, no GameObject is spawned. In case it's relevant, the GameObject prefab I wanted to use for the rule has a collider and a rigidbody.