Simple Plant GrowthSimple Plant Growth
Simple Plant GrowthSimple Plant Growth
  • Docs
  • API
  • Changelog
  • Unity Asset Store
  • Bug report
  • SoyWar.SimplePlantGrowth
    • DatabaseAsset
      • Grass
      • Trees
    • GrassAsset
      • AlignToGround
      • DetailDensity
      • DryTint
      • HealthyTint
      • HoleEdgePadding
      • NoiseSeed
      • NoiseSpread
      • PositionJitter
      • RandomTint
      • RenderMode
      • TargetCoverage
      • Texture
      • Tint
      • UseDensityScaling
      • UseInstancing
      • UsePrototypeMesh
      • implicit operator
    • GrassComponent
      • AddInstances
      • AddInstancesAsync
      • GetGlobalPositionInstance
      • GetPlotSize
      • GrowFromInstances
      • GrowFromInstancesAsync
      • RemoveInstances
      • RemoveInstancesAsync
    • GrassData
      • Asset
      • Equals
      • GetHashCode
      • GrassData
      • HashCode
    • GrassValue
      • Amount
      • CompareTo
      • Equals
      • GetHashCode
      • GrassValue
      • Time
    • IPlantComponent
      • AutoGrowth
      • Dynamic
      • GetTime
      • GrowAll
      • GrowAllAsync
      • InitAuto
      • Override
      • Terrain
      • TimeOffset
    • IPlantData<T>
      • Asset
      • HashCode
    • ManagerComponent
      • AutoGrowth
      • Database
      • Dynamic
      • Grow
      • GrowAll
      • GrowAllAsync
      • GrowAsync
      • InitAuto
      • Instance
      • Persistent
      • ResetTimer
      • SetTimer
      • TimeOffset
    • PlantAsset<T>
      • CopyFrom
      • Destroy
      • Duplicate
      • GrowthTime
      • HasNextStep
      • Height
      • LockWidthToHeight
      • MaxGrowthTime
      • MaxHeight
      • MaxWidth
      • MinGrowthTime
      • MinHeight
      • MinWidth
      • Next
      • Prototype
      • RandomGrowthTime
      • RandomHeight
      • RandomWidth
      • Ratio
      • SetMinMaxGrowthTime
      • SetMinMaxHeight
      • SetMinMaxWidth
      • ToData
      • Validate
      • Width
    • PlantComponent<T1, T2, T3, T4>
      • AddAssets
      • ConvertPrototypesToAssets
      • Data
      • GetNearestInstance
      • GetNearestInstanceLocal
      • GrowFromAssets
      • GrowFromAssetsAsync
      • GrowFromInstances
      • GrowFromInstancesAsync
      • GrowFromPrototypes
      • GrowFromPrototypesAsync
      • GrownEvent
      • Locked
      • RemoveAssets
    • TreeAsset
      • BendFactor
      • NavMeshLod
      • implicit operator
    • TreeComponent
      • AddInstances
      • AddInstancesAsync
      • RemoveInstances
      • RemoveInstancesAsync
    • TreeData
      • Asset
      • Equals
      • GetHashCode
      • HashCode
      • TreeData
Generated by DocFX
(with DiscordFX + SingulinkFX)

Search Results for

    Class PlantAsset<T>

    Related to:SoyWar.SimplePlantGrowth

    /

    Inherits from:objectObjectScriptableObject

    /

    Implemented in:SoyWar.SimplePlantGrowth.dll

    Description

    Represents all kind of plants.

    Syntax
    public abstract class PlantAsset<T> : ScriptableObject where T : PlantAsset<T>
    Type Parameters
    NameDescription
    T

    Properties

    NameDescription
    Destroy

    Destroys the plant when moving on to the next phase.

    GrowthTime

    Growth time.

    HasNextStep

    Check whether the next phase leads to plant growth or destruction.

    Height

    Height

    LockWidthToHeight

    Locks width to height.

    MaxGrowthTime

    Maximum growth time.

    MaxHeight

    Maximum height.

    MaxWidth

    Maximum width.

    MinGrowthTime

    Minimum growth time.

    MinHeight

    Minimum height.

    MinWidth

    Minimum width.

    Next

    The next phase of plant growth.

    Prototype

    GameObject associated with the plant.

    RandomGrowthTime

    Activates random growth time.

    RandomHeight

    Activates random height.

    RandomWidth

    Activates random width.

    Ratio

    Ratio between width and height.

    Width

    Width

    Methods

    NameDescription
    CopyFrom(T)

    Copy data from another instance to this one.

    Duplicate()

    Create a copy of asset.

    SetMinMaxGrowthTime(float, float)

    Defines the random range of growth time.

    SetMinMaxHeight(float, float)

    Defines the random range of height.

    SetMinMaxWidth(float, float)

    Defines the random range of width.

    ToData()

    Convert toIPlantData<T>.

    Validate()

    Checks whether asset is valid.

    Validate(out string)

    Checks whether asset is valid.