getHealth&getResourceList in UI

make an exmaple for using these two method in UI.cs