using System.Collections; using System.Collections.Generic; using UnityEngine; public class Breaked : MonoBehaviour { private void OnTriggerEnter(Collider other) { if (other.tag == "explodeSphere") { GetComponent().isKinematic = false; } } }