// Use this for initialization void Start() { Texture textur = Resources.Load("Eiffel0") as Texture; Image image = new Image("New Album", textur); ListImg.Add(image); Presentation present = new Presentation("New_presentation"); ListPr.Add(present); Directory dir = new Directory(null, "Base"); dir.AddChildDirectory("New Directory(1)"); ListDir.Add(dir); dir = new Directory(now, "New Directory(1)"); dir.AddChildDirectory("Presentation"); dir.AddChildDirectory("Another Presentation"); ListDir.Add(dir); dir = new Directory("New Directory(1)", "Presentation"); dir.AddChildPresentation("New_presentation"); ListDir.Add(dir); dir = new Directory("New Directory(1)", "Another Presentation"); dir.AddChildImage("New Album"); ListDir.Add(dir); }
// Use this for initialization void Start() { Texture textur = Resources.Load("Eiffel0") as Texture; Image image = new Image("New Album", textur); ListImg.Add(image); Presentation present = new Presentation("New_presentation"); ListPr.Add(present); Directory dir = new Directory(null,"Base"); dir.AddChildDirectory("New Directory(1)"); ListDir.Add(dir); dir = new Directory(now,"New Directory(1)"); dir.AddChildDirectory("Presentation"); dir.AddChildDirectory("Another Presentation"); ListDir.Add(dir); dir = new Directory("New Directory(1)","Presentation"); dir.AddChildPresentation("New_presentation"); ListDir.Add(dir); dir = new Directory("New Directory(1)","Another Presentation"); dir.AddChildImage("New Album"); ListDir.Add(dir); }