Skip to content

Commit

Permalink
Add property to require line renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
danm3d committed Oct 5, 2015
1 parent 2b6f375 commit 3266e24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions NinjaRope.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* - the script (duh)
* - a line renderer
*/
[RequireComponent(typeof(LineRenderer))]
public class NinjaRope: MonoBehaviour {
private Rigidbody2D rigidbody_;
private LineRenderer lineRenderer_;
Expand Down

0 comments on commit 3266e24

Please sign in to comment.