Able to completele disable enable-disable mesh renderers, skined mesh renderers, etc on nobs - V2 #764
SnaiperoG3D
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Continue of this post: #325
I have a problem in my game with disable/enable renderer componets via fish. In my case i have a player prefab, this prefab hold a lot of weapons, clothers, etc. I do disable/enable gameobjects and renderer components by myself, when player wanna take in hands some weapon or put clother on etc. But fish also do some stuff, and as a result i have an issue when player invisible, because fish disable renderer componets by itself, and i believe that fish doesnt know what to enable.
Anyway, I did one fix for this long time ago, and its still worthit cuz this situation still present in all fish versions.
full script: https://pastebin.com/0F9kPNLz
Changes:
add new var
and simply return everywhere when fish wanna change renderer components
UpdateRenderers, SetRenderersVisible, UpdateRenderers_Internal methos in the beginning
Beta Was this translation helpful? Give feedback.
All reactions