void Start()
    {
        m_ScreenShotController = FindObjectOfType <ScreenShotController>();
        Assert.IsNotNull(m_ScreenShotController);

        m_ScreenShotController.TryCreateScreenShotDir();
    }
Exemplo n.º 2
0
        static async void ambiantColor()
        {
            KeyboardController keyboard       = new KeyboardController();
            IChroma            ChromaInstance = await ColoreProvider.CreateNativeAsync();

            while (true)
            {
                ScreenShotController screen = new ScreenShotController();
                keyboard.changeKeyboardColor(screen.GetScreenAverageColor());
                keyboard.applyKeyboardColor(ChromaInstance);
            }
        }