Table of Contents

Class SeedDefinition

Namespace
S1API.Growing
Assembly
S1API.dll

Represents the definition of a Seed item (what you buy in shops).

public class SeedDefinition : ItemDefinition
Inheritance
SeedDefinition
Inherited Members
Extension Methods

Properties

FunctionalSeedPrefab

The prefab that is spawned when planting this seed.

public GameObject? FunctionalSeedPrefab { get; }

Property Value

GameObject

PlantPrefab

The plant prefab this seed grows into.

public GameObject? PlantPrefab { get; }

Property Value

GameObject

Methods

CreateSeedInstance()

Creates an instance of this seed in the world (FunctionalSeed prefab).

public GameObject CreateSeedInstance()

Returns

GameObject