Ejemplo n.º 1
0
 // Update is called once per frame
 private void Start()
 {
     TimeShootDelay = Time.time;
     playerComBat   = gameObject.GetComponent <PlayerComBat>();
     animator       = gameObject.GetComponent <Animator>();
     playerBasic    = gameObject.GetComponent <Player>();
 }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     Hp     = GetComponentInParent <Player>();
     isJump = GetComponentInParent <PlayerMoving>();
     isAtk  = GetComponentInParent <PlayerComBat>();
 }