public void OnClick() { currentActive.UnSet(); currentActive = this; content.GetComponent <Scroll_Dynamic_Content>().LoadList(type); image.color = new Color(0.349f, 1, 0.2941f); }
void Start() { if (startActive) { currentActive = this; } image = GetComponent <Image>(); }