Exemple #1
0
 // Use this for initialization
 void Start()
 {
     runnable         = false;
     changeable       = true;
     triggered        = false;
     virgin           = true;
     touched          = false;
     objMesh          = gameObject.GetComponent <Renderer>().material;
     gameObject.layer = 14;
     TactileText      = GameObject.FindGameObjectWithTag("DynamicText");
     t      = TactileText.GetComponent <WindowTextController>();
     dCache = GameObject.FindGameObjectWithTag("DataCache").GetComponent <DataCache>();
 }
Exemple #2
0
    // Use this for initialization
    void Start()
    {

        runnable = false;
        changeable = true;
        triggered = false;
        virgin = true;
        touched = false;
        objMesh = gameObject.GetComponent<Renderer>().material;
        gameObject.layer = 14;
        TactileText = GameObject.FindGameObjectWithTag("DynamicText");
        t = TactileText.GetComponent<WindowTextController>();
        dCache = GameObject.FindGameObjectWithTag("DataCache").GetComponent<DataCache>();
    }
Exemple #3
0
    // Use this for initialization
    void Start()
    {
        timer        = -1;
        activated    = false;
        triggered    = false;
        secondFrame  = false;
        newForm      = false;
        areaOfEffect = gameObject.GetComponent <BoxCollider>();

        //Retrieving External Objects...
        TactileText = GameObject.FindGameObjectWithTag("DynamicText");
        t           = TactileText.GetComponent <WindowTextController>();
        selectTool  = GameObject.FindGameObjectWithTag("DynamicSelect").GetComponent <SelectorOverseer>();
        dCache      = GameObject.FindGameObjectWithTag("DataCache").GetComponent <DataCache>();
    }
Exemple #4
0
    // Use this for initialization
    void Start()
    {
        timer = -1;
        activated = false;
        triggered = false;
        secondFrame = false;
        newForm = false;
        areaOfEffect = gameObject.GetComponent<BoxCollider>();

        //Retrieving External Objects...
        TactileText = GameObject.FindGameObjectWithTag("DynamicText");
        t = TactileText.GetComponent<WindowTextController>();
        selectTool = GameObject.FindGameObjectWithTag("DynamicSelect").GetComponent<SelectorOverseer>();
        dCache = GameObject.FindGameObjectWithTag("DataCache").GetComponent<DataCache>();
    }