Skip to content

PrefabSystem Clone is a Unity project developed using the Prototype Pattern, which provides functions to clone prefabs and procedurally generate different geometric shapes.

Notifications You must be signed in to change notification settings

oguzhandelibas/PrefabSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrefabSystem

Unity Prefab Clone and Geometric Shape Generator

PrefabSystem Clone is a Unity project developed using the Prototype Pattern, which provides functions to clone prefabs and procedurally generate different geometric shapes.

Features

  • Prefab Cloning: Clone predefined geometric shapes (Cube and Sphere) at specified positions.
  • Dynamic Shape Generation: Generate 3D shapes like cubes and spheres using procedural methods.
  • Object Pooling: Improve performance by using object pooling techniques for instantiated objects.
  • Easy to Use: The provided functions make it simple to create clones and procedural shapes in your Unity projects.

Installation

  1. Clone this repository to your local machine.
  2. Open the project in Unity.
  3. Explore the ProceduralCloner script for functions and usage examples.

Usage

You can use the ProceduralCloner script to clone prefabs or create procedural shapes:

// Clone a cube at a specific position
ProceduralCloner.Clone(new Vector3(0f, 0f, 0f), "Cube");

Unity_JYBOnllhKT

// Create a procedural sphere at a specific position
ProceduralCloner.CreateSphere(new Vector3(2f, 0f, 0f));

Unity_iCTqp1kqIr

About

PrefabSystem Clone is a Unity project developed using the Prototype Pattern, which provides functions to clone prefabs and procedurally generate different geometric shapes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages