Inheritance: UnityEngine.MonoBehaviour
Beispiel #1
0
 public GameObject Obtain(int index)
 {
     for (int i = 0; i < this.images.Count; i++)
     {
         ImageIndex imageIndex = this.images[i].GetComponent <ImageIndex>();
         if (imageIndex != null && imageIndex.index == index)
         {
             return(this.images[i].gameObject);
         }
     }
     return(null);
 }
Beispiel #2
0
 public void Initialize()
 {
     this.index = this.GetComponent<ImageIndex>();
 }
Beispiel #3
0
 public void Initialize()
 {
     this.index = this.GetComponent <ImageIndex>();
 }