Example #1
0
    public void LoadShape()
    {
        int index = loader.FindShape(gameObject.transform.parent.name);

        if (index < 0)
        {
            return;
        }
        shapeCreator.AddShape(Loader.instance.Shapes[index]);
        shapeCreator.UpdateMeshDisplay();
    }