Skip to content

Convert player/weapon to use ScriptableObject

This covers #9 and #8.

Main changes are adding WeaponConfig, PlayerConfig and their supporting interface IConfigurable.

Player and PaintGun respectively both have a config property for PlayerConfig and WeaponConfig which both call SetupGameObject(gameObject) in their Awake() methods.

I've also added a few example/test configs for Heavy/Normal/Light weapons and Heavy/Light players which were used for testing.

Merge request reports