/*
 * BOS done by Bug Games Team - www.Bug-Games.net - @BugGames - info@bug-games.net
 * BOS game was an entry for Global Game Jam 2015 www.GlobalGameJam.com
 * Programmer: Danar Kayfi - @DanarKayfi
 * Artiest: Mohammad Al-Dmour - @LightOfDarkness
 * Everything (Code+Art) in this game belongs to Bug Games Team.
 * Some SFX are from soundbible.com.
 */
using UnityEngine;
using System.Collections;
using UnityEngine.UI;

public class powerBtn_script : MonoBehaviour 
{
	public GameObject Txt_Header;
	public GameObject Txt_Body;
	public GameObject img_powerLED;
	public GameObject Btn_Power_on;
	public GameObject InputField;

	// Use this for initialization
	void Start () 
	{
		gameObject.GetComponent<Button> ().interactable = sharedvalues.mainPower;

		if(sharedvalues.Power)
		{
			Txt_Header.active = true;
			Txt_Body.active = true;
			img_powerLED.active = true;
			Btn_Power_on.active = true;
			InputField.active = true;
			gameObject.active = false;
		}
	}
	
	// Update is called once per frame
	void Update () {
	
	}
}
