Fish and FishData scripts.
FishData is a ScriptableObject that holds the data needed to instantiate a Fish.
FishData has the Constraint class which is a glorified Vector2 for storing a min and max for a value.
Fish is a MonoBehaviour that will be attached to the actual fish GameObjects in the game.
Fish and FishData scripts. FishData is a ScriptableObject that holds the data needed to instantiate a Fish. FishData has the Constraint class which is a glorified Vector2 for storing a min and max for a value. Fish is a MonoBehaviour that will be attached to the actual fish GameObjects in the game.