If you’re a fan of gaming and like to keep up with industry news, you’re probably fairly familiar with some of the terminology you’ll find here. But if you’re new to game development or need a refresher, this list of words and terms should come in handy when you’re participating in online discussions, diving into learning resources, and using Unity.
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 UnityEngine.UI; | |
using UnityEngine.Events; | |
[RequireComponent(typeof(Image))] | |
public class UISpriteAnimation : MonoBehaviour { | |
public Sprite[] sprites; | |
public int fps = 6; |
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
#!/bin/bash | |
# Based on http://stackoverflow.com/questions/151677/tool-for-adding-license-headers-to-source-files | |
for i in src/*.js src/*/*.js src/*/*/*.js src/*/*/*/*.js src/*/*/*/*/*.js | |
do | |
if ! grep -q @flow $i | |
then | |
(echo -e $"/**\n * @format\n * @flow\n */\n") > flowificator | |
cat flowificator $i >$i.new && mv $i.new $i | |
rm flowificator |
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
import React from 'react'; | |
import {WebView} from 'react-native-webview'; | |
const getReCaptchaContent = (captchaKey, action) => { | |
const webForm = `<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta | |
name="viewport" |
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
watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache verify && yarn cache clean && yarn install && yarn start --reset-cache |
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
import PropTypes from 'prop-types'; | |
import React from 'react'; | |
import { | |
View, | |
Easing, | |
Animated, | |
StyleSheet, | |
Dimensions, | |
ViewPropTypes, | |
} from 'react-native'; |
Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. Visual Studio Code is free and available on your favorite platform - Linux, Mac OSX, and Windows.
This module will install visual studio code
essential extensions and settings for react-native
.
npx react-native-vscode-settings
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
$ cd ~ | |
$ git clone https://github.com/facebook/watchman.git | |
$ cd watchman/ | |
$ git checkout v4.7.0 | |
$ sudo apt-get install -y autoconf automake build-essential python-dev | |
$ ./autogen.sh | |
$ ./configure | |
$ make | |
$ sudo make install |
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
echo 256 | sudo tee -a /proc/sys/fs/inotify/max_user_instances | |
echo 32768 | sudo tee -a /proc/sys/fs/inotify/max_queued_events | |
echo 65536 | sudo tee -a /proc/sys/fs/inotify/max_user_watches | |
watchman shutdown-server |
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
rm -rf ~/.atom | |
rm -rf /usr/local/bin/atom | |
rm -rf /usr/local/bin/apm | |
rm -rf /Applications/Atom.app | |
rm -rf ~/Library/Preferences/com.github.atom.plist | |
rm -rf "~/Library/Application Support/com.github.atom.ShipIt" | |
rm -rf "~/Library/Application Support/Atom" | |
rm -rf "~/Library/Saved Application State/com.github.atom.savedState" | |
rm -rf ~/Library/Caches/com.github.atom | |
rm -rf ~/Library/Caches/Atom |