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
/** | |
* Spawns a wall along the X and Y axes of the WallSpawner, using cubes of given size and materials | |
*/ | |
using UnityEngine; | |
using System.Collections; | |
public class WallSpawner : MonoBehaviour { | |
public int Nx = 10; | |
public int Ny = 10; |
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
/** | |
* A simple elevator script. Can be attached to any object to make it move in the given direction. | |
* Requires a button that calls CallElevator(). | |
*/ | |
using UnityEngine; | |
using System.Collections; | |
public class Elevator : MonoBehaviour { | |
/// <summary> |
NewerOlder