[About macOS Sonoma 14.0] (update 10/17/2023)
The current compatibility status with released Live2D Cubism products is as follows:
[supported]Live2D Cubism Editor version 5.0.01 and later
[not supported]Live2D Cubism Editor version 5.0.00 beta1 and earlier,Other Live2D Cubism products, including Live2D Cubism SDK.
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
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.