Exemple #1
0
    public void removePage(string name)
    {
        Page page = pages[name];

        //remove any references to this page
        ConnectionsLibrary.removeConnectionsTo(this, page);
        pages.Remove(name);
    }
Exemple #2
0
 public void removePageElement(GameObject element)
 {
     ConnectionsLibrary.removeConnectionsTo(storyRef, element);
     elements.Remove(element);
     GameObject.Destroy(element);
 }