On part 6 of 14 of the 2D Roguelike Tutorial the moving object script has the following error:
if (!canMove && hitComponent != null)
OnCantMove(hitComponent); The type arguments for method ‘MovingObject.OnCantMove(UnityEngine.Time)’ cannot be inferred from the usage. Try specifying the type arguements explicitly.
Anyone who’s done the 2D Roguelike Tutorial, what did I do wrong? I thought I did the exact same things as the video.
- = the red bubble around errors.