mgear
3
what is the actual error message in console window?
i’m guessing its null reference or so?
that means need to assign the charactercontroller into this public field, in inspector:
public CharacterController2D controller;
ps. better use code tags to embed scripts into messages, so can see line numbers
1 Like