This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
move:invincibleframes [2013/12/12 00:01] Mistermind created |
move:invincibleframes [2013/12/12 00:04] Mistermind |
||
---|---|---|---|
Line 13: | Line 13: | ||
Code example: | Code example: | ||
<code c#>void OnHit(HitBox strokeHitBox, | <code c#>void OnHit(HitBox strokeHitBox, | ||
- | Debug.Log(" | + | foreach(InvincibleBodyParts invBodyPart in move.invincibleBodyParts){ |
+ | Debug.Log ("Completely Invincible: " + invBodyPart.completelyInvincible); | ||
+ | } | ||
}</ | }</ | ||
---- | ---- |