Beispiel #1
0
    void ReplacePlaceholder(Placeholder ps, ProgBlock pg)
    {
        //TODO: allow middle placeholders
        ps.transform.SetParent(null);
        pg.transform.SetParent(this.transform);
        ps.transform.SetParent(this.transform);

        RecursiveLayout ();
    }
Beispiel #2
0
 public void Replace(ProgBlock pg)
 {
     OnReplace (this, pg);
 }