Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 16874

BI - Devblog[#2]

$
0
0

 

Hello everyone! 

There is the next part of our devblog. This week we work on object pooling system, new type of units, fixing some bugs and one more thing, but its not ready yet and we cant present it right now :(

1. Object Pooling

If you are familiar with Unity you know that you can spawn object in this way

public class ExampleClass : MonoBehaviour
{
    public Transform prefab;
    void Start()
    {
        for (int i = 0; i < 10; i++)
        {
            Instantiate(prefab, new Vector3(i * 2.0F, 0, 0), Quaternion.identity);
        }
    }
}

This is a very easy and simple way, it may …


Viewing all articles
Browse latest Browse all 16874

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>