예제 #1
0
        protected void Start()
        {
            // This order is important - keep this way

            LoadFirewalls();

            CampaignManager.LoadStuff();

            DeviceCollection.Load(DataHolder.DevicesSerializedData);
            ProgramCollection.Load(DataHolder.ProgramsSerializedData);

            CampaignManager.OnGameStarted();

            // ----------------------------------------

            ToEnableAfterStart.gameObject.SetActive(true);

            transform.DetachChildren();
        }