Unity3D-iCade-plugin
====================
iCade plugin for Unity3D. Supports poll and callback usages. Contains postprocessing code that changes the generated Xcode project (uses mod_pbxproj).
You can use this plugin in two ways:
a) Poll
This mimics the way Unity’s Input class works, with a couple of subtle differences.
You need to:
Activate the plugin with iCadeInput.Activate(true)
Use bool iCadeInput.GetButtonDown(char button) or iCadeInput.GetButtonUp(char button) to get the state of a given button. Like Unity’s Input.GetButtonDown, this will only return true in the first frame where the state changed.
Use bool iCadeInput.GetButton(char button) to get the state of a button. This will continuously report the state of a button, like Unity’s Input.GetButton
Event driven (callback)
This allows you to be notified when a state occurs in iCade.
You need to:
Activate the plugin with iCadeInput.Activate(true)
Use iCadeInput.AddICadeEventCallback to be notified of all state changes
Use iCadeInput.AddICadeButtonUpCallBack to be notified of button up events (includes joystick)
Use iCadeInput.AddICadeButtonDownCallBack to be notified of button down events (includes joystick)
Check PlugInTest.cs for an example on all usages.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
Unity3D-iCade-plugin.zip (29个子文件)
Unity3D-iCade-plugin-master
Assets
Scripts
PlugInTest.cs 3KB
Scenes
sc00.unity 13KB
Plugins
GW iCade
iCadeInput.cs 12KB
Editor
GameWhizzes
Support files
PostProcessor
mod_pbxproj.pyc 47KB
mod_pbxproj.py 42KB
GWPostProcessor.py 1KB
PostProcessor.cs 1KB
iCade plugin
iCade plugin source files
iCadeManager.mm 3KB
iCadeManagerBindings.m 711B
iCade
iCadeReaderView.h 2KB
iCadeReaderView.m 4KB
iCadeState.h 2KB
iCadeManager.h 495B
iCade.projmods 258B
ProjectSettings
NavMeshLayers.asset 9KB
Physics2DSettings.asset 4KB
GraphicsSettings.asset 4KB
TimeManager.asset 4KB
AudioManager.asset 4KB
EditorBuildSettings.asset 4KB
QualitySettings.asset 5KB
DynamicsManager.asset 4KB
TagManager.asset 5KB
InputManager.asset 5KB
NetworkManager.asset 4KB
EditorSettings.asset 4KB
ProjectSettings.asset 20KB
README.md 1KB
.gitignore 449B
共 29 条
- 1
资源评论
- qq_333014652018-01-07打包错误啊
stexdg
- 粉丝: 2
- 资源: 11
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功