Skip to main content

Winter Treeseed

Overview

This component holds a reference to a winter tree prefab name and provides a setter to update it. It acts as a simple configuration store for winter-related tree-spawning logic in the Entity Component System, likely used by a larger seed or growth system.

Dependencies & Tags

None identified.

Properties

PropertyTypeDefault ValueDescription
winter_treestring"winter_tree"Prefab name of the winter tree that will be used when the seed matures or is planted.

Main Functions

SetTree(tree)

  • Description: Updates the stored prefab name for the winter tree.
  • Parameters:
    • tree (string): The new prefab name to assign as the target winter tree.

Events & Listeners

None.