Beispiel #1
0
    List <MeshMaker.Model> UpdateLaserTargets()
    {
        GameObject currentModel = oc.GetCurrentObject();

        List <MeshMaker.Model> models = fileReader.GetModels();

        foreach (MeshMaker.Model m in models)
        {
            modelMats.Add(m.laserMat);
        }
        modelCount = models.Count;

        return(models);
    }