Exemplo n.º 1
0
    //public float menuAngle = 60f;

    /*public AudioClip au_menuOpen;
     * public AudioClip au_menuClose;
     * AudioSource audioSource;*/

    private void Start()
    {
        anim = iconManager.GetComponent <Animator>();
        iconManager.gameObject.SetActive(false);
        iconManager.interactable = false;

        /*audioSource = new GameObject("menuAudio").AddComponent<AudioSource>();
         * audioSource.transform.parent = transform;
         * audioSource.spatialBlend = 1;
         * audioSource.spatialize = true;
         * audioSource.minDistance = 100;
         * audioSource.dopplerLevel = 0;*/
    }