// Use this for initialization void Start() { hl = GameObject.FindGameObjectWithTag("effect").GetComponent <Heallight>(); sctu = GameObject.Find("CoinShooter").GetComponent <SootingCoinsToUI>(); pb = GameObject.Find("PauseButton").GetComponent <PauseButton>(); cl = GameObject.Find("ColForStation").GetComponent <ColforLand>(); sb = GameObject.Find("SaveButton").GetComponent <SaveButton>(); ewb = GameObject.Find("ExitWButton").GetComponent <ExitWButton>(); cb = GameObject.Find("MazeCreator").GetComponent <CreateBlocks>(); }
// Use this for initialization void Start() { cuolt = GameObject.FindGameObjectWithTag("CoinUIsOnLeftTop").GetComponent <CoinUIOnLeftTop>(); cd = GameObject.FindGameObjectWithTag("Cha1").GetComponent <CharacterData>(); cm = GameObject.FindGameObjectWithTag("Cha1").GetComponent <CharMove>(); hl = GameObject.FindGameObjectWithTag("effect").GetComponent <Heallight>(); sccu = GameObject.Find("SavingCoinCounter").GetComponent <SavingCoinCounterUI>(); wc = GameObject.Find("GameSaveWindow").GetComponent <WindowCol>(); cl = GameObject.Find("ColForStation").GetComponent <ColforLand>(); sb = GameObject.Find("SaveButton").GetComponent <SaveButton>(); }
// Use this for initialization void Start() { cl = GameObject.Find("ColForStation").GetComponent <ColforLand>(); wc = GameObject.Find("GameSaveWindow").GetComponent <WindowCol>(); sd = GameObject.FindGameObjectWithTag("station").GetComponent <StationData>(); cuolt = GameObject.FindGameObjectWithTag("CoinUIsOnLeftTop").GetComponent <CoinUIOnLeftTop>(); sctu = GameObject.Find("CoinShooter").GetComponent <SootingCoinsToUI>(); cd = GameObject.FindGameObjectWithTag("Cha1").GetComponent <CharacterData>(); hl = GameObject.FindGameObjectWithTag("effect").GetComponent <Heallight>(); CurrentSprite = this.gameObject.GetComponent <SpriteRenderer>().sprite; }
// Use this for initialization void Start() { L = false; R = false; PresKey = false; leftboost = 0.0f; rightboost = 0.0f; upboost = 0.0f; gravity = 0.07f; rot = 0.0f; check = 0.0f; cd = GameObject.FindGameObjectWithTag("Cha1").GetComponent <CharacterData>(); cl = GameObject.FindGameObjectWithTag("legcol").GetComponent <ColforLand>(); cdp = GameObject.FindGameObjectWithTag("stationpoint").GetComponent <CalDistancePlayer>(); hl = GameObject.FindGameObjectWithTag("effect").GetComponent <Heallight>(); }
// Use this for initialization void Start() { L = false; R = false; PresKey = false; leftboost = 0.0f; rightboost = 0.0f; upboost = 0.0f; gravity = 4f * Rt; //0.07 rot = 0.0f; check = 0.0f; cd = GameObject.FindGameObjectWithTag("Cha1").GetComponent <CharacterData>(); cl = GameObject.FindGameObjectWithTag("legcol").GetComponent <ColforLand>(); cdp = GameObject.FindGameObjectWithTag("stationpoint").GetComponent <CalDistancePlayer>(); hl = GameObject.FindGameObjectWithTag("effect").GetComponent <Heallight>(); pc = GameObject.FindGameObjectWithTag("Cha1").GetComponent <PauseCtrl>(); pb = GameObject.Find("PauseButton").GetComponent <PauseButton>(); StartTime = Time.realtimeSinceStartup; }
// Use this for initialization void Start() { cm = GameObject.FindGameObjectWithTag("Cha1").GetComponent <CharMove>(); asct = GameObject.Find("AddOrSubCoinsText"); hl = GameObject.FindGameObjectWithTag("effect").GetComponent <Heallight>(); }