All Projects → cfoulston → Unity Reorderable List

cfoulston / Unity Reorderable List

Licence: other
Extended version of the Reorderable List in Unity

Projects that are alternatives of or similar to Unity Reorderable List

Kvantwig
Non-realistic hair simulation in Unity
Stars: ✭ 467 (-4.5%)
Mutual labels:  unity, unity3d
Firefly
Unity ECS example for special effects
Stars: ✭ 489 (+0%)
Mutual labels:  unity, unity3d
Skeletalgeometriceffects
Experiments on geometry shader instancing with skeletal animations
Stars: ✭ 436 (-10.84%)
Mutual labels:  unity, unity3d
Stablefluids
A straightforward GPU implementation of Jos Stam's "Stable Fluids" on Unity.
Stars: ✭ 430 (-12.07%)
Mutual labels:  unity, unity3d
Reorderableinspector
Automatic reorderable lists for Unity game engine components
Stars: ✭ 455 (-6.95%)
Mutual labels:  unity, unity3d
Verticaldissolve
Procedural vertical dissolve shader. Highly customizable. Tweak edge color, noisiness & waviness, rim light, emission scrolling and more.
Stars: ✭ 434 (-11.25%)
Mutual labels:  unity, unity3d
Actors.unity
🚀Actors is a framework empowering developers to make better games faster on Unity.
Stars: ✭ 437 (-10.63%)
Mutual labels:  unity, unity3d
Networker
A simple to use TCP and UDP networking library for .NET. Compatible with Unity.
Stars: ✭ 408 (-16.56%)
Mutual labels:  unity, unity3d
Inputmanager
Custom InputManager for Unity
Stars: ✭ 479 (-2.04%)
Mutual labels:  unity, unity3d
Sipsorcery
A WebRTC, SIP and VoIP library for C# and .NET Core. Designed for real-time communications apps.
Stars: ✭ 449 (-8.18%)
Mutual labels:  unity, unity3d
Unity Texture Packer
🔨 Utility to combine color channels from different textures into a single output.
Stars: ✭ 429 (-12.27%)
Mutual labels:  unity, unity3d
Unitybookpagecurl
Page curl effect for Unity3d using UGUI
Stars: ✭ 464 (-5.11%)
Mutual labels:  unity, unity3d
Redrunner
Red Runner, Awesome Platformer Game.
Stars: ✭ 414 (-15.34%)
Mutual labels:  unity, unity3d
Randomation Vehicle Physics
Vehicle physics system for the Unity engine.
Stars: ✭ 487 (-0.41%)
Mutual labels:  unity, unity3d
Easybuttons
Add buttons to your inspector in Unity super easily with this simple attribute
Stars: ✭ 410 (-16.16%)
Mutual labels:  unity, unity3d
Upmgitextension
This package extends the UI of Unity Package Manager (UPM) for the packages installed from git repository.
Stars: ✭ 438 (-10.43%)
Mutual labels:  unity, unity3d
Hdrpvatexample
VAT (Vertex Animation Texture) with Unity Shader Graph and Visual Effect Graph
Stars: ✭ 401 (-18%)
Mutual labels:  unity, unity3d
Holoshield
Highly customizable sci-fi shield / force field shader for Unity3D. Allows you to set edge power & color, inner texture scrolling, waviness, scale pulsation and procedural intensity noise. Implements tessellation for low-poly base meshes.
Stars: ✭ 401 (-18%)
Mutual labels:  unity, unity3d
Miniengineao
SSAO image effect from Microsoft MiniEngine, ported to Unity.
Stars: ✭ 448 (-8.38%)
Mutual labels:  unity, unity3d
Unityurpunlitscreenspacedecalshader
Unity unlit screen space decal shader for URP. Just create a new material using this shader, then assign it to a new unity cube GameObject = DONE, now you have unlit decal working in URP
Stars: ✭ 455 (-6.95%)
Mutual labels:  unity, unity3d

Reorderable List

An attempt to mimic the ReorderableList within Unity while adding some extended functionality.

screenshot

Installation

This extension can be installed using Unity package manager.
https://github.com/cfoulston/Unity-Reorderable-List.git

  • Package manager UI

    screenshot

  • Manifest

      {
      	"dependencies": {
      		"com.malee.reorderablelist": "https://github.com/cfoulston/Unity-Reorderable-List.git"
      	}
      }
    
  • A standalone version is available under the standalone branch, although this version is no longer maintained.

Features

  • Drag and Drop references (like array inspector)
  • Expandable items and list itself
  • Multiple selection (ctrl/command, shift select)
  • Draggable selection
  • Context menu items (revert values, duplicate values, delete values)
  • Custom attribute which allows automatic list generation for properties*
  • Event delegates and custom styling
  • Pagination
  • Sorting (sort based on field, ascending and descending)
  • Surrogates (Enable adding elements of a different type)

Usage

There are two ways to use the ReorderableList

  1. Create a custom Editor for your class and create a ReorderableList pointing to your serializedProperty
  2. Create custom list class which extends from ReorderableArray, assign [Reorderable] attribute above property (not class).

Pagination

Pagination can be enabled in two ways:

  1. With the [Reorderable] attribute:
    • [Reorderable(paginate = true, pageSize = 0)]
  2. Properties of the ReorderableList:
    • list.paginate
    • list.pageSize

pageSize defines the desired elements per page. Setting pageSize = 0 will enable the custom page size GUI

When enabled, the ReorderableList GUI will display a small section below the header to facilitate navigating the pages

pagination

NOTE

Elements can be moved between pages by right-clicking and selecting "Move Array Element"

Surrogates

Surrogates can be created to facilitate adding Objects to a ReorderableList that don't match the ReorderableList type. This can be achieved in two ways:

  1. With the [Reorderable] attribute:
    • [Reorderable(surrogateType = typeof(ObjectType), surrogateProperty = "objectProperty")]
  2. Property of the ReorderableList:
    • list.surrogate = new ReorderableList.Surrogate(typeof(ObjectType), Callback);

Check the SurrogateTest and SurrogateTestEditor examples for more information

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].