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

void MakeHabitat (string habitatName, bool createCreatures)
void MakeHabitat (string habitatName)

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

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

AnythingHabitat AnythingWorld.Habitat.AnythingHabitat.Instance

Parameters
Definition
habitatName
​
createCreatures
​

using AnythingWorld.Habitat;
​
public class MakeHabitat: MonoBehaviour
{
public string MyHabitat;
void Start()
{
AnythingHabitat habitatCreator = AnythingHabitat.Instance;
habitatCreator.MakeHabitat(MyHabitat);
}
}
​
Export as PDF
Copy link
On this page
AnythingHabitat Class Reference
Public Member Functions
Member Functions
Property
Parameters
Example