Exemple #1
0
    public PlaneObject CreatePlane()
    {
        if (!PlaneCollector.Empty())
        {
            return(PlaneCollector.Reuse());
        }

        PlaneObject t = new PlaneObject();

        t.Entity.transform.localPosition = new Vector3(0, 100);
        return(t);
    }