Removed an error

This commit is contained in:
Syntriax 2022-11-15 13:45:16 +03:00
parent 3b3531d52c
commit 062fe203ad
1 changed files with 0 additions and 2 deletions

View File

@ -40,8 +40,6 @@ namespace Syntriax.Modules.Movement
{ {
RecacheMovements(); RecacheMovements();
toggleState = GetComponent<IToggleState>(); toggleState = GetComponent<IToggleState>();
if (toggleState == null)
Debug.LogError("Movement Controller component needs one Monobehaviour attached that implements IToggleState interface", this);
} }
protected virtual void FixedUpdate() protected virtual void FixedUpdate()