Spin Action not being instantiated [Solved]

I figured I would share this in case anyone else made the same rookie mistake. I was getting a null ref exception and the spin action button was not being instantiated because I had written

//creates null ref error
baseAction=this.baseAction;
//below is the correct order
this.baseAction=baseAction;

Privacy & Terms