← All docs

Scene & Objects

Claunity can create, modify, move, and organize any GameObject in your scene. It understands your hierarchy, reads object names, and can inspect the scene before making changes to avoid mistakes.

Undo support

Every scene action is registered in Unity's Undo system. Press Ctrl+Z to reverse any change — same as if you'd done it by hand.


Creating objects

Create a basic shape

"Create a sphere called "Ball" at position (2, 1, 0)"

Create an empty GameObject

"Create an empty GameObject called "Managers" at the root of the hierarchy"

Add a prefab to the scene

"Add the Enemy prefab from Assets/Prefabs/Enemy.prefab at position (5, 0, 3)"

Duplicate an object

"Duplicate the "Platform" object and name the copy "Platform_2", place it at (10, 0, 0)"

Transform

Move an object

"Move the Player to position (0, 1, 0)"

Rotate an object

"Rotate the "Door" object 90 degrees on the Y axis"

Scale an object

"Scale "Ground" to (20, 1, 20)"

Move, rotate, and scale at once

"Set the SpawnPoint position to (0, 5, 0), reset its rotation, and scale it to (1, 1, 1)"

Hierarchy

Set a parent

"Make "Sword" a child of the "Player" object"

Unparent an object

"Move "Camera" to the root of the hierarchy (no parent)"

Rename an object

"Rename "GameObject (1)" to "SpawnPoint""

Enable or disable

"Disable the "DebugCanvas" object"

Components

Add a component

"Add a Rigidbody to the "Player" object"

Remove a component

"Remove the BoxCollider from "OldWall""

Set a component value

"Set the Rigidbody mass on "Player" to 3 and enable gravity"

Set a reference field

"Assign the "Player" object to the "target" field on the CameraFollow script attached to "MainCamera""

Scene management

Save the scene

"Save the current scene"

Create a new scene

"Create a new scene called "Level2" in Assets/Scenes"

Load a scene

"Load the "MainMenu" scene additively"

Create a prefab

"Save the "Player" object as a prefab in Assets/Prefabs"

Reading the scene

Inspect the hierarchy

"What GameObjects are in the current scene?"

Inspect a specific object

"What components does the "Enemy" object have and what are their values?"

Read a component value

"What is the Player's Rigidbody mass set to?"

Take a screenshot

"Look at the current state of the scene and tell me if anything looks wrong"


Primitives you can create

When creating shapes without specifying a mesh, Claunity uses Unity primitives: Cube, Sphere, Capsule, Cylinder, Plane, Quad.

Tips

Use real object names

Claunity works best when you use the exact names of objects in your scene. If you're not sure of the name, ask it to look at the scene first.

What's in the scene? Then rename the main ground object to "Terrain".

Combine actions in one message

You can describe multiple changes at once — Claunity executes them in sequence.

Create a SpawnPoint at (0, 2, 0), make it a child of "Level", and disable its renderer.