Skip to content

Commit

Permalink
Drone Profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Hykudoru committed Dec 5, 2020
1 parent 2477d6b commit 2975987
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Drones/Assets/Drones/DroneProfile.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

[CreateAssetMenu(menuName = "Drone", fileName = "Drone")]
public class DroneProfile : ScriptableObject
{
public float maxMoveSpeed = 70f;
[Range(0f, 2f)] public float timeReachMaxMoveSpeed;
public float maxThrottleSpeed = 50f;
[Range(0f, 2f)] public float timeReachMaxThrottleSpeed;
public float maxYawSpeed = 360f;
[Range(0f, 2f)] public float timeReachMaxYawSpeed;
public float maxTilt = 28f;
[Range(0f, 2f)] public float timeReachMaxTilt;
}
11 changes: 11 additions & 0 deletions Drones/Assets/Drones/DroneProfile.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2975987

Please sign in to comment.