gmh5225 / imgui-Unity-With-Layout

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImGui Unity Template with Costumized Layout

2022/06/16: Initial Comit.

ImGui Template that can addapt any Unity Games image

What is IMGUI?

Imgui is basically a full stack GUI framework made with c++ which supports lots of operatinh systems

Is it Easy to use Imgui on Android?

If need to say correctly , I dont find it easy to use as i use on my pc

Why IMGUI?

As Its a full stack Framework we/you can easily make lots of things from it easily and it can save lot of time

How it Works ?

Yes , While Talking about its working method currently we use egl to hook with our EGLSurface or Simply It uses eglSwapBuffers with Dobby Hook

How is it's touch Managed?

Currently it uses the touch from game itself ,like Unity structure for touch so it gets easy for us to Handle it

How to inject / implement

  1. Extract the lib from your deired Architecture or simply armeabi-v7a
  2. Place your lib in correct path of the game.
  3. Load your Lib from onCreate of your Game's Mainactivity or UnityPlayerActivity

The main activity of Unity is: com/unity/player/UnityPlayerActivity

const-string v0, "native-lib"

invoke-static {v0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V

Having Doubt? image

Recomendations

  1. This Project Currently Uses CMake So Better you Use AndroidIDE or Android studio
  2. AIDE i will never recommend to use cause it's systems are not so good at all
  3. If you find bugs relating to this project, simply mention on the same repo so that we can improve it

Codes

image image image image image

Credits

About


Languages

Language:C++ 87.6%Language:C 11.6%Language:CMake 0.8%Language:Java 0.0%