|
Could someone maybe tell me how to generate a Box Collider with a specific size from a C# script. Since you can't new the Box Collider because its a Component how do you approach it?
(comments are locked)
|
|
You use gameObject.AddComponent() to add components. You can change the size after its added.
(comments are locked)
|
