Class AddLight
Add a light component to each elements in the input
Inherited Members
Namespace: UnityEditor.PixyzPlugin4Unity.RuleEngine
Assembly: Unity.Pixyz.Plugin4Unity.Editor.dll
Syntax
public class AddLight : ActionInOut<IList<GameObject>, IList<GameObject>>
Fields
| Name | Description |
|---|---|
| color | The color of the new light |
| intensity | The intensity of the new light |
| range | The range the new light should use |
| shadowType | The type of shadows used by the light |
| type | The light type that will be applied |
Properties
| Name | Description |
|---|---|
| id | Unique id of this action, generated when the file is generated |
| menuPathRuleEngine | The path used for the contextual menu in the RuleEngine |
| menuPathToolbox | The path used for the contextual menu in the Toolbox |
| tooltip | Quick description to describe the behavior of this action |
Methods
| Name | Description |
|---|---|
| run(IList<GameObject>) | Execute the behavior of this action by adding a light set by all parameters from the user to each elements of the input |