mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-26 10:03:48 +00:00
add a docsURL; macro to link a given set of script config vars to git or similar storage urls via clicking on the inspector
This commit is contained in:
parent
a0bbe0ec18
commit
f5a34308f9
382 changed files with 588 additions and 130 deletions
|
|
@ -110,6 +110,7 @@ bool PhysicsDebrisData::preload( bool server, String &errorStr )
|
|||
|
||||
void PhysicsDebrisData::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Shapes" );
|
||||
|
||||
addProtectedField( "shapeFile", TypeShapeFilename, Offset( mShapeName, PhysicsDebrisData ), &_setShapeData, &defaultProtectedGetFn,
|
||||
|
|
@ -332,6 +333,7 @@ PhysicsDebris::~PhysicsDebris()
|
|||
|
||||
void PhysicsDebris::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Con::addVariable( "$pref::PhysicsDebris::lifetimeScale", TypeF32, &smLifetimeScale,
|
||||
"@brief Scales how long %PhysicsDebris will live before being removed.\n"
|
||||
"@note A value of 0 will disable PhysicsDebris entirely.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue