Write the full code for the fighting game in the unity with all the necessary classes and methods
class main { public static void main() { } class player { private int life private string name public void attack() { } public void block() { } public void die() { } } class enemy { string name public void attack() { } }