示例#1
0
    private void DoAttack()
    {
        brother1.Attack();
        brother2.Attack();

        state = BrotherState.Running;
    }
示例#2
0
 public void restart()
 {
     brother1.restart();
     leg1.restart();
     brother2.restart();
     leg2.restart();
     GameObject.FindGameObjectWithTag("ParallaxManager").GetComponent <parralaxManager> ().isPaused(false);
     state = BrotherState.Running;
 }
示例#3
0
    private void DoDropTunk()
    {
        m_audioManager.stopAudioBrothersRunning();
        brother1.DropTrunk();
        brother2.DropTrunk();

        state = BrotherState.ChoppingWood;
        armBrother1.SetActive(false);
    }
 private void DoMovingIntoScene()
 {
     state = BrotherState.Running;
 }
 private void DoGrabbingTrunk()
 {
     state = BrotherState.Running;
 }
    private void DoDropTunk()
    {
        m_audioManager.stopAudioBrothersRunning ();
        brother1.DropTrunk ();
        brother2.DropTrunk ();

        state = BrotherState.ChoppingWood;
        armBrother1.SetActive (false);
    }
 private void DoChopWood()
 {
     state = BrotherState.GrabbingTrunk;
 }
    private void DoAttack()
    {
        brother1.Attack ();
        brother2.Attack ();

        state = BrotherState.Running;
    }
 public void restart()
 {
     brother1.restart ();
     leg1.restart ();
     brother2.restart ();
     leg2.restart ();
     GameObject.FindGameObjectWithTag ("ParallaxManager").GetComponent<parralaxManager> ().isPaused(false);
     state = BrotherState.Running;
 }
示例#10
0
 private void DoGrabbingTrunk()
 {
     state = BrotherState.Running;
 }
示例#11
0
 private void DoChopWood()
 {
     state = BrotherState.GrabbingTrunk;
 }
示例#12
0
 private void DoMovingIntoScene()
 {
     state = BrotherState.Running;
 }