Exemple #1
0
 static void CheckHideFlags(HideFlags hideFlags = HideFlags.HideInHierarchy)
 {
     Curves.ForEach(x => x.gameObject.hideFlags   = hideFlags);
     Hazards.ForEach(x => x.gameObject.hideFlags  = hideFlags);
     Tees.ForEach(x => x.gameObject.hideFlags     = hideFlags);
     Shots.ForEach(x => x.gameObject.hideFlags    = hideFlags);
     Pins.ForEach(x => x.gameObject.hideFlags     = hideFlags);
     Measures.ForEach(x => x.gameObject.hideFlags = hideFlags);
     FlyBys.ForEach(x => x.gameObject.hideFlags   = hideFlags);
 }
Exemple #2
0
 private void OnDisable()
 {
     Pins.ForEach(x => x.SetActive(false));
 }