2D Toolkit Forum

2D Toolkit => Support => Topic started by: vivaldi on October 09, 2013, 04:28:47 pm

Title: box collider from runtime
Post by: vivaldi 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.
Title: Re: box collider from runtime
Post by: vivaldi on October 09, 2013, 04:49:24 pm
I find it)
gameObject.AddComponent();

Thanks )