using System.Collections;
using System.Collections.Generic;
using UnityEngine;

[RequireComponent(typeof (SocketScript))]

public class SignalOriginScript : MonoBehaviour {

	public int signalIndex;
	[HideInInspector] public SocketScript _socket;

	void Start () {
		_socket = this.gameObject.GetComponent<SocketScript> ();
	}

	void Update () {
		_socket.Signalize (signalIndex);
	}
}
