void OnCollisionEnter2D(Collision2D collision) { if ((collision.collider.gameObject.tag != "Walls" && collision.collider.gameObject.tag == "Player")) { StateContainer.CompleteStimulus(); } }
void OnCollisionEnter2D(Collision2D collision) { if ((collision.collider.gameObject.tag != "Walls" && collision.collider.gameObject.tag == "Player")) { StateContainer.CompleteStimulus(); } }