Exemple #1
0
    // ------------------------------------- Gamer info stuffs. Keep track of how often they pass, I guess?
    void Awake()
    {
        IO_Settings.FLOAD_SETTINGS();
        IO_GamerInfo.FLoadGamerData();

        TDC_EventManager.FRemoveAllHandlers();
    }
Exemple #2
0
    void Start()
    {
        IO_Settings.FLOAD_SETTINGS();

        refAudioManager.OnBackToNormal();

        // true == include inactive.
        mScreens = GetComponentsInChildren <MN_Screen>(true);
    }
    void Start()
    {
        IO_Settings.FLOAD_SETTINGS();

        mSLDMoveSpd.value         = IO_Settings.mSet.lPlayerData.mMoveSpd;
        mSLDAccRate.value         = IO_Settings.mSet.lPlayerData.mAccRate;
        mSLDMaxThrowPow.value     = IO_Settings.mSet.lPlayerData.mThrowSpd;
        mSLDReleaseTime.value     = IO_Settings.mSet.lPlayerData.mReleaseTime;
        mSLDLookSensitivity.value = IO_Settings.mSet.lLookSensitity;
        mSLDMovementPenalty.value = IO_Settings.mSet.lMovementPenalty;
        mSLDLookPenalty.value     = IO_Settings.mSet.lLookPenalty;
        mSLDInaccuracyBias.value  = IO_Settings.mSet.lInaccuracyBias;
        mSLDMasterVolume.value    = IO_Settings.mSet.lMasterVolume;
    }
Exemple #4
0
    void Start()
    {
        IO_DefPlays.FLOAD_PLAYS();
        IO_PlayList.FLOAD_PLAYS();
        IO_RouteList.FLOAD_ROUTES();
        IO_Settings.FLOAD_SETTINGS();
        IO_ZoneList.FLOAD_ZONES();

        mDebugText.text = "Loading in stuffs";

        // IO_RouteList.FWRITE_ALL_ROUTES_AS_TEXT();
        DeleteOldFilesFromPlayArtDirectories();
        TransferCurrentFormationsAndPlaysIntoPlayArtDirectories();

        mDebugText.text = "Should have transfered text files with formation and plays";

        mState = SplashState.SLOGO;
        mAudioMixer.SetFloat("MASTER_VOLUME", IO_Settings.mSet.lMasterVolume);

        ENTER_Logo();
    }
Exemple #5
0
    void Start()
    {
        cPlaySetter  = GetComponent <PRAC_SetUpPlay>();
        cShowDefence = GetComponent <PRAC_ShowDefense>();

        mState         = PRAC_STATE.SPOST_PLAY;
        mPreSnapState  = PRESNAP_STATE.SREADYTOSNAP;
        mPickPlayState = PICKPLAY_STATE.SOFFENSE;
        IO_PlayList.FLOAD_PLAYS();
        IO_DefPlays.FLOAD_PLAYS();
        IO_ZoneList.FLOAD_ZONES();

        IO_RouteList.FLOAD_ROUTES();

        PRS_AssignMan.FLOAD_PRIORITIES();

        // Won't affect the build, but will affect the editor.
        IO_Settings.FLOAD_SETTINGS();
        // IO_RouteList.FCONVERT_TO_TEXT_FILES();
        // IO_PlayList.FCONVERT_TO_TEXT_FILES();
        // IO_DefPlays.FCONVERT_TO_TEXT_FILES();
        // IO_ZoneList.FCONVERT_TO_TEXT_FILES();
        MN_PauseScreen.SetActive(false);
    }
 void Awake()
 {
     IO_Settings.FLOAD_SETTINGS();
     IO_DefPlays.FLOAD_PLAYS();
     IO_ZoneList.FLOAD_ZONES();
 }
Exemple #7
0
 void Awake()
 {
     IO_Settings.FLOAD_SETTINGS();
 }
Exemple #8
0
 void Awake()
 {
     IO_Settings.FLOAD_SETTINGS();
     IO_RouteList.FLOAD_ROUTES();
     TDC_EventManager.FRemoveAllHandlers();
 }
Exemple #9
0
 void Start()
 {
     IO_Settings.FLOAD_SETTINGS();
 }