Using a printer to print Unity3D Game statistics

前端 未结 2 437
盖世英雄少女心
盖世英雄少女心 2021-01-23 11:50

For a museum we\'re producing a collection of different minigames and a maingame, that uses the results of the minigames as a resource. When the visitor exits the museum, he sho

相关标签:
2条回答
  • 2021-01-23 12:30

    I don't think that Unity API allows using printer devices, but you can easily develop your own custom native plugin that will take data from your game and print it just as any other desktop application for your target platform would.

    0 讨论(0)
  • 2021-01-23 12:31

    While Unity3D doesn't handle printing directly, you can either:

    • Write your own C# printing algorithm or use an existing one.
    • Write your own Unity Plugin or use an existing one.

    If you need to support only Windows, you'll probably be better off by just saving the text to a file (.txt, .pdf, etc.) and then have it printed using the .NET Framework.

    0 讨论(0)
提交回复
热议问题