Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
mjholtzem committed Feb 5, 2016
1 parent cfa973f commit 7002780
Show file tree
Hide file tree
Showing 13 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ ExportedObj/

# Unity3D Generated File On Crash Reports
sysinfo.txt
unity2DDestruction/Library/
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using UnityEngine;
using System.Collections;
using System.Collections.Generic;

public class ExplodableFragments : ExplodableAddon{
Expand All @@ -8,6 +7,8 @@ public override void OnFragmentsGenerated(List<GameObject> fragments)
foreach (GameObject fragment in fragments)
{
Explodable fragExp = fragment.AddComponent<Explodable>();
fragment.AddComponent<ExplodeOnClick>();

fragExp.shatterType = explodable.shatterType;
fragExp.fragmentLayer = explodable.fragmentLayer;
fragExp.sortingLayerName = explodable.sortingLayerName;
Expand Down
Binary file not shown.
Binary file removed unity2DDestruction/Library/CurrentLayout.dwlt
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed unity2DDestruction/Library/assetDatabase3
Binary file not shown.
Binary file removed unity2DDestruction/Library/expandedItems
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 7002780

Please sign in to comment.