Beispiel #1
0
    public override void Exit()
    {
        Stage1BOSS boss = m_me.GetComponent <Stage1BOSS>();

        boss.m_laser.SetInteger("laser", 1);
        boss.m_laser.Play("Wait");
        boss.m_laser.gameObject.SetActive(false);
        boss.m_laser.GetComponent <BoxCollider2D>().enabled = false;
        m_skletonAnimation.state.ClearTrack(2);

        NetworkManager.Instance().SendOrderMessage(JSONMessageTool.ToJsonAIExitMessage(m_aiTarget, "C"));
    }