Game Development Community

Airplane tutorial - Cannot assign to 'PauseAnimation'...

by Jason Walters · in Torque X 2D · 12/06/2008 (2:27 pm) · 1 replies

Hello!

Just trying to go through and learn the airplane tutorial. I just finished step 3 and when I build I receive this error:
Cannot assign to 'PauseAnimation' because it is a 'method group'

Everything else in the AirplaneControlComponent.cs appears to be fine.

#1
12/06/2008 (4:05 pm)
Right, this has been replaced by a method call, so you need to call PauseAnimation() or StopAnimation(); and then PlayAnimation(); to continue.

John K.