Code part of a Unity first-person abstract survival game