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