예제 #1
0
파일: Factory.cs 프로젝트: fdtemp/GameTask
    public PlaneObject CreatePlane()
    {
        if (!PlaneCollector.Empty())
        {
            return(PlaneCollector.Reuse());
        }

        PlaneObject t = new PlaneObject();

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