mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-09 21:59:16 +00:00
7304d249df
* add tools
20 lines
368 B
C#
20 lines
368 B
C#
using UnityEngine;
|
|
|
|
namespace QSB.Animation
|
|
{
|
|
public class QSBTool : PlayerTool
|
|
{
|
|
public ToolType Type;
|
|
public GameObject ToolGameObject;
|
|
|
|
private void OnEnable()
|
|
{
|
|
ToolGameObject.SetActive(true);
|
|
}
|
|
|
|
private void OnDisable()
|
|
{
|
|
ToolGameObject.SetActive(false);
|
|
}
|
|
}
|
|
} |