Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Other [DELETE]

Discussion in 'Scripting' started by SolAvaDem, Mar 4, 2017.

  1. SolAvaDem

    SolAvaDem

    Joined:
    Oct 9, 2013
    Posts:
    22
    [EDITED]
     
    Last edited: Apr 14, 2023
  2. booiljoung

    booiljoung

    Joined:
    May 12, 2013
    Posts:
    57
    Hi.

    Your code should be written in C.
    Windows have a pascal function call rule and is different from C#. The stack is also different and the data structure is different.
    You have to write the plugin code in C, and if you get the key hook, you can send it to Unity with UnitySendMessage. UnitySendMessage is bad for performance.

    if you have more question mail me: booiljung@me.com.

    Cheers!
    Booil
     
    Last edited: Mar 5, 2017