Hey everyone! Ive got a problem i cant wrap my head around at the moment, hopefully someone has had this issue before and can shed some light on it:
Im making a sort of Bullet-hell game. The user will control a group of entities that will constantly fire bullets.
Ive made a weapon selection screen (no ECS, only monobehaviour) that reads the data from an array of scriptable objects representing the weapons (guns, shotguns, etc). These scriptable objects contain a reference to a weapon prefab. The user will select a single weapon, and that weapon should be the one all player troops hold.
How can i "save" this prefab, transform it into an entity prefab and have my players entities spawn with the selected weapon? Perhaps im thinking about it wrong but im not experienced enough to know. I can share code if necesary.
Thank you in advance!