Unity-Technologies / UnityPlayground

A collection of simple scripts to create 2D physics game, intended for giving workshops to a young audience
MIT License
870 stars 164 forks source link

Don't use abstract type Collider2D in RequireComponent #18

Closed Unity-Harry closed 6 years ago

Unity-Harry commented 6 years ago

Abstract types are not allowed in RequireComponent and cause an error dialogue, defaulting to BoxCollider instead.