void Start() { binaryThreshold = new BinaryThreshold(inputThresholds, false); parabolicArc = new CalculateParabolicArc(range, gravity, resolution, maxDrop); findHitsInPath = new FindHitsInPath(transform); calculateCutoff = new TeleportCutoffPath(transform, maxSlope, teleportTag); line = new LineRendererInterface(lineRenderer, shaderColorId); }
void Awake() { cutoffPath = new TeleportCutoffPath(transform, maxSlope, teleportTag); }