// Use this for initialization protected virtual void Awake() { audioSource = GetComponent<AudioSource>(); animator = GetComponent<Animator>(); actorInfo = GetComponent<ActorInfoController>(); gameController = GameObject.FindGameObjectWithTag(Tags.GameController).GetComponent<FightSceneGameController>(); }
// Use this for initialization protected virtual void Start() { actorController = GetComponent<ActorController>(); gameController = GameObject.FindGameObjectWithTag(Tags.GameController).GetComponent<FightSceneGameController>(); }