private void Stop(bool p_isPing) { enabled = false; CallStopEvents(p_isPing); try { if (DestroyOptionWhenStop == WhenStopDestroyEnum.DestroyScript) { KiltUtils.Destroy(this); } if (DestroyOptionWhenStop == WhenStopDestroyEnum.DestroyGameObject) { gameObject.SetActive(false); KiltUtils.Destroy(this.gameObject); } } catch {} }