Exemplo n.º 1
0
 public void Apply()
 {
     if (names.Count == 0)
     {
         ShotName _name = (ShotName)dropName.value;
         names.Add(_name);
     }
     for (int i = 0; i < objNames.Count; i++)
     {
         Destroy(objNames[i]);
     }
     objNames = new List <GameObject>();
     //
     boss.AddShotBuilder(names);
     names = new List <ShotName>();
 }