private void Awake() { _camera = Camera.main; if (_camera == null) { enabled = false; } _myOutline = GetComponent <Outline>(); _answer = GetComponent <Answer>(); _selectedLabel = GameObject.FindGameObjectWithTag("AnswerLabel").GetComponent <Text>(); }
public void RemoveOutline(Outline outline) => outlines.Remove(outline);
public void AddOutline(Outline outline) => outlines.Add(outline);