void Start() { Debug.Log(" radius is : " + radius); for (int i = 0; i < explosionLines.Length; i++) { explosionLines.SetValue(new List <Vector2>(), i); } anglesForExplosionLines = BombParameter.FillDicoAnglesForExplosionDir(explosionLines); animator = GetComponent <Animator>(); spriteRenderer = GetComponent <SpriteRenderer>(); StartCoroutine(FuseBeforeExplosion()); }
void Start() { bombParameter = GetComponentInParent <BombParameter>(); shootDirTuple = PipeParameter.SetShootValues(shootDirection); moveDirTuple = PipeParameter.SetMoveValues(moveAxis); if (positionInTileOnRange == rangeOnMoveAxis) { isOdd = false; } else { isOdd = true; } }