public void SetCurrentBandMember(string newBandMember) { pam = playerUpperBody.GetComponentInChildren <PlayerAttackManager>(); currentBandMember = newBandMember; StartCoroutine(pam.SetPlayerName()); }
// Start is called before the first frame update private void Awake() { PlayerController = GetComponent <PlayerController>(); PlayerAttackManager = GetComponent <PlayerAttackManager>(); FlurryRush = GetComponent <FlurryRush>(); }
void Start() { walker = GetComponent <Walker>(); playerAttackManager = GetComponent <PlayerAttackManager>(); manaMode = GetComponent <ManaMode>(); }
void Start() { playerTransform = GetComponent <Transform>(); playerAttackManager = GetComponent <PlayerAttackManager>(); originalScale = shieldTransform.localScale; }
private void Start() { mode = GameObject.Find("Player").GetComponent <PlayerAttackManager>(); }
void Start() { pl = GetComponent <PlayerAttackManager>(); mn = GetComponent <Mana>(); health = GetComponent <Health>(); }
private void Start() { attackManager = GetComponent <PlayerAttackManager>(); healthManager = GetComponent <PlayerHealth>(); }
void Start() { playerAttackManager = GetComponent <PlayerAttackManager>(); shieldAnim = transform.GetChild(0).GetComponent <Animator>(); ActiveShield(false); }
// Start is called before the first frame update void Awake() { BoxCollider2D = GetComponent <BoxCollider2D>(); PlayerAttackManager = GetComponentInParent <PlayerAttackManager>(); }
void Start() { pam = GameObject.FindGameObjectWithTag("Player").GetComponent <PlayerAttackManager>(); }