How to test on devices
 

  1. File - > Build Settings…
     

  2. Choose your platform (iOS, Android)
     

  3. Switch platform
     

  4. After switching: 
     

    1. For iOS click “Build” and select folder, then open created project in XCode.

    2. For Android you can plug-in device to your pc and click “Build and Run” and game automatically runs on your device after building.