void Start() { player = GameManager.instance.Player; mov = player.GetComponent <CharacterMovement>(); audio = GetComponent <AudioSource>(); powerItemExplode = GetComponent <PowerItemExplode>(); sphereCollider = GetComponent <SphereCollider>(); }
// Use this for initialization void Start() { player = GameManager.instance.Player; playerHealth = player.GetComponent <PlayerHealth>(); powerItemExplode = GetComponent <PowerItemExplode>(); sphereCollider = GetComponent <SphereCollider>(); playerData = player.GetComponent <PlayerData>(); }
void Start() { player = GameManager.instance.Player; audio = GetComponent <AudioSource>(); powerItemExplode = GetComponent <PowerItemExplode>(); sphereCollider = GetComponent <SphereCollider>(); lifeSystem = FindObjectOfType <LifeManager>(); }
// Start is called before the first frame update void Start() { player = GameManager.instance.Player; playerHealth = player.GetComponent <PlayerHealth>(); characterMovement = player.GetComponent <CharacterMovement>(); powerItemExplode = GetComponent <PowerItemExplode>(); nameItem = this.name; }
// Start is called before the first frame update void Start() { player = GameManager.instance.Player; lifeManager = FindObjectOfType <LifeManager>(); spriteRenderer = GetComponentInChildren <SpriteRenderer>(); powerItemExplode = GetComponent <PowerItemExplode>(); boxCollider = GetComponent <BoxCollider>(); }
void Start() { player = GameManager.instance.Player; playerHealth = player.GetComponent <PlayerHealth>(); powerItemExplode = GetComponent <PowerItemExplode>(); boxCollider = GetComponent <SphereCollider>(); x = boxCollider.transform.position.x; y = boxCollider.transform.position.y; }
void Start() { audio = GetComponent <AudioSource>(); player = GameManager.instance.Player; characterMovement = player.GetComponent <CharacterMovement>(); particleSystem = player.GetComponent <ParticleSystem>(); sphereCollider = GetComponent <SphereCollider>(); spriteRenderer = GetComponent <SpriteRenderer>(); powerItemExplode = GetComponent <PowerItemExplode>(); }
// Start is called before the first frame update void Start() { player = GameManager.instance.Player; charMov = player.GetComponent <CharacterMovement>(); playerHp = player.GetComponent <PlayerHealth>(); sphereCollider = GetComponent <SphereCollider>(); itemExplode = GetComponent <PowerItemExplode>(); sprite = GetComponent <SpriteRenderer>(); }
void Start() { player = GameManager.instance.Player; lifeManager = FindObjectOfType <LifeManager>(); spriteRenderer = GetComponentInChildren <SpriteRenderer>(); powerItemExplode = GetComponent <PowerItemExplode>(); boxCollider = GetComponent <BoxCollider>(); audio = GetComponent <AudioSource>(); x = boxCollider.transform.position.x; y = boxCollider.transform.position.y; }
void Start() { player = GameManager.instance.Player; playerHealth = player.GetComponent <PlayerHealth>(); playerHealth.enabled = true; particleSystem = player.GetComponent <ParticleSystem>(); particleSystem.enableEmission = false; brainParticles = GetComponent <ParticleSystem>(); audio = GetComponent <AudioSource>(); powerItemExplode = GetComponent <PowerItemExplode>(); sphereCollider = GetComponent <SphereCollider>(); }
void Start() { player = GameManager.instance.Player; playerHealth = player.GetComponent <PlayerHealth>(); playerHealth.enabled = true; particleSystem = player.GetComponent <ParticleSystem>(); particleSystem.enableEmission = false; meshrenderer = GetComponentInChildren <MeshRenderer>(); brainParticles = GetComponent <ParticleSystem>(); powerItemExplode = GetComponent <PowerItemExplode>(); sphereCollider = GetComponent <SphereCollider>(); audio = GetComponent <AudioSource>(); x = sphereCollider.transform.position.x; y = sphereCollider.transform.position.y; }
// Use this for initialization void Start() { player = GameManager.instance.Player; playerHealth = player.GetComponent <PlayerHealth>(); playerHealth.enabled = true; particleSystem = player.GetComponent <ParticleSystem>(); //particleSystem.enableEmission = false; meshRenderer = GetComponentInChildren <MeshRenderer>(); brainParticles = GetComponent <ParticleSystem>(); powerItemExplode = GetComponent <PowerItemExplode>(); sphereCollider = GetComponent <SphereCollider>(); }
// Start is called before the first frame update void Start() { player = GameManager.instance.Player; characterMovement = player.GetComponent <CharacterMovement>(); powerItemExplode = GetComponent <PowerItemExplode>(); }
void Start() { player = GameManager.instance.Player; playerHealth = player.GetComponent <PlayerHealth>(); powerItemExplode = GetComponent <PowerItemExplode>(); }