private void DespawnPlane() { if (!IsValid(_plane)) { return; } _plane.Kill(); }
private void OnDestroy() { enabled = false; CancelInvoke(); if (_entity != null && !_entity.IsDestroyed) { _entity.Kill(); } }