16 lines
304 B
GDScript
16 lines
304 B
GDScript
extends Node
|
|
|
|
const APP_ID = "4452760"
|
|
|
|
func _init():
|
|
OS.set_environment("SteamAppID", APP_ID)
|
|
OS.set_environment("SteamGameID", APP_ID)
|
|
|
|
func _ready():
|
|
Steam.steamInit()
|
|
|
|
var is_running = Steam.isSteamRunning()
|
|
|
|
if !is_running:
|
|
printerr("Steam is not running")
|
|
return |