// Use this for initialization void Start() { audioSync = GetComponent <Audio_Sync>(); variablesScript = GetComponent <variables>(); playerGUIScript = GetComponent <Player_GUI>(); //fireDelay = variablesScript.fireDelay; }
// Use this for initialization void Start() { audioSync = GetComponent <Audio_Sync>(); playerPauseScirpt = GetComponent <Player_Pause>(); //engineParent = transform.Find("Engines").gameObject; healthScript = GetComponent <Player_Health>(); variablesScript = GetComponent <variables>(); playerChatScript = GetComponent <Player_Chat>(); playerIDScript = GetComponent <Player_ID>(); healthScript.EventDie += DisablePlayer; //Subscribes it to the EventDie }
//public GameObject hit_prefab; //public bool[] projectileTaken; // Use this for initialization void Start() { audioSync = GetComponent <Audio_Sync>(); }
// Use this for initialization void Start() { shipControlScript = GetComponent <ShipControl>(); variablesScript = GetComponent <variables>(); audioSync = GetComponent <Audio_Sync>(); }