Hi I have a Enemy.cs and Snake.cs
Enemy.cs have MaxHp,CurrentHp,Attack Damage
These are going to be same for every enemy
I don’t want write these over and over to Snake.cs
I know i can use like Attack() for between two scripts
But can i use “public float maxHealth” between 2 scripts
And which way should i use ?
Scriptable objects,interfaces,abstract classes
Which one is good ?