Ejemplo n.º 1
0
    public static MGConfigDataLoader Instance()
    {
        if (instance == null)
        {
            instance = new MGConfigDataLoader();
        }

        return(instance);
    }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     /*
      * Test t = new Test();
      * BaseTest bt = t as BaseTest;
      * bt.A();
      * Test t1 = bt as Test;
      * t1.A();
      */
     MGConfigDataLoader.Instance().MemoryConfigData("Configuration/Config/Sample");
 }