|
|
@ -19,6 +19,12 @@ namespace CriticalPathAnalyzer.Client.Tool {
|
|
|
|
_logger = logger;
|
|
|
|
_logger = logger;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void Clear() {
|
|
|
|
|
|
|
|
_startPegAddress = null;
|
|
|
|
|
|
|
|
_endPegAddress = null;
|
|
|
|
|
|
|
|
PathHighLighter.RemoveHighLighting();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private static PegAddress? RayCastPeg() {
|
|
|
|
private static PegAddress? RayCastPeg() {
|
|
|
|
// Ray-cast into the world to find what the player is looking at
|
|
|
|
// Ray-cast into the world to find what the player is looking at
|
|
|
|
HitInfo hitInfo = PlayerCaster.CameraCast(Masks.Environment | Masks.Structure | Masks.Peg | Masks.Wire);
|
|
|
|
HitInfo hitInfo = PlayerCaster.CameraCast(Masks.Environment | Masks.Structure | Masks.Peg | Masks.Wire);
|
|
|
|