[About macOS Sequoia] (Updated October 22, 2024)
Live2D Cubism Editor 5.1.02 now supports macOS Sequoia.
Other Live2D Cubism products currently released are not guaranteed to work on macOS Sequoia.
Please refrain from upgrading macOS, as it may not operate properly.
Dynamically Changing Model
Heya ^_^
I'm trying to have the model be change-able mid-game, through a script.
My current attempt is to have the script set the path in LAppModelProxy to the path of the new model.json file. This resulted in nothing happening >.<
I then tried to force the Visible variable, call Awake and OnRenderObject methods. These haven't accomplished anything =/
If I set the starting path to the model, it loads the model, but doesn't override it when I change the path and/or try these method calls.
Any help would be appreciated
0 ·
Comments
I'm using Unity (as this is the Unity board :P), I'm writing my scripts in C# and am using whatever SDK was current a month ago. >_<
Thanks
do you want to swap models or do you want to swap parts of a model in game?
My post was about swapping models mid-game (switching the model.json files). I got it to work, but only for files in the Unity Resource folder. And it looks like the FileManager, and many of the other classes, are designed to work that way. At this point, I'll probably just have to work within that restraint :x Not optimal, but I can live with it
Thanks for the reply ^^
Is there something I'm missing? Or would I have to rewrite how the Live2D classes access their files (which I'd much rather not do >_<) (I had tried to alter how the Live2D FileManager gathers its resources, but loading a 'TextAsset' proved too annoying )