AnythingHabitat

This class allows you to make generated habitats using the Anything World habitat engine.

AnythingHabitat Class Reference

Public Member Functions

void MakeHabitat (string habitatName, bool createCreatures)

void MakeHabitat (string habitatName)

Member Functions

MakeHabitat()

void AnythingWorld.Habitat.AnythingHabitat.MakeHabitat (string habitatName)

MakeHabitat()

void AnythingWorld.Habitat.AnythingHabitat.MakeHabitat (string habitatName, bool createCreatures)

Property

Instance

AnythingHabitat AnythingWorld.Habitat.AnythingHabitat.Instance

Parameters

ParametersDefinition

habitatName

createCreatures

Example

using AnythingWorld.Habitat;

public class MakeHabitat: MonoBehaviour
{
    public string MyHabitat;
   
    void Start()
    {
         AnythingHabitat habitatCreator = AnythingHabitat.Instance;
         habitatCreator.MakeHabitat(MyHabitat);
    }
}

Last updated