GameManager.generators - notruilin/DeceptionGame GitHub Wiki
public List generators;
The GameObjects of all generators. The index of the generators in the list corresponds to red, white, blue and yellow generators in the game. You may use it to access the GeneratorManager of each generator and get full information about it.
GeneratorManager manager = GameManager.instance.generators[id].GetComponent<GeneratorManager>();