예제 #1
0
 internal UpgradeModule(UpgradeModuleData moduleData)
 {
     _moduleData = moduleData;
     _triggered  = _moduleData.StartsActive;
 }
예제 #2
0
 internal UpgradeModule(GameObject gameObject, UpgradeModuleData moduleData)
 {
     _gameObject = gameObject;
     _moduleData = moduleData;
     _triggered  = _moduleData.StartsActive;
 }
예제 #3
0
 internal UpgradeModule(GameObject gameObject, UpgradeModuleData moduleData)
 {
     _gameObject   = gameObject;
     _moduleData   = moduleData;
     _upgradeLogic = new UpgradeLogic(moduleData.UpgradeData, OnUpgrade);
 }