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
import * as path from "path"; | |
import { IDiagnostic } from "./language-code-generator"; | |
import { readJsonFile } from "../common/file"; | |
// | |
// Result of compiling TypeScript code. | |
// | |
export interface ICompilationResult { | |
code?: string; | |
diagnostics: IDiagnostic[]; |
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
// https://stackoverflow.com/a/15964759/25868 | |
export type BasicEventHandler = () => void; | |
export type SenderEventHandler<SenderT> = (sender: SenderT) => void; | |
// | |
// Simulate C# style events in JS. | |
// | |
export interface IEventSource<HandlerType extends Function> { | |
// |
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.Generic; | |
using System.Linq; | |
using System.Text; | |
using UnityEngine; | |
/// <summary> | |
/// A simple free camera to be added to a Unity game object. | |
/// | |
/// Keys: |
OlderNewer