quantum-space-buddies/QSB/Tools/QSBTool.cs
AmazingAlek 3f02bd25dd
moved files (#110)
* moved tools stuff from Animation and Utility to new Tools folder
* moved debug stuff into Utility
2020-07-30 22:27:14 +02:00

44 lines
939 B
C#

using UnityEngine;
namespace QSB.Tools
{
public class QSBTool : PlayerTool
{
public ToolType Type { get; set; }
public GameObject ToolGameObject { get; set; }
public DampedSpringQuat MoveSpring
{
get => _moveSpring;
set => _moveSpring = value;
}
public Transform StowTransform
{
get => _stowTransform;
set => _stowTransform = value;
}
public Transform HoldTransform
{
get => _holdTransform;
set => _holdTransform = value;
}
public float ArrivalDegrees
{
get => _arrivalDegrees;
set => _arrivalDegrees = value;
}
private void OnEnable()
{
ToolGameObject.SetActive(true);
}
private void OnDisable()
{
ToolGameObject.SetActive(false);
}
}
}