mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-05 21:40:31 +00:00
Eliminate unnecessary uses of ConsoleMethod
This commit is contained in:
parent
2bbc716db6
commit
0fff33869c
15 changed files with 155 additions and 190 deletions
|
|
@ -24,7 +24,8 @@
|
|||
#include "T3D/components/camera/cameraComponent.h"
|
||||
|
||||
//Basically, this only exists for backwards compatibility for parts of the editors
|
||||
ConsoleMethod(CameraComponent, getMode, const char*, 2, 2, "() - We get the first behavior of the requested type on our owner object.\n"
|
||||
DefineEngineMethod(CameraComponent, getMode, const char*, (),,
|
||||
"@brief We get the first behavior of the requested type on our owner object.\n"
|
||||
"@return (string name) The type of the behavior we're requesting")
|
||||
{
|
||||
return "fly";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue