timing finish line etc
This commit is contained in:
1 parent
828a8e963e
commit
cc70596f54
48 files changed
+4474
-5830
No files matched your search
@@ -1,12 +1,12 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
// using System.Collections;
|
||||
// using System.Collections.Generic;
|
||||
// using UnityEngine;
|
||||
|
||||
public class RemoveComponentName : MonoBehaviour {
|
||||
public void RemoveComponents () {
|
||||
MeshRenderer[] meshes = GetComponentsInChildren<MeshRenderer>();
|
||||
foreach (MeshRenderer c in meshes) {
|
||||
DestroyImmediate(c, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
// public class RemoveComponentName : MonoBehaviour {
|
||||
// public void RemoveComponents() {
|
||||
// MeshRenderer[] meshes = GetComponentsInChildren<MeshRenderer>();
|
||||
// foreach (MeshRenderer c in meshes) {
|
||||
// DestroyImmediate(c, true);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
Reference in new issue
Block a user