Set Color Action: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Added image) |
||
Line 1: | Line 1: | ||
An action | [[File:SetColorAction.png|thumb|600px|The Set Color action in the [[Action Editor]].]] | ||
An action to set the color of props and players. | |||
If the target of this action is a [[Prop Component]], that prop will have its tint color set to the color given to the action. If the target is a [[Logic Component]], all props that are children of the logic component's gameobject will have their tint color set. | This action has a slightly different effect depending on the target. | ||
* If the target of this action is a [[Prop Component]], that prop will have its tint color set to the color given to the action. | |||
* If the target is a [[Logic Component]], all props that are children of the logic component's gameobject will have their tint color set. | |||
* If the target is a player, the player will have their color changed. This will revert on death, and does not persist once the minigame ends. | |||
[[Category:Actions]] | [[Category:Actions]] |
Revision as of 01:51, 7 December 2022
An action to set the color of props and players.
This action has a slightly different effect depending on the target.
- If the target of this action is a Prop Component, that prop will have its tint color set to the color given to the action.
- If the target is a Logic Component, all props that are children of the logic component's gameobject will have their tint color set.
- If the target is a player, the player will have their color changed. This will revert on death, and does not persist once the minigame ends.