Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     _slideObj  = GameObject.Find(panelName);
     _slideTest = _slideObj.GetComponent <SlideTest> ();
 }
Exemplo n.º 2
0
 public void GetFoods(string foodName)
 {
     StartCoroutine(GetFoodList(foodName));
     slider      = GetComponent <SlideTest>();
     _nodePrefab = Resources.Load("Prefabs/Node") as GameObject;
 }