DEG-133 [Fix] 이펙트 매니저 추가
This commit is contained in:
parent
4309c2851e
commit
d6514980de
@ -59,7 +59,6 @@ public class PlayerController : CharacterBase, IObserver<GameObject>
|
|||||||
// isBattle 초기화 (임시)
|
// isBattle 초기화 (임시)
|
||||||
bool isHousingScene = SceneManager.GetActiveScene().name.Contains("Housing");
|
bool isHousingScene = SceneManager.GetActiveScene().name.Contains("Housing");
|
||||||
_isBattle = !isHousingScene;
|
_isBattle = !isHousingScene;
|
||||||
Debug.Log("_isBattle: " + _isBattle);
|
|
||||||
|
|
||||||
AssignCharacterController();
|
AssignCharacterController();
|
||||||
AssignAnimator();
|
AssignAnimator();
|
||||||
@ -261,7 +260,6 @@ public class PlayerController : CharacterBase, IObserver<GameObject>
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void AssignCharacterController()
|
private void AssignCharacterController()
|
||||||
{
|
{
|
||||||
Debug.Log("AssignCharacterController: " + _isBattle);
|
|
||||||
_characterController = _isBattle
|
_characterController = _isBattle
|
||||||
? battleModel.GetComponent<CharacterController>()
|
? battleModel.GetComponent<CharacterController>()
|
||||||
: normalModel.GetComponent<CharacterController>();
|
: normalModel.GetComponent<CharacterController>();
|
||||||
|
BIN
Assets/KSH/ReDungeon.unity
(Stored with Git LFS)
BIN
Assets/KSH/ReDungeon.unity
(Stored with Git LFS)
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user