コード例 #1
0
 void AparecendoDoTeleport()
 {
     boss.transform.position = avatar.transform.position;
     boss.InvocaTeleportProps(false);
     avatar.gameObject.SetActive(true);
     npc.Start(transform);
     npc.IniciaConversa();
     estado = EstadoDaqui.falaFinal;
 }
コード例 #2
0
 // Use this for initialization
 protected void Start()
 {
     textoDoBotao = BancoDeTextos.RetornaFraseDoIdioma(ChaveDeTexto.textoBaseDeAcao);
     npc.Start(transform);
     SempreEstaNoTrigger();
 }
コード例 #3
0
    //private Vector3 forwardInicialDoBotao;

    // Use this for initialization
    protected void Start()
    {
        npc.Start(transform);
        // forwardInicialDoBotao = btn.transform.parent.forward;
        SempreEstaNoTrigger();
    }