TakeDamage() 공개 추상적인 메소드

public abstract TakeDamage ( uint amount ) : uint
amount uint
리턴 uint
예제 #1
0
파일: Actor.cs 프로젝트: lmucs/Coliseo
 // I don't think this will ever be used, at least not while the colliders are set up as they are.
 public void attack(Actor target)
 {
     target.TakeDamage(attackStrength);
 }
예제 #2
0
 // I don't think this will ever be used, at least not while the colliders are set up as they are.
 public void attack(Actor target)
 {
     target.TakeDamage(attackStrength);
 }