Sample Project
The sample project showcases how you could control a game object with a game manager. You would find the script file XDMsgManager provides most of the XD platform docking functions, but not all of them. Some of them need to be imitated or expanded after understanding.
Download link
You could download the sample project in the link below:
LINK TO SAMPLE PROJECT