Kap Engine Wiki
  • KapEngine
    • Getting Started
    • Changelog
      • Release 1.2
      • Release 1.1
      • Release 1.0
    • Tests
    • How it works ?
    • On what are we work on ?
  • USER MANUAL
    • Transform
      • Position
      • Rotation
      • Scale
      • Parents
    • Component
      • What is it ?
      • Create new one
      • checkComponentValidity
      • onAwake
      • onStart
      • onUpdate
      • onFixedUpdate
      • onDisplay
      • onDestroy [EVENT]
      • onGameQuit [EVENT]
      • onDisable [EVENT]
      • onEnable [EVENT]
      • onMouseEnter [EVENT]
      • onMouseStay [EVENT]
      • onMouseExit [EVENT]
      • onTriggerEnter [EVENT]
      • onTriggerStay [EVENT]
      • onTriggerExit [EVENT]
      • onSceneChanged [EVENT]
    • GameObject
      • What is it ?
      • Create new one
      • Useful functions
    • Scene
      • Getting started
      • Create new one
      • Add new GameObject
    • Graphical libraries
      • What is it ?
    • Input
      • Keys
      • Axis
      • getInput
    • Mouse
      • getMouse
    • Animations
      • Animator
        • What is it?
        • Create Animator
        • Add Aniation
        • Links
      • Animation
        • System
        • Functions
    • UI
      • Canvas
      • Image
      • Text
      • UiFactory
    • Debug
      • Macros
      • Class Debug
    • Tools
      • Color
      • Rectangle
      • Vectors
    • Utils
      • Dictionary
      • Type
      • Platform
    • Versioning
  • Game Example
    • Game
      • How directory is composed ?
  • Community
    • FAQ
    • KapMirror
    • KapUI
    • KapRaylib
Powered by GitBook
On this page

Was this helpful?

  1. USER MANUAL
  2. Utils

Platform

The file allow you to detect in which platform your game is running.

There is 3 platform detected :

  • Linux (defined: __LINUX__ )

  • Windows (defined: __WINDOWS__ )

  • Mac (defined: __MACOS__ )

PreviousTypeNextVersioning

Last updated 2 years ago

Was this helpful?