commit 1c1e02e2972edd7f877d7ad4d1b6441aa99af0f2
parent e34956c16affec77beee4f07ac41d7b066525e8c
Author: PlutoTank <qwolkensperg@gmail.com>
Date: Fri, 17 Apr 2020 19:28:44 -0400
github in unity does not add everything for some reason
Diffstat:
3 files changed, 56 insertions(+), 0 deletions(-)
diff --git a/Assets/Scripts/Slimecing/Swords/Orbitals/OrbitalStats.cs b/Assets/Scripts/Slimecing/Swords/Orbitals/OrbitalStats.cs
@@ -0,0 +1,37 @@
+using UnityEngine;
+
+namespace Slimecing.Swords.Orbitals
+{
+ [CreateAssetMenu(fileName = "OrbitalStats", menuName = "Swords/Orbitals/OrbitalStats")]
+ public class OrbitalStats : ScriptableObject
+ {
+ [SerializeField] private float orbitalSpeed;
+ [SerializeField] private float yOffset;
+ [SerializeField] private float xAxis = 5f;
+ [SerializeField] private float yAxis = 5f;
+
+ public float rotationSpeed
+ {
+ get => orbitalSpeed;
+ set => orbitalSpeed = value;
+ }
+
+ public float verticalOffset
+ {
+ get => yOffset;
+ set => yOffset = value;
+ }
+
+ public float radiusX
+ {
+ get => xAxis;
+ set => xAxis = value;
+ }
+
+ public float radiusY
+ {
+ get => yAxis;
+ set => yAxis = value;
+ }
+ }
+}
diff --git a/Assets/Scripts/Slimecing/Swords/Orbitals/OrbitalStats.cs.meta b/Assets/Scripts/Slimecing/Swords/Orbitals/OrbitalStats.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 0a37f7d239ec14245970c23702857274
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Scripts/Slimecing/Swords/Orbitals/SOOrbitalStats.meta b/Assets/Scripts/Slimecing/Swords/Orbitals/SOOrbitalStats.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 2062c57f5369f8a4e885d890288f80be
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant: