示例#1
0
 protected override void InnerOnTick()
 {
     if (IsServer)
     {
         OnHealth.Damage(damagePerTick, Inflicter);
     }
 }
示例#2
0
 protected override void InnerOnPickup()
 {
     OnHealth.Damage(damage, Inflicter);
 }