# AnythingHabitat

## AnythingHabitat Class Reference

### Public Member Functions

> `void`` `<mark style="color:blue;">`MakeHabitat`</mark>` ``(string habitatName, bool createCreatures)`
>
> `void`` `<mark style="color:blue;">`MakeHabitat`</mark>` ``(string habitatName)`

### Member Functions

#### <mark style="color:purple;">**MakeHabitat()**</mark>

void AnythingWorld.Habitat.AnythingHabitat.MakeHabitat (string <mark style="color:blue;">habitatName</mark>)

#### <mark style="color:purple;">**MakeHabitat()**</mark>

void AnythingWorld.Habitat.AnythingHabitat.MakeHabitat (string <mark style="color:blue;">habitatName</mark>, bool <mark style="color:blue;">createCreatures</mark>)

### **Property**

#### <mark style="color:purple;">Instance</mark>

<mark style="color:blue;">AnythingHabitat</mark> AnythingWorld.Habitat.AnythingHabitat.Instance

### Parameters

| Parameters                                         | Definition |
| -------------------------------------------------- | ---------- |
| <mark style="color:blue;">`habitatName`</mark>     |            |
| <mark style="color:blue;">`createCreatures`</mark> |            |

### Example

```csharp
using AnythingWorld.Habitat;

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://anything-world.gitbook.io/anything-world/unity-1/legacy-package-api-references/api-references/anythinghabitat.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
