Ejemplo n.º 1
0
 public void OnThirdSectionOver()
 {
     Debug.Log("Fourth Section audio");
     AUD_Manager.PostEvent("MS_GAMEPLAY_LP_SP", gameObject);
     AUD_Manager.EventFromData(mFourthStage, gameObject);
     mInd = 3;
 }
Ejemplo n.º 2
0
 public void OnSecondSectionOver()
 {
     Debug.Log("Third section audio");
     AUD_Manager.PostEvent("MS_GAMEPLAY_LP_SP", gameObject);
     AUD_Manager.EventFromData(mThirdStage, gameObject);
     mInd = 2;
 }
Ejemplo n.º 3
0
    public void OnCheckpointRestart()
    {
        AUD_Manager.PostEvent("MS_GAMEPLAY_LP_SP", gameObject);
        switch (mInd)
        {
        case 0: AUD_Manager.EventFromData(mFirstStage, gameObject); break;

        case 1: AUD_Manager.EventFromData(mSecondStage, gameObject); break;

        case 2: AUD_Manager.EventFromData(mThirdStage, gameObject); break;

        case 3: AUD_Manager.EventFromData(mFourthStage, gameObject); break;
        }
    }
Ejemplo n.º 4
0
 private void Start()
 {
     AUD_Manager.SetState("BattleState", "NonEngaged");
     AUD_Manager.EventFromData(mMusic, gameObject);
 }
Ejemplo n.º 5
0
 public void OnFirstSectionOver()
 {
     AUD_Manager.PostEvent("MS_GAMEPLAY_LP_SP", gameObject);
     AUD_Manager.EventFromData(mSecondStage, gameObject);
     mInd = 1;
 }
Ejemplo n.º 6
0
 // Actually probably shouldn't be called.
 public void OnBeachBegun()
 {
     AUD_Manager.PostEvent("MS_GAMEPLAY_LP_SP", gameObject);
     AUD_Manager.EventFromData(mFirstStage, gameObject);
     mInd = 0;
 }