Hello, I try create a behavior "Weapon".
Now I can't create a Instance of bullet in my plugin.
1. Create a bullet on project.
2. Create a "tank" with weapon.
3. Add my behavior "Weapon" to the "tank".
4. On the "space" key down I make a shoot from weapon by bullet from step 1.
But for it I must create a new bullet from my behavior script. I saw in Events sheet, that my "tank" as Sprite can use Spawn function for create new Instance Bullet. From script it looks terrible in my performance: