Skip to content
Editor extension for creating circle object and demo mini-game
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Creating circle object in Unity

I found many people wanted to create circle object like a donut. So I tried to create Unity Editor Extension which creates circle object using Line Renderer. The implementation is based on the following youtube movie:

Draw Circle and place object on circle using Line Renderer

Plus, this project contains a sample mini-game in which a player shoots ripple lasers which is inspired from Salamander (Konami, 1986).

How to use

  1. Import Assets/Editor/CreateCircleMenu.cs into your project.
  2. Select [GameObject] -> [3D Object] -> [Circle...] from menu. It will show a dialog.
  3. Click "Create" button in the dialog.
  4. "Circle" object will be created in the scene.

How to play demo

  1. Open "default" scene and run.
  2. Left click to fire.
  3. Use WASD to move around while mashing left click.
  4. Drop all blocks from the platform to clear game.
  5. Tweak /Assets/Demo/Prefabs/Bullet. Select the prefab in Project window and change following values in Inspector:
  • Line Renderer
    • Width - How thick the circle
  • Bullet Controller
    • Distance - How far the bullet goes
    • Speed - How fast the bullet goes
    • Start Scale - How big the circle on fire
    • End Scale - How big the circle when bullet goes Distance.

Web Demo

You can’t perform that action at this time.