Exemplo n.º 1
0
        GameObject GetNewInstanceOfType(string type, Vector3 position)
        {
            GenericFactory factory = new GenericFactory();

            return(factory.GetNewInstance(type, position));
        }