Hey guys I have a problem with me inspector.
The situation, I have a base class attack and the derived classes melee-attack, ranged-attack etc. . If i make a public var attack on a Unit script is there a way so i can assign them in the inspector or must I hard code all the attacks, and work with switch case or something?