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
|
|
@ -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() );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue