This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package fpmax | |
import scala.util.Try | |
import scala.io.StdIn.readLine | |
object App0 { | |
def main: Unit = { | |
println("What is your name?") | |
val name = readLine() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function* range(start: number, end: number) { | |
for (; start <= end; ++start) { yield start; } | |
} | |
function last<T>(arr: T[]) { return arr[arr.length - 1]; } | |
export function* numericCombinations(n: number, r: number, loc: number[] = []): IterableIterator<number[]> { | |
const idx = loc.length; | |
if (idx === r) { | |
yield loc; | |
return; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "HurdleComponent.h" | |
#include "PlayerCharacter.h" | |
#include <Components/ActorComponent.h> | |
#include <Components/SceneComponent.h> | |
#include <GameFramework/Actor.h> | |
#include <DrawDebugHelpers.h> | |
#include <CollisionQueryParams.h> | |
UHurdleComponent::UHurdleComponent() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.ComponentModel.Design; | |
using Unity.Profiling; | |
using UnityEditor; | |
using UnityEngine; | |
using UnityEngine.UI; | |
using UnityEngine.UIElements; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEditor; | |
using UnityEngine; | |
namespace UnityTools.SpawnPoint | |
{ | |
public class Editor_SpawnPoint : EditorWindow | |
{ |