Skip to content
Snippets Groups Projects
ScrollClickedScript.cs 312 B
Newer Older
  • Learn to ignore specific revisions
  • using System.Collections;
    using System.Collections.Generic;
    using UnityEngine;
    
    public class ScrollClickedScript: MonoBehaviour
    {
        public Scroll scroll;
    
        public GameObject DetailScreen;
    
    
        public void onClick() {
    
            this.DetailScreen.GetComponent<ScrollDetails>().setScroll(this.scroll);