Exemplo n.º 1
0
        public GraphManager(bool compatibleMode = false)
        {
            bool flag = GraphManager._instance != null;

            if (flag)
            {
                throw new Exception();
            }
            GraphManager._instance = this;
            this.m_compatibleMode  = compatibleMode;
            this.m_worlds          = new Dictionary <string, GRWorld3D>();
            this.m_materials       = new Dictionary <string, GRShader>();
        }
Exemplo n.º 2
0
 public GRWorld3D(string id, GraphManager grMgr)
 {
     this.m_id = id;
 }