示例#1
0
 public void OnLevelWasLoaded()
 {
     // Since the flair buttons are stuck to a hat with a joint rather than children of its transform,
     // they get destroyed between level loads. They aren't children because this causes problems with
     // moving them around with your controllers.
     SaveHatShelf.BuildFlair(this);
 }