protected override void Start()
 {
     anim     = GetComponent <Animator>();
     _manager = GameObject.FindWithTag("Manager").GetComponent <HaraManager>();
     _block   = GameObject.FindWithTag("Block").GetComponent <Tilemap>();
     base.Start();
 }
示例#2
0
 // Start is called before the first frame update
 void Start()
 {
     _manager  = GameObject.FindWithTag("Manager").GetComponent <HaraManager>();
     MoveChack = true;
 }
示例#3
0
 // Start is called before the first frame update
 protected virtual void Start()
 {
     _manager   = GameObject.FindWithTag("Manager").GetComponent <HaraManager>();
     _playerObj = GameObject.FindWithTag("Player");
 }