Integrated player control to unity framework