void Awake() { player = GameObject.FindGameObjectWithTag("Player").GetComponent <PlayerControl>(); playerCommon = player.GetComponent <CharacterCommon>(); monster = GetComponent <MonsterControll>(); monsterCommon = GetComponent <CharacterCommon>(); monsterInfor = GetComponent <CharacterInformation>(); attackLocation = transform.Find("Effect/Attack"); }
void Awake() { monsterControll = GetComponent <MonsterControll>(); characterCommon = GetComponent <CharacterCommon>(); }