This sample demonstrates "Avatar" functionality of Banuba SDK.
Refer parent directory for build instructions.
Avatar effect will be loaded from
app bundle. It will use
the config provided in setState
call
from here,
you may modify it right there or during runtime.
Available option are documented
here
In order to remove hint, add call to delTap()
at the end of
config.js
This is how you can interact with the Avatar effect during runtime:
effect?.evalJs("""
setState({
"Hair": {
"shape": "first",
"color": "0 0 0"
}
})
""", resultCallback: nil)