コード例 #1
0
 public static CarsManager Initialize()
 {
     if (Instance != null)
     {
         throw new Exception(@"Already initialized");
     }
     return(Instance = new CarsManager());
 }
コード例 #2
0
        private void InnerInitialize()
        {
            _managers = new IAcManagerNew[] {
                CarsManager.Initialize(),
                    TracksManager.Initialize()
            };

            if (IsReady)
            {
                RescanManagers();
            }
        }