summaryrefslogtreecommitdiffstats
path: root/Scripts/transcribe.py
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2023-07-25 16:26:34 -0700
committeryum <yum.food.vr@gmail.com>2023-07-25 16:26:34 -0700
commit91a9105fb74a3590527f03c680f999eb9629c13d (patch)
tree97a20e251eb5d7fbae17f4dc2f149913db6a2047 /Scripts/transcribe.py
parentfcd038681640f64eada9541fd82c1ef182bfed7c (diff)
Add ability to auto-regen unity assets
Add two buttons: start auto re-generation of Unity assets, and stop. These start/stop a thread which periodically (every 3 seconds) hashes the user-provided animator, menu and parameters. When any one of these change, it invokes the function to generate Unity assets. The hash is non-cryptographic, so it's light. The only hit is that we have to read the entire file contents every few seconds, and compute a sum across that entire memory region. This is extremely light unless you're on a spinning platter hard drive with a small cache. Still seeing the bug where the material drops ref to the font bitmaps. Probably need to update the .mat using the guids in the bitmap .meta files.
Diffstat (limited to 'Scripts/transcribe.py')
0 files changed, 0 insertions, 0 deletions