protected override void Initialize()
        {
            base.Initialize();

            this.input = WaveServices.Input;

            this.scenarioManager = this.EntityManager.FindFirstComponentOfType <ScenarioManager>();

            if (!WaveServices.Platform.IsEditor && (WaveServices.GetService <Lunar3DNetworkService>() != null))
            {
                this.IsActive = false;
            }
        }
Example #2
0
        protected override void Initialize()
        {
            base.Initialize();

            this.scenarioManager = this.EntityManager.FindFirstComponentOfType <ScenarioManager>();
        }