ByName — Now for sale in the Scirra Store!
<h3>ByName</h3><div class="deshr"></div><p>This plugin allows you to:</p>
- Create any object in your project with just the string of its name.
- Get the value of any effect/shader applied to an object (and whether the effect is active).
- Check if a name is present within your project.
<p>Now, instead of having huge if/else trees to determine which object to spawn, you can simply do 'ByName.Create("your_name")'. This is great for:</p>
- Firing different bullets
- Creating spoils/power ups on enemy defeat
- Creating random enemies
- Whenever you need to dynamically choose which type of object to create
Use this topic to leave comments, ask questions and talk about ByName