Layers for unity now works properly

other methods are being neglected as I'm only working with this one
method currently, I'll fix them at some point soon