Ejemplo n.º 1
0
 // public GameObject effect;
 // Start is called before the first frame update
 void Start()
 {
     thedialloue = FindObjectOfType <Dialloue>();
     theStat     = FindObjectOfType <PlayerStat>();
     // theFloat = FindObjectOfType<FlotingText>();
     // GameObject gm = GameObject.Find("Npc_Assassin");
     gmAssasin = GameObject.FindObjectOfType <GameObject>();
 }
Ejemplo n.º 2
0
    private bool istyping; //타이핑시 NextSentence 를 호출하면안됨

    // [SerializeField]
    //Image progressBar;

    private void Awake()
    {
        if (instance == null)
        {
            DontDestroyOnLoad(this.gameObject);
            instance = this;
        }
        else
        {
            Destroy(this.gameObject);
        }
        instance = this;
    }
Ejemplo n.º 3
0
 // Start is called before the first frame update
 void Start()
 {
     theStat     = FindObjectOfType <PlayerStat>();
     thedialloue = FindObjectOfType <Dialloue>();
 }
Ejemplo n.º 4
0
 private void Start()
 {
     theStat = FindObjectOfType <PlayerStat>();
     //theStat = GetComponent<PlayerStat>();
     thedialloue = FindObjectOfType <Dialloue>();
 }