When i run my game my trigger script isnt working and unity keeps saying
Object reference not set to an instance of an object
and its keepes bring me to these lines
void OnTriggerEnter(){
Movement2 m = (Movement2)GetComponent("Movement2");
m.AdjustCurrentAction(-1);
can anyone help?