Posted April 18, 2023 by VojtoG
Fixed column issue in script walkthrough projects.
time I am guessing that it was at least 20 minutes till I realised that the issue was that I wrote false instead of true in Column Damage
private void OnCollisionEnter2D(Collision2D collision)
{
BulletHandler bullet = collision.gameObject.GetComponent<BulletHandler>();
if (bullet != null)
{
columnParts.SetActive(true);
gameObject.SetActive(false);
}
}
:((((