Exemple #1
0
    protected void UpdatedState()
    {
        gameObject.SetActive(!GenericSettings.Instance.Autoplay);

        if (cachedRender)
        {
            cachedRenderWrapper.SetEnabled(cachedRender, GenericSettings.Instance.Arrows);
            cachedInputWrapper.SetEnabled(cachedInputReceiver, GenericSettings.Instance.Arrows);
        }
    }