Ejemplo n.º 1
0
    void updateGlobalVars()
    {
        GameObject       masterController = GameObject.Find("masterController");
        globalShipParams gSP = masterController.GetComponent <globalShipParams>();

        maxHealth = gSP.maxHealth;
    }
Ejemplo n.º 2
0
    void updateGlobalVars()
    {
        GameObject       masterController = GameObject.Find("masterController");
        globalShipParams gSP = masterController.GetComponent <globalShipParams>();

        yOffset      = gSP.pathRenderYOffset;
        tubeDiameter = gSP.pathRenderWidth;
    }
Ejemplo n.º 3
0
    void updateGlobalVars()
    {
        GameObject       masterController = GameObject.Find("masterController");
        globalShipParams gSP = masterController.GetComponent <globalShipParams>();

        indicatorLightFrequency = gSP.indicatorLightFrequency;
        maxMoveStep             = gSP.maxMoveStep;
        minMoveStep             = gSP.minMoveStep;
    }