static void Test() { SceneDebug dbg = new SceneDebug(); dbg.BeginBranch(new Vector3(1, 1, 1)); dbg.BeginBranch(new Vector3(2, 2, 2)); dbg.BeginBranch(new Vector3(3, 3, 3)); dbg.EndBranch(); dbg.BeginBranch(new Vector3(4, 4, 4)); dbg.EndBranch(); string fname = $"A:\\img\\{FileName()}"; dbg.SaveToFile(fname + ".obj"); }