2021-12-14 22:53:53 +00:00
|
|
|
|
using QSB.Player;
|
2021-11-09 17:46:46 +00:00
|
|
|
|
|
2022-03-02 19:46:33 -08:00
|
|
|
|
namespace QSB.Tools.SignalscopeTool;
|
|
|
|
|
|
|
|
|
|
internal static class SignalscopeCreator
|
2021-11-09 17:46:46 +00:00
|
|
|
|
{
|
2022-03-02 19:46:33 -08:00
|
|
|
|
internal static void CreateSignalscope(PlayerInfo player)
|
2021-11-09 17:46:46 +00:00
|
|
|
|
{
|
2022-03-02 19:46:33 -08:00
|
|
|
|
var REMOTE_Signalscope = player.CameraBody.transform.Find("REMOTE_Signalscope").gameObject;
|
2022-02-02 11:58:00 +00:00
|
|
|
|
|
2022-03-02 19:46:33 -08:00
|
|
|
|
var Props_HEA_Signalscope = REMOTE_Signalscope.transform.Find("Props_HEA_Signalscope");
|
2021-11-25 11:27:58 +00:00
|
|
|
|
|
2022-03-02 19:46:33 -08:00
|
|
|
|
var tool = REMOTE_Signalscope.GetComponent<QSBTool>();
|
|
|
|
|
tool.Type = ToolType.Signalscope;
|
|
|
|
|
tool.ToolGameObject = Props_HEA_Signalscope.gameObject;
|
|
|
|
|
tool.Player = player;
|
2021-11-09 17:46:46 +00:00
|
|
|
|
}
|
2022-02-24 22:04:54 -08:00
|
|
|
|
}
|