Skip to content

Instantly share code, notes, and snippets.

@unity3dcollege
Created May 6, 2017 03:52
Show Gist options
  • Save unity3dcollege/21a0de83c0cf8df5d4a06db22c75ba1f to your computer and use it in GitHub Desktop.
Save unity3dcollege/21a0de83c0cf8df5d4a06db22c75ba1f to your computer and use it in GitHub Desktop.
private void Awake()
{
InitializeDecals();
Shootable.OnAnyTookShot += (shootable, hit) => SpawnDecal(hit);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment