biyaniM / ALICE-IN-WONDERLAND-professional-nappers

Single Player, 3D Platformer movement-based game with Color and Level Mechanics with WebGL Builds
6 stars 1 forks source link

Pop-up text doesn't disappear when kill a turret #251

Closed sulysu closed 1 year ago

sulysu commented 1 year ago

The issue is caused by CoinCollectionOnEnemyKill.cs. Line 46Destroy(gameObject) will destroy the object which will destroy hud at the same time. Need to control by player.cs.

biyaniM commented 1 year ago

@sulysu This probably can be fixed with a time ienumerator coroutine. Will have a look.