Пример #1
0
 void Start()
 {
     HP            = 50;
     isStaticBonus = true;
     staticEvents  = new List <CoreEvent>(1);
     staticEvents.Add(EventBank.generateMilitaryEvent(militaryValue));
 }
Пример #2
0
 void Destroy()
 {
     staticEvents.Add(EventBank.generateMilitaryEvent((-1) * militaryValue));
 }