Closed meetcshah19 closed 3 years ago
An easy way to test the PR is to create a dummy AnimalSpawnEvent in the engine and send it with the spawnPrefab command here. Also switch the event used in the shearing system.
The WildAnimalSpawn event feels like something that shouldn't need a new custom system and event. I went looking to see if there's anything built-in that might cover this use case.
There are lifecycle events that apply to all Components. Can this use the OnAddedComponent or OnChangedComponent events? Perhaps with ReceiveEvent set to filter to only WildAnimalComponent.
These are mentioned as core events in the wiki's Events and Systems page.
The current PR uses PR to add model. Use
spawnPrefab sheep
to spawn a sheep andgive CrudeShears
to get a CrudeShears item. Use the CrudeShears on the sheep to see the shearing take place.