Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using UnityEngine;
- namespace DefaultNamespace
- {
- [Serializable]
- public class PointInfo
- {
- [SerializeField] private float _angle;
- [SerializeField] private float _percent = 1f;
- public Vector3 Direction => Quaternion.AngleAxis(_angle, Vector3.up) * Vector3.forward;
- public float percent => _percent;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement