private void Awake()
 {
     generator = (AbstractDungeonGenerator)target;
 }
 private void Awake()
 {
     generator = (AbstractDungeonGenerator)target;                   // target of the customEditor (cast since its an object)
 }