Skip to content

Instantly share code, notes, and snippets.

View UlzitonGit's full-sized avatar
🏠
Working from home

Uzel UlzitonGit

🏠
Working from home
View GitHub Profile
using UnityEngine;
using System;
using System.Collections.Generic;
using UnityEditor;
[CreateAssetMenu(fileName = "AudioClipSO", menuName = "Scriptable Objects/AudioClipSO")]
public class AudioDataSO : ScriptableObject
{
[field: SerializeField] public DataTypes ShowListType = DataTypes.Helpful;
using UnityEngine;
public class Printer : MonoBehaviour
{
void Update()
{
print("crickets"); // выводим слово "crickets" в консоль
}
}
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Recoil : MonoBehaviour
{
private Vector3 currentRotation;
private Vector3 targetRotation;
[SerializeField] private float recoilX;