private void OnTriggerEnter2D(Collider2D collision) { if (collision.GetComponent <Player2D>() != null) { Debug.Log("saved"); GetComponent <SpriteRenderer>().sprite = shiny; SavingManager.Runtime_SaveGame(); this.enabled = false; } }