// Start is called before the first frame update void Start() { inputHandler = InputHandler.inputHandler; if (inputHandler != null) { inputActions = inputHandler.GetPlayerControls(); } cb = GameObject.Find("CordHead").GetComponent <CordBehaviour>(); vs = GameObject.Find("vaccum head").GetComponent <Assets.Scripts.Interaction.Vacuum.VacuumSource>(); text = gameObject.GetComponentInChildren <TMP_Text>(); //text.transform.rotation = Camera.main.transform.rotation; signifier.SetActive(false); audio = audioComponent.GetComponent <IAudio>(); }
// Start is called before the first frame update void Start() { line = GetComponent <LineRenderer>(); cb = GetComponent <CordBehaviour>(); }