public new void Initialization()
    {
        base.Initialization();
        chracterShooter = GetComponent <Shooter>();
        characterMover  = GetComponent <MoverTo>();

        Debug.Log($"{gameObject} mover is {characterMover} ");
    }
Beispiel #2
0
 void Start()
 {
     target    = FindObjectOfType <HeroCharacter>().gameObject;
     autoMover = GetComponent <MoverTo>();
 }