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