Example #1
0
    public void SetupBoat()
    {
        Radioactivity      = 0.0f;
        ElectricityRequest = 1.0f;
        Submersion         = 0.0f;
        Score = 0;
        bilge.Setup();
        generator.Setup();
        hangar.Setup();

        InvokeRepeating("IncreaseScore", 0.0f, scoreInterval);
        InvokeRepeating("DeacreaseElectricityRequest", 0.0f, requestInterval);
        InvokeRepeating("requestUpgrade", 60.0f, 60.0f);
    }