//패시브와 관련된 설정 private void PassiveSetting() { //망토 if (NowSelectPassive.Instance.HasPassive(PassiveType.HolyCape) == true) { immuneTime = 2f; } //인삼 if (NowSelectPassive.Instance.HasPassive(PassiveType.Ginseng) == true) { isImmuneAnyState = true; } if (NowSelectPassive.Instance.NowDifficulty == Difficulty.easy) { GameOption.ChangeFireStype(FireStyle.Auto); playerUi.ChangeFireStyle(FireStyle.Auto); } else if (NowSelectPassive.Instance.NowDifficulty == Difficulty.hard) { GameOption.ChangeFireStype(FireStyle.Manual); playerUi.ChangeFireStyle(FireStyle.Manual); } // //오토에임 //if (MyUtils.GetNowPassive() == PassiveType.AutoAim) //{ // GameOption.ChangeFireStype(FireStyle.Auto); // playerUi.ChangeFireStyle(FireStyle.Auto); //} //else //{ // GameOption.ChangeFireStype(FireStyle.Manual); // playerUi.ChangeFireStyle(FireStyle.Manual); //} //신발 if (NowSelectPassive.Instance.HasPassive(PassiveType.WingShoes) == true) { moveSpeed = 4f; burstSpeed = moveSpeed + 2; originSpeed = moveSpeed; } ////조준기 //if (MyUtils.GetNowPassive() == PassiveType.RedDotSight) //{ // redDotLine = gameObject.AddComponent<LineRenderer>(); // if (redDotLine != null) // { // redDotLine.material = Resources.Load<Material>("Materials/SpriteMaterial"); // redDotLine.SetWidth(0.05f, 0.05f); // redDotLine.sortingOrder = 30; // redDotLine.receiveShadows = false; // redDotLine.shadowCastingMode = UnityEngine.Rendering.ShadowCastingMode.Off; // redDotLine.SetColors(Color.red, Color.red); // redDotLine.positionCount = 2; // StartCoroutine(RedDotLineRenderRoutine()); // } //} }