zoukankan      html  css  js  c++  java
  • JSBinding / Run Samples

    This document shows you how to run JSBinding 2048 sample in Editor.

    First of course, create an empty project and import JSBinding package.

    In Build Settings dialog, switch platform to PC, Mac & Linux Standalone.

     

    If you are on Windows, you have to copy DLL to unity install directory:

    • for 32bit editor: copy Assets/Plugins/x86/mozjs-31.dll to UnityInstallDir/Editor folder
    • for 64bit editor: copy Assets/Plugins/x86_64/mozjs-31.dll to UnityInstallDir/Editor folder

     

    If you are running Windows exe, you have to copy(or move) mozjs-31.dll to the folder containing .exe.

     

    Follow these steps:

    1. Click menu Assets | JavaScript | Gen Bindings
    2. Open scene JSBinding/Samples/2048/2048.unity.
    3. Click play button and enjoy it!

     

    back to JSBinding / Home

  • 相关阅读:
    MATLAB01
    Diffie-Hellman 密钥交换
    古典密码
    正则表达式
    装饰器初析
    进制转换的栈实现
    Log4j(异常日志)
    2018/6/6
    2018.1.1T19B3-u4
    2018.1.1T19-B3-U3jiangyi
  • 原文地址:https://www.cnblogs.com/answerwinner/p/4590981.html
Copyright © 2011-2022 走看看