// Start is called before the first frame update void Start() { PlayerPos = GameObject.Find("gg").GetComponent<Transform>(); SvMas = GameObject.Find("invertar").GetComponent<SaveMassive>(); GetAnim = this.gameObject.GetComponent<Animator>(); RgMan2D = this.gameObject.GetComponent<Rigidbody2D>(); checkScr = this.gameObject.GetComponent<CheckVectorAnim>(); }
// Start is called before the first frame update void Awake() { FindAll(); BtTup = GameObject.Find("left").GetComponent <TapButton>(); HeroTransf = GameObject.Find("gg").GetComponent <Transform>(); AnimHero = GameObject.Find("gg").GetComponent <Animator>(); InvertImage = GameObject.Find("invertar").GetComponent <Image>(); CheckMassive = GameObject.Find("invertar").GetComponent <SaveMassive>(); }
// Start is called before the first frame update void Start() { ggmove = GameObject.Find("ggmove").GetComponent <AudioSource>(); sv = GameObject.Find("invertar").GetComponent <SaveMassive>(); rg2D = this.GetComponent <Rigidbody2D>(); MoveAnim = this.GetComponent <Animator>(); ColHer = GameObject.Find("telo").GetComponent <CollisionHero>(); UPUP(); }
// Start is called before the first frame update void Start() { mas = GameObject.Find("invertar").GetComponent <SaveMassive>(); }
// Start is called before the first frame update void Start() { spr = GetComponent <SpriteRenderer>(); svms = GameObject.Find("invertar").GetComponent <SaveMassive>(); }