public new void SpawnNumberersM(GameObject BaseObjt, string Stringer, Color ToColor, NumberersSpawnerScr.AdditActs Additter) { this.CurrColor = ToColor; Vector3 position1 = BaseObjt.transform.position; Vector3 position2 = (!(bool)((Object)BaseObjt.GetComponent <EnemyHealthPointsScript>()) ? (!(bool)((Object)BaseObjt.GetComponent <BossHealthPointsScript>()) ? position1 + this.PlayerOffsetAdder(BaseObjt) : position1 + this.BossOffsetAdderM(BaseObjt)) : position1 + this.EnemOffsetAdderM(BaseObjt)) + this.AdditVectTurnerM(BaseObjt); if ((Object)this.BgFab != (Object)null) { ObjectPool.Spawn <Component>(this.BgFab, position2, this.PlayerRottFinderM()); } char[] charArray = Stringer.ToCharArray(); int[] numArray = new int[charArray.Length]; for (int index = 0; index < charArray.Length; ++index) { numArray[index] = int.Parse(charArray[index].ToString()); } Vector3 vector3 = position2 + Vector3.right * Random.Range(-this.Values[1].ParamValue, this.Values[1].ParamValue) + Vector3.up * Random.Range(-this.Values[2].ParamValue, this.Values[2].ParamValue); SpawnTheAdditM(new Vector3(vector3.x + ((charArray.Length - 1) * this.Values[0].ParamValue / 2f), vector3.y, vector3.z), Additter); SpawnNumArrayAtPosition(vector3, numArray); }
private void SpawnTheAdditM(Vector3 MostLeftPos, NumberersSpawnerScr.AdditActs Additter) { }