void Awake()
 {
     type = LevelManager.patternType;
     instance = this;
 }
 void Awake()
 {
     type     = LevelManager.patternType;
     instance = this;
 }