private void TryAttachToPlayer(Player player, Companion companion) { if (ActiveCompanion == null) { Audio.Play("event:/game/general/seed_touch", Position, "count", 1); companion.AttachToPlayer(player); for (int j = 0; j < 8; j++) { SceneAs <Level>().ParticlesFG.Emit(Key.P_Insert, companion.Center, (float)Math.PI / 8f * (float)j); } SceneAs <Level>().Displacement.AddBurst(companion.Position, 0.2f, 8f, 28f, 0.2f); } }