示例#1
0
    //	managerscript script;

    void Start()
    {
        fix = obj.GetComponent <selectionscript> ();
        //script = temp.GetComponent<managerscript> ();

        /*first = GetComponent<Text> ();
         * fourth = GetComponent<Text> ();
         * fifth = GetComponent<Text> ();
         * second = GetComponent<Button> ();
         * third = GetComponent<InputField> ();
         * sixth = GetComponent<InputField> ();*/
    }
示例#2
0
    //int count=0;

    //public GameObject BOXES;
    //managerscript MGS;

    void Start()
    {
        index = obj.GetComponent <managerSS> ();
        fix   = temp.GetComponent <selectionscript> ();
        //	MGS = BOXES.GetComponent<managerscript> ();
    }