CheckAppInstance

Andrew Bindraw - 9月 17, 2020

Only one instance of your game can be run at the same time.

  • 支持的平台
  • 支持的引擎版本
    4.24 - 4.25
  • 下载类型
    引擎插件
    此产品包含一款代码插件,含有预编译的二进制文件以及与虚幻引擎集成的所有源代码,能够安装到您选择的引擎版本中,并根据每个项目的需求启动。

Only one instance of your game can be run at the same time.

技术细节

This plugin makes it possible only one instance of your game can be run at the same time.

https://github.com/mrbindraw/CheckAppInstance

WARNING!

  • This plugin created mostly who don't like C++ and work only with blueprints.


Setup:

  • Create Blueprint class BP_GameInstance derived from GameInstance.
  • Call on EventInit method CheckAnotherAppInstance.
  • ProjectSettings -> Maps&Modes -> Game Instance Class: BP_GameInstance.


Number of C++ Classes: 2

C++/Blueprints functions:

  • CheckAnotherAppInstance (bool IsEnabled = true)


Supported Development Platforms: Windows, Linux, MacOS, Android, iOS

Supported Target Build Platforms: Windows

https://github.com/mrbindraw/CheckAppInstance