Пример #1
0
        void OnEnable()
        {
            targetScript = target as HapticClip;

            isAutoPlay = PlayerPrefs.GetInt(PlayAutoConfig, 1) == 0;

            if (isAutoPlay)
            {
                targetScript.Play();
            }
        }