The Change Color node can change other properties of a renderer/material. Enable Is Property, define the Property Name and, for properties like this, enable Is Float to change float instead of color values.
The Property Name is not Layer Power, that's just the name dispalyed in the editor. This needs to be the actual name in the material's code.
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 patreon.com!
Automata have bugs! Repeat execution is not enabled, and the variable condition does not execute the schematic when the condition is reached. If you enable repeat execution, the schematic will run, but it will be repeated and cannot be executed once and then stopped.
The Start start type will start the schematic either when the level was loaded and the game object is in the scene, or when the game object is spawned in the scene. If the varaible condition isn't valid at that point, the schematic will not start.
You can also start the machine by variable changes - click on the Add Notify Start button in the machine's Start Settings. You can e.g. be notified when that specific variable changed, the machine will try to start at that point (if the conditions are valid).
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 patreon.com!
The Property Name is not Layer Power, that's just the name dispalyed in the editor. This needs to be the actual name in the material's code.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Repeat execution is not enabled, and the variable condition does not execute the schematic when the condition is reached. If you enable repeat execution, the schematic will run, but it will be repeated and cannot be executed once and then stopped.
You can also start the machine by variable changes - click on the Add Notify Start button in the machine's Start Settings. You can e.g. be notified when that specific variable changed, the machine will try to start at that point (if the conditions are valid).
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!