void Start() { MakeD4(); UpdateMesh(); meshCollider.convex = true; bell = GetComponent <AudioClipScript>(); }
void Start() { MakeD6(); UpdateMesh(); meshCollider.convex = true; bell = GetComponent <AudioClipScript>(); Debug.Log("Normal length: " + mesh.normals.Length); }
void Awake() { if (instance != null) { Destroy(gameObject); } else { instance = this; DontDestroyOnLoad(gameObject); } }