// Use this for initialization void Start() { clas = FindObjectOfType <SimpleClasses>(); battleEvent = FindObjectOfType <SimpleBattleHandler>(); area = AreaType.area1; }
// Use this for initialization void Start() { craftStore = FindObjectOfType <CraftStore>(); store = FindObjectOfType <Store>(); clas = GameObject.FindObjectOfType <SimpleClasses>(); battle = GameObject.FindObjectOfType <SimpleBattleHandler>(); // player = GameObject.FindGameObjectWithTag("Player"); item = GameObject.FindObjectOfType <simpleInventory>(); inventory = FindObjectOfType <simpleInventory>(); sentences = new Queue <string>(); anim.SetBool("TalkBoxOpen", false); Invoke("getMovement", 2f); canDo = true; }
// Use this for initialization void Start() { inventory = FindObjectOfType <Inventory>(); battleHandler = FindObjectOfType <SimpleBattleHandler>(); movement = FindObjectOfType <SimpleMove>(); }