Skip to content

Instantly share code, notes, and snippets.

View DmitriyProkopyev's full-sized avatar

Dmitriy Prokopyev DmitriyProkopyev

View GitHub Profile
using System;
using System.Collections;
using UnityEngine;
[RequireComponent(typeof(AudioSource))]
public class Alarm : MonoBehaviour
{
[SerializeField] private float _changingSpeed;
[SerializeField] private float _delay;