internal UpgradeModule(UpgradeModuleData moduleData) { _moduleData = moduleData; _triggered = _moduleData.StartsActive; }
internal UpgradeModule(GameObject gameObject, UpgradeModuleData moduleData) { _gameObject = gameObject; _moduleData = moduleData; _triggered = _moduleData.StartsActive; }
internal UpgradeModule(GameObject gameObject, UpgradeModuleData moduleData) { _gameObject = gameObject; _moduleData = moduleData; _upgradeLogic = new UpgradeLogic(moduleData.UpgradeData, OnUpgrade); }