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 UnityEngine; | |
using System.Collections; | |
public class FaceCamera : MonoBehaviour { | |
public bool LockX = false; | |
public bool LockY = false; | |
void Start () { |
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.ComponentModel.Design; | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.Events; | |
using System.Linq; | |
namespace Events | |
{ |
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
export type Action = ReturnType< | |
| typeof loginRequested | |
| typeof logoutRequested | |
> | |
type Dispatch = React.Dispatch<Action> | |
export const loginRequested = (userId: string) => (<const>{ | |
type: 'loginRequested', | |
payload: { |
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
open System | |
let read _ = Console.ReadLine() | |
let isValid = function null -> false | _ -> true | |
let readList t = | |
Seq.initInfinite read | |
|> Seq.takeWhile isValid | |
|> Seq.toList | |
|> List.map t |
NewerOlder