Пример #1
0
    public void OnCommandActivate(CommandContext context)
    {
        CameraManager.activeCamera = this;

        CameraManager.UpdateCameras();

        SceneLightManager.Activate(sceneName);

        if (cameraActivated == false)
        {
            if (definedName == "cam1" || definedName == "cam2")
            {
                manager.LaunchFoxStartup();
                cameraActivated = true;
            }
        }
    }
Пример #2
0
 private void Start()
 {
     SceneLightManager.Add(this);
 }