playMaker

Author Topic: When is the CollisionEnter2D component added automatically?  (Read 983 times)

Softme

  • Playmaker Newbie
  • *
  • Posts: 11
When is the CollisionEnter2D component added automatically?
« on: February 28, 2023, 12:28:15 AM »
When is the CollisionEnter2D component added automatically?
After build? Because I found these component in my prefab after I build my project.
Before that, I did not find them, and my game work fine in play mode without this component.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: When is the CollisionEnter2D component added automatically?
« Reply #1 on: February 28, 2023, 03:36:49 AM »
Hi.
They will still be added in play mode (possible hidden)
Collision actions require this component

Softme

  • Playmaker Newbie
  • *
  • Posts: 11
Re: When is the CollisionEnter2D component added automatically?
« Reply #2 on: February 28, 2023, 08:32:18 AM »
ok, thanks!