public void Destroy() { if (assetLoadOperation != null) { assetLoadOperation.Unload(); assetLoadOperation = null; } if (gameObject != null) { Object.Destroy(gameObject); gameObject = null; } }