public AbstractWidget(int size, bool isSmall) { this._size = size; this._isSmall = isSmall; _gears = new Gears(); _springs = new Springs(); _levers = new Levers(); }
public Widget2(float price) { _Price = price; _Gears = new Gears(); _Springs = new Springs(); _Levers = new Levers(); _painted = new Painted(); }
public AbstractWidget(int size, WidgetColor color) { this._size = size; this._color1 = color; _springs = new Springs(); _levers = new Levers(); _gears = new Gears(); }
// Start is called before the first frame update void Start() { levers = GameObject.Find("Red").GetComponent <Levers>(); //Connects the levers script to this one lockedDoor = GameObject.Find("LockDoor").GetComponent <LockedDoor>(); //Connects the Locked door script to this one delay = 0; //How long the door waits to move }
// Start is called before the first frame update void Start() { levers = GetComponent <Levers>(); //Connects the levers script to this one sound = GetComponent <SoundManager>(); //Connects the sound manager to this script }