Esempio n. 1
0
 public override void OnQuadDestroy(PQ quad)
 {
     foreach (EVAFootprint footprint in quad.GetComponentsInChildren <EVAFootprint>(true))
     {
         Destroy(footprint.gameObject);
     }
 }
Esempio n. 2
0
 public override void OnQuadDestroy(PQ quad)
 {
     foreach (var footprint in quad.GetComponentsInChildren <KerbalEVAFootprintSpawner.KerbalEVAFootprint>(true))
     {
         Destroy(footprint.gameObject);
     }
 }
Esempio n. 3
0
 private void ApplyToQuadMaterials(PQ pq)
 {
     Renderer[] renderers = pq.GetComponentsInChildren <Renderer>();
     foreach (Renderer r in renderers)
     {
         AddMaterial(r);
     }
 }
 private void ApplyToQuadMaterials(PQ pq)
 {
     MeshRenderer[] renderers = pq.GetComponentsInChildren <MeshRenderer>();
     foreach (MeshRenderer mr in renderers)
     {
         AddMaterial(mr);
     }
 }
 public override void OnQuadDestroy(PQ quad)
 {
     foreach(var footprint in quad.GetComponentsInChildren<KerbalEVAFootprintSpawner.KerbalEVAFootprint>(true))
     {
         Destroy (footprint.gameObject);
     }
 }
 private void ApplyToQuadMaterials(PQ pq)
 {
     Renderer[] renderers = pq.GetComponentsInChildren<Renderer>();
     foreach (Renderer r in renderers)
     {
         AddMaterial(r);
     }
 }