Jayanam: Blender to Unity : C# Programming – Damage Script

Blender to Unity : C# Programming – Damage Script
In this part of the Blender to Unity cannon game asset series I show you how I extended the C# scripts and low poly game kit framework to let characters take damage when they are hit by a cannonball for example.

I introduced a new interface called IDamageable with a method TakeDamage that is called by the cannonball C# script.

See my social profiles here
G+: https://plus.google.com/+JayAnAm
Twitter: https://twitter.com/jayanamgames
Facebook: https://www.facebook.com/jayanamgames
Patreon: https://www.patreon.com/jayanam

Production Music courtesy of Epidemic Sound: http://www.epidemicsound.com

#unity
#unity3d
#gamedev
#scripting

View on YouTube

Join the Discussion

Share your thoughts, ask a question, or tell us what you learned. Your first comment is reviewed before it appears. Once approved, future comments using the same name and email can appear directly, subject to spam checks.

Leave a Reply

Your email address will not be published. Required fields are marked *

Fix the Blender logo

Drag the loose piece into the missing part. A close fit is enough.

Loading verification…

Keyboard: arrows to move, Shift for fine adjustment, Enter to check. Verification only; movement is not stored. Logo: Blender.