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
var config = { | |
blue_circuit: createItem(10, 1, { red_circuit: 2, green_circuit: 20 }), | |
red_circuit: createItem(6, 1, { green_circuit: 2, plastic: 2, copper_cable: 4 }), | |
green_circuit: createItem(0.5, 1, { copper_cable: 3 }), | |
plastic: createItem(1, 2, { }), | |
copper_cable: createItem(0.5, 2, { }), | |
rail: createItem(0.5, 2, { iron_stick: 1, steel: 1 }), | |
iron_stick: createItem(0.5, 2, { }), | |
steel: createItem(17.5 * (1.25 / 2), 1, { }), | |
gear: createItem(0.5, 1, { }), |
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 UnityEngine; | |
using System.Collections; | |
[RequireComponent(typeof(SpriteRenderer))] | |
public class Tiling : MonoBehaviour | |
{ | |
public int OffsetX = 2; | |
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
/************************************************************************** | |
* | |
* Original code from: | |
* https://gist.github.com/wmiller | |
* | |
* Updated by: | |
* https://gist.github.com/stfx | |
* | |
* Extended by: | |
* Me (https://gist.github.com/Excolo) |
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
public abstract class MyWebViewPage<TModel> : WebViewPage<TModel> | |
{ | |
public dynamic Settings | |
{ | |
get { return SettingsHelper.Instance; } | |
} | |
} | |
public abstract class MyWebViewPage : WebViewPage | |
{ |