Example #1
0
    // Use this for initialization
    void Start()
    {
        csHandle = GameObject.FindGameObjectWithTag("Hand").GetComponent <cursor_handle> ();
        GameObject [] zSource = GameObject.FindGameObjectsWithTag("Zsource");
        foreach (GameObject zS in zSource)
        {
            zombSource.Add(zS.transform.position);
        }

        csHandle = GameObject.FindWithTag("Hand").GetComponent <cursor_handle> ();
    }
Example #2
0
 // Use this for initialization
 void Start()
 {
     csHandle = GameObject.FindWithTag("Hand").GetComponent <cursor_handle> ();
 }