Object-Pooling with C# in Unity

ofrecido por
Coursera Project Network
En este proyecto guiado, tú:

Create an Object-Pooler that instantiates and manages a collection of GameObjects.

Write a C# script that spawns GameObjects on a specified schedule.

Create assets to spawn and destroy objects, including particle effects.

Clock1.5 hours
BeginnerPrincipiante
CloudNo se necesita descarga
VideoVideo de pantalla dividida
Comment DotsInglés (English)
LaptopSolo escritorio

In this one-hour, project-based course, you'll learn about the concept of object-pooling and its benefits in game-design. You'll learn how to write a simple class that will instantiate and store GameObjects for repeated reuse. You'll write methods that will allow the activation, return and recycling of the objects, to greatly improve memory and CPU efficiency of your games. The guided project will introduce you to the following coding concepts: - Instantiating, activating, repositioning and deactivating GameObjects - Pooling GameObjects in Queues - Spawning GameObjects from Pools

Habilidades que desarrollarás

  • Video-game Development
  • C sharp (C#) Programming Language
  • Unity 3D
  • Unity
  • Application development

Aprende paso a paso

En un video que se reproduce en una pantalla dividida con tu área de trabajo, tu instructor te guiará en cada paso:

  1. Introduction and License Activation

  2. Create a Sample Prefab for Pooling

  3. Create the Object Pooler

  4. Create a Basic Spawner

  5. Return the Object to the ObjectPool

  6. Create a Pool for Explosion Effects

Cómo funcionan los proyectos guiados

Tu espacio de trabajo es un escritorio virtual directamente en tu navegador, no requiere descarga.

En un video de pantalla dividida, tu instructor te guía paso a paso

Preguntas Frecuentes

Preguntas Frecuentes

¿Tienes más preguntas? Visita el Centro de Ayuda al Alumno.