Exemplo n.º 1
0
    IEnumerator GotoNoBombWindow()
    {
        characterMsgSndCon = GameObject.Find("CharacterMsgSndCon").GetComponent <CharacterMsgSndConScript>();

        halfBLKPanel.SetActive(true);
        noBombWindow.SetActive(true);
        halfBLKPanel.transform.localPosition = new Vector3(halfBLKPanel.transform.localPosition.x, halfBLKPanel.transform.localPosition.y, noBombWindow.transform.localPosition.z + 10);
        yield return(new WaitForSeconds(0.5f));

        int activeOper = ValueDeliverScript.activeOper;

        characterMsgSndCon.SortieNoBomb(activeOper);
    }
 void Awake()
 {
     characterMsgSndCon = GameObject.Find("CharacterMsgSndCon").GetComponent <CharacterMsgSndConScript>();
 }