// Use this for initialization
 void Start()
 {
     gate = gateObject.GetComponent <Level1OpenGate>();
 }