Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- [CreateAssetMenu(fileName = "New Balancer", menuName = "ScriptableObjects/MainBalancer")]
- public class MainBalancer : ScriptableObject
- {
- [System.Serializable]
- public class Player
- {
- [Header("Player Settings")]
- [Tooltip("Prędkość ruchu gracza")]
- public double speed;
- [Tooltip("Prędkość obrotu gracza")]
- public double turningRadius;
- }
- [System.Serializable]
- public class Enemy
- {
- [Header("Enemy Settings")]
- [Tooltip("Prędkość ruchu przeciwnika")]
- public double speed;
- [Tooltip("Prędkość obrotu przeciwnika")]
- public double turningRadius;
- }
- public Player player = new Player();
- public Enemy enemy = new Enemy();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement