mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 07:04:36 +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
|
|
@ -35,8 +35,9 @@ VDirectorEvent::VDirectorEvent( void ) :
|
|||
// Void.
|
||||
}
|
||||
|
||||
void VDirectorEvent::initPersistFields( void )
|
||||
void VDirectorEvent::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addField( "Target", TypeRealString, Offset( mTarget, VDirectorEvent ), "The name of the CameraGroup that will be activated upon triggering." );
|
||||
|
|
@ -72,4 +73,4 @@ void VDirectorEvent::onTrigger( const S32 &pTime, const S32 &pDelta )
|
|||
|
||||
// Change Camera.
|
||||
targetGroup->setActive();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ public:
|
|||
|
||||
VDirectorEvent( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// Event Methods.
|
||||
|
||||
|
|
|
|||
|
|
@ -38,8 +38,9 @@ VSceneJumpEvent::VSceneJumpEvent( void ) :
|
|||
setLabel( "SceneJumpEvent" );
|
||||
}
|
||||
|
||||
void VSceneJumpEvent::initPersistFields( void )
|
||||
void VSceneJumpEvent::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addField( "Target", TypeRealString, Offset( mTarget, VSceneJumpEvent ), "The name of the Scene that the controller will jump to upon triggering." );
|
||||
|
|
@ -79,4 +80,4 @@ void VSceneJumpEvent::onTrigger( const S32 &pTime, const S32 &pDelta )
|
|||
|
||||
// Go To Scene.
|
||||
getController()->jump( VController::k_JumpTime, event->getTriggerTime() );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ public:
|
|||
|
||||
VSceneJumpEvent( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// Event Methods.
|
||||
|
||||
|
|
|
|||
|
|
@ -36,8 +36,9 @@ VSlowMoEvent::VSlowMoEvent( void ) :
|
|||
setLabel( "SlowMoEvent" );
|
||||
}
|
||||
|
||||
void VSlowMoEvent::initPersistFields( void )
|
||||
void VSlowMoEvent::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addField( "TimeScale", TypeF32, Offset( mTimeScale, VSlowMoEvent ), "The Time Scale to be applied to the Root Controller." );
|
||||
|
|
@ -127,4 +128,4 @@ void VSlowMoEvent::onComplete( const S32 &pTime, const S32 &pDelta )
|
|||
|
||||
// Tidy Up.
|
||||
controller->setTimeScale( mTimeScale );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ public:
|
|||
|
||||
VSlowMoEvent( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// Event Methods.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue