This file contains hidden or 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 | |
{ |
This file contains hidden or 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 hidden or 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 hidden or 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
/** | |
* Simple Cartesian product generator. | |
* | |
* Given an N-long array of numbers `lenarr`, where each element representing how many choices are available for that | |
* position, generate all N-long arrays where the `idx`th element runs from 0 to `lenarr[index]`. | |
* | |
* ```ts | |
* for (const x of numericCartesianProduct([2, 3])) { console.log(x); } | |
* ``` | |
* generates: |
This file contains hidden or 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() |