zhangdong987 / UnityGridFramework

Open source Grid Framework for creating grid-based levels easily in Unity 3D

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unity Simple Grid Framework

screenshot

This plugin helps you place prefabs on a customizable grid easily.

FEATURES

  • Simple user-interface
  • Easy-to-use
  • Undo-redo support
  • Ability to set different grid states and per-prefab prefab states
  • Works in XZ, XY and YZ space

INSTALLATION

There are 4 ways to install this plugin:

  • import GridFramework.unitypackage via Assets-Import Package
  • clone/download this repository and move the Plugins folder to your Unity project's Assets folder
  • (via Package Manager) add the following line to Packages/manifest.json:
    • "com.yasirkula.gridframework": "https://github.com/yasirkula/UnityGridFramework.git",
  • (via OpenUPM) after installing openupm-cli, run the following command:
    • openupm add com.yasirkula.gridframework

HOW TO

  • Open Window/Grid Editor
  • Select a prefab from Project view (or a prefab instance from Hierarchy view)
  • Hover mouse cursor over Scene view and left click to place the prefab
  • Drag the mouse to place multiple instances at once

HINTS

  • Use Q and E keys to rotate the selected prefab around its Y-axis easily (Scene View should have the focus)
  • Use CTRL+Q and CTRL+E keys to switch between prefab states easily (Scene View should have the focus)
  • Settings for the framework will be stored at Plugins/SimpleGridFramework/Settings.asset

About

Open source Grid Framework for creating grid-based levels easily in Unity 3D

License:MIT License


Languages

Language:C# 100.0%