Guys, help out, I don't know how to rewrite this code in C#...
signal killed ()
export (float) var max_health = 100
onready var health = max_health
var prev_health = health
health = clamp(value, 0, max_health)
health i= prev_health:
health == 0:
I partially know how this miracle will look in C#, but it turns out crooked, can you recommend something?
Code by the way is not Mine, so do not scold :)