Activating script in runtime
I need to activate a C script attached to a prefab at runtime, is it possible to do this using makinom?
The script was part of a unity asset so I’d rather not fiddle with it directly.
Any help would be appreciated
Sure - if by activating you mean enabling/disabling the component, that's done using an
If you want to call a function, use a
node, or if you want to do anything else scripting related (e.g. change a field/property), check out the
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
If you're enjoying my products, updates and support, please consider supporting me on
It looks like you're new here. If you want to get involved, click one of these buttons!
Makinom Tips, Tricks & Tutorials
ORK Tips, Tricks & Tutorials
How does "Block Player Control" Effect the Movement Script?
[Released] - Squeaky Clean - Horror game
Cinemachine with ork
GUI boxes height adjustment scroll width
Who's Online (4)
© 2015 Gaming is Love e.U.