Skip to main content

Unity Component Modify

Modifies pre-existing Unity Components on Unity Entities.

NodeImage_b5874617-2bc3-4da8-b9f5-d051ac46ee82

Tags: Unity Entity

Parameters

Component [Select]
Component to be modified.
Add Surface Tree [Compound]
Adds a tree instance (or of any other prefab) to the Unity Surface component.
Actor [Select]
Actors whose position will represent tree positions on the terrain component
Single [Compound] [Adds ports 1]
Processes one Actor entity at a time.
Collective [Compound] [Adds ports 2]
Processes all Actor entities at a time.
Prefab [String]
Tree prefab to be used.
Bend Factor [Float]
Bend factor of the tree prefab, as understood by Unity.
Rotation [Float]
Rotation of the tree prefab.
Scale [Vector2D]
Scale of the tree prefab.

Inputs

  • Input [Collective | Unity Entity]: Unity Entity whose component is to be modified.

Parameter Inputs

  • [1] Single [Single | Actor]: Processes one Actor entity at a time.
  • [2] Collective [Collective | Actor]: Processes all Actor entities at a time.

Outputs

  • Output [Unity Entity]: Unity Entity whose component was modified.