[About macOS Ventura 13.0] (12/20/2022)
The currently released Live2D Cubism SDK is not guaranteed to work with macOS Ventura.
Please refrain from upgrading the macOS as they may not work properly.
The Cubism Editor license file may be lost after the macOS upgrade.
Please make sure to deactivate the Cubism Editor license before upgrading the macOS.
For more details[NOTICE]
About the support for Mac models
Cubism Editor is not supported with Apple M1 processors.
Please refer to
System Requirements for details.
We will not respond to any related inquiries with this message.
Hi...
Is there any preload technique that I can use in Unity to preload Live2D character assets (textures, motions, etc)?
I have two Scenes: Menu Scene, and Game Scene; then 1 Live2D character Prefab.
I thought I can use this [
http://bit.ly/1LhAHkl]:
Eric5h5 said, "Put the desired textures on some objects that are visible to the camera for one frame (the first frame in the game), then destroy the objects. Cover the screen with a blank texture while doing this so it doesn't look ugly—the camera still sees the objects so they still get rendered."
So I tried to load a Live2D character prefab in Menu Scene, then deleted it after one frame. But when I tried to use the same character prefab in Game Scene , it seems it's not preloaded so I didn't get the desired result...
0 ·
Comments
Drawing of live2d are using DrawMeshNow (Unity API) .
live2d document - For the setting of the drawing mode
Preload might be difficult but there is one way .
There is a way to use the DontDestroyOnLoad .
http://docs.unity3d.com/ScriptReference/Object.DontDestroyOnLoad.html
For example, I used as follows .
It will call the Main scene from Sample scene .
It with the following script to GameObject, I was scene switched UGUI button press processing .
I was able to display Live2DModel in the Main Scene.
I was able to GameObject, could not Prefab.
Now I know the direction to improve the code.
Naotaro, thank you for this helpful answer.