Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: nepomuk on July 12, 2015, 03:24:09 AM
-
hi, i'd like to figure out how to change variables that are not set in the fsm..
i'm pretty new to scripting so i don't know how to write a custom action.
what i would like to do:
i have a asset installed called vaccumshaders and i would like to change a variable.
for example... it's set in the texture shader as VacuumShaders/Adjustments/Diffuse/Hue
is there an easy way i can access and change the variable from a FSM
thanks in advance :)
-
Hello ,
You can drag and drop that component into playmaker and use Set Property .
I hope this helps.
-
i tried it, but there is no way to choose the "hue" property which i want to change..
-
sorry for the doublepost...
i found out that i have to make the hue variable public.. but where do i have to do this? in the shader script?
-
Hello,
Yhea I guess , but it is on the inspector it has to be public [maybe because it is a custom inspector]
Anyway, if you cant read a script and find out how , send it to me .