Exemplo n.º 1
0
 internal static void Initialize()
 {
     if (_instance == null)
     {
         _instance = GlobalsFactory.Create();
     }
 }
Exemplo n.º 2
0
        internal static void Initialize(ICollection <Component> elements)
        {
            if (_instance == null)
            {
                _instance = GlobalsFactory.Create();
            }

            // Scene Container assigning.
            _instance._sceneElements = GlobalsFactory.CreateDataElementsDictionary(elements);
        }