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

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