void Start() { _rb2d = GetComponent <Rigidbody2D>(); _states = GetComponent <StateManager>(); _anim = GetComponent <HandleAnimations>(); _rb2d.freezeRotation = true; }
// Use this for initialization void Start() { rb = GetComponent <Rigidbody2D>(); states = GetComponent <StateManager>(); anim = GetComponent <HandleAnimations>(); rb.freezeRotation = true; }
// referencias void Start() { handleDC = GetComponent <HandleDamageCollider>(); handleAnim = GetComponent <HandleAnimations>(); HandleMovement = GetComponent <HandleMovement>(); sRenderer = GetComponentInChildren <SpriteRenderer>(); }
void Start() { audioManager = AudioManagerScript.getInstance(); rb = GetComponent <Rigidbody2D>(); states = GetComponent <StateManager>(); anim = GetComponent <HandleAnimations>(); rb.freezeRotation = true; }
public void Start() { // get other scripts handleDC = GetComponent <HandleDamageColliders>(); handleAnim = GetComponent <HandleAnimations>(); handleMovement = GetComponent <HandleMovement>(); sRenderer = GetComponentInChildren <SpriteRenderer>(); particleVar = GetComponent <ParticleExplosion>(); }
void Start() { audioManager = GetComponent <CharacterAudioManager> (); handleShooting = GetComponent <HandleShooting>(); handleAnim = GetComponent <HandleAnimations>(); if (mesh != null) { rend = mesh.GetComponent <Renderer> (); initalColor = rend.material.GetColor("_RimColor"); initalRimPower = rend.material.GetFloat("_RimPower"); } attacking = false; }
void Start() { //_mat = mat.GetComponent<Renderer>().material; source = GetComponent <AudioSource>(); shake = camera.GetComponent <Camera_Shake>(); blood = GetComponentsInChildren <ParticleSystem>(); handleDC = GetComponent <HandleDamageColliders>(); handleAnim = GetComponent <HandleAnimations>(); handleMovement = GetComponent <HandleMovement>(); //blood = GetComponentInChildren<ParticleSystem>(); spare = false; mercy = false; }
// Use this for initialization void Start() { characterAnimations = GetComponent <HandleAnimations>(); transformComponent = GetComponent <Transform>(); }
// Use this for initialization void Start() { mainCharacterChainConnection = mainCharacterRB.GetComponent <ChainConnection> (); characterAnimations = mainCharacterRB.GetComponent <HandleAnimations>(); }
// Use this for initialization void Start() { anim = GetComponent <HandleAnimations> (); }
// Use this for initialization void Start() { mainCharacterAnimationComponent = mainCharacterCombatComponent.GetComponent <HandleAnimations>(); glowImageAlphaSpeed = glowImage.color.a / ((glowImageMaxScale - glowImage.GetComponent <Transform>().localScale.x) / glowImageSpeed); }
// Use this for initialization void Start() { characterAnimations = GetComponent <HandleAnimations>(); chainConnectionComponent = GetComponent <ChainConnection>(); }
// Use this for initialization void Start() { rbComponent = GetComponent <Rigidbody2D>(); animationComponent = GetComponent <HandleAnimations>(); }