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:
AzaezelX 2023-01-27 01:13:15 -06:00
parent a0bbe0ec18
commit f5a34308f9
382 changed files with 588 additions and 130 deletions

View file

@ -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();
}
}

View file

@ -45,7 +45,7 @@ public:
VDirectorEvent( void );
static void initPersistFields( void );
static void initPersistFields();
// Event Methods.

View file

@ -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() );
}
}

View file

@ -41,7 +41,7 @@ public:
VSceneJumpEvent( void );
static void initPersistFields( void );
static void initPersistFields();
// Event Methods.

View file

@ -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 );
}
}

View file

@ -42,7 +42,7 @@ public:
VSlowMoEvent( void );
static void initPersistFields( void );
static void initPersistFields();
// Event Methods.