Hello Guest

Author Topic: box collider from runtime  (Read 2960 times)

vivaldi

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 15
    • View Profile
box collider from runtime
« on: October 09, 2013, 04:28:47 pm »
Hello.
I have created few sprites from runtime. How can I create box collider for this sprites from runtime?
Thanks.

vivaldi

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: box collider from runtime
« Reply #1 on: October 09, 2013, 04:49:24 pm »
I find it)
gameObject.AddComponent();

Thanks )