com.nuwarobotics.service.facecontrol.UnityCallback.UnityListener |
Known Indirect Subclasses |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onDecoration(String whichDecorationName, String statusMsg, int statusCode)
On Face equip Decoration
| ||||||||||
abstract void |
onJointDecoration(String whichDecorationName, String statusMsg, int statusCode)
On Face equip Decoration
| ||||||||||
abstract void |
onLoadCharacter(int status)
load Character status
| ||||||||||
abstract void |
onLoadJsonDone(int statusCode)
Face load a JSON finish
| ||||||||||
abstract void |
onLoadMotionConfig(String id, int status)
Load Motion result
| ||||||||||
abstract void | onLoadOfSound(String sound, int statusCode) | ||||||||||
abstract void |
onLoadSkinDone(String id)
Face SKIN load finish
| ||||||||||
abstract void |
onLoadSkinFail(String id, int error)
Face SKIN load fail
| ||||||||||
abstract void |
onLoadSoundDone(int status)
Face un-load Sound finish
| ||||||||||
abstract void |
onMotionComplete(String id)
When Motion play complete
| ||||||||||
abstract void |
onMotionError(String id)
Face play a Motion Error
| ||||||||||
abstract void |
onMotionRepeat(String id)
Face play a Motion start repeat
| ||||||||||
abstract void |
onMotionStart(String id)
When load Motion start
| ||||||||||
abstract void |
onMotionStop(String id)
When load Motion stop
| ||||||||||
abstract void |
onSceneStart(String scene)
When Unity Ready.
| ||||||||||
abstract void |
onUnLoadAllSoundsDone(int statusCode)
Face un-load Sound finish
| ||||||||||
abstract void |
onUserTouchScreen(String body, int type, int x, int y)
User Touch Screen
| ||||||||||
abstract void |
on_touch_bottom()
When user touch bottom area
| ||||||||||
abstract void |
on_touch_head()
When user touch head
| ||||||||||
abstract void |
on_touch_left_edge()
When user touch left edge
| ||||||||||
abstract void |
on_touch_left_eye()
When user touch left eye
| ||||||||||
abstract void |
on_touch_mouth()
When user touch mouth
| ||||||||||
abstract void |
on_touch_nose()
When user touch nose
| ||||||||||
abstract void |
on_touch_right_edge()
When user touch right edge
| ||||||||||
abstract void |
on_touch_right_eye()
When user touch right eye
|
On Face equip Decoration
On Face equip Decoration
load Character status
status | 1 for success, -1 for load fail |
---|
Face load a JSON finish
Load Motion result
Face SKIN load finish
Face SKIN load fail
Face un-load Sound finish
When Motion play complete
id | motion name |
---|
Face play a Motion Error
id | motion name |
---|
Face play a Motion start repeat
id | motion name |
---|
When load Motion start
id | motion name |
---|
When load Motion stop
id | motion name |
---|
When Unity Ready.
scene | Role Face Scene |
---|
Face un-load Sound finish
User Touch Screen
body | touch area |
---|---|
type | touch type |
x | touch coordinate x |
y | touch coordinate y |
When user touch bottom area
When user touch head
When user touch left edge
When user touch left eye
When user touch mouth
When user touch nose
When user touch right edge
When user touch right eye