Add missing help page links for 3D box, 3D model, text input and light obstacle (#8677)

This commit is contained in:
D8H
2026-06-04 12:16:23 +02:00
committed by GitHub
parent 799130e485
commit da2fec5085
7 changed files with 12 additions and 0 deletions
+2
View File
@@ -369,6 +369,7 @@ module.exports = {
new gd.Model3DObjectConfiguration()
)
.setCategory('General')
.setHelpPath('/objects/3d-model')
// Effects are unsupported because the object is not rendered with PIXI.
.addDefaultBehavior('ResizableCapability::ResizableBehavior')
.addDefaultBehavior('ScalableCapability::ScalableBehavior')
@@ -1321,6 +1322,7 @@ module.exports = {
Cube3DObject
)
.setCategory('General')
.setHelpPath('/objects/3d-box')
// Effects are unsupported because the object is not rendered with PIXI.
.addDefaultBehavior('ResizableCapability::ResizableBehavior')
.addDefaultBehavior('ScalableCapability::ScalableBehavior')
+1
View File
@@ -31,6 +31,7 @@ module.exports = {
)
.setDimension('2D')
.setCategory('Visual effect')
.setExtensionHelpPath('/objects/light')
.setTags('light');
const lightObstacleBehavior = new gd.BehaviorJsImplementation();
+1
View File
@@ -28,6 +28,7 @@ module.exports = {
.setShortDescription(
'Text input field for players. Placeholder, font, color, disabled state, read-only, focus control.'
)
.setExtensionHelpPath('/objects/text_input')
.setCategory('User interface');
extension
.addInstructionOrExpressionGroupMetadata(_('Text Input'))
+4
View File
@@ -2036,6 +2036,8 @@ interface ObjectMetadata {
[Const, Ref] DOMString GetCategory();
[Const, Ref] DOMString GetAssetStoreTag();
[Ref] ObjectMetadata SetHelpPath([Const] DOMString helpPath);
[Ref] ObjectMetadata SetCategory([Const] DOMString categoryFullName);
[Ref] ObjectMetadata SetAssetStoreTag([Const] DOMString assetStoreTag);
[Ref] InGameEditorResourceMetadata AddInGameEditorResource();
@@ -2174,6 +2176,8 @@ interface BehaviorMetadata {
[Const, Ref] DOMString GetIconFilename();
[Const, Ref] DOMString GetHelpPath();
[Ref] BehaviorMetadata SetHelpPath([Const] DOMString helpPath);
[Const, Ref] InstructionMetadata AddScopedCondition([Const] DOMString name,
[Const] DOMString fullname,
[Const] DOMString description,
+2
View File
@@ -1700,6 +1700,7 @@ export class ObjectMetadata extends EmscriptenObject {
getHelpPath(): string;
getCategory(): string;
getAssetStoreTag(): string;
setHelpPath(helpPath: string): ObjectMetadata;
setCategory(categoryFullName: string): ObjectMetadata;
setAssetStoreTag(assetStoreTag: string): ObjectMetadata;
addInGameEditorResource(): InGameEditorResourceMetadata;
@@ -1770,6 +1771,7 @@ export class BehaviorMetadata extends EmscriptenObject {
getGroup(): string;
getIconFilename(): string;
getHelpPath(): string;
setHelpPath(helpPath: string): BehaviorMetadata;
addScopedCondition(name: string, fullname: string, description: string, sentence: string, group: string, icon: string, smallicon: string): InstructionMetadata;
addScopedAction(name: string, fullname: string, description: string, sentence: string, group: string, icon: string, smallicon: string): InstructionMetadata;
addCondition(name: string, fullname: string, description: string, sentence: string, group: string, icon: string, smallicon: string): InstructionMetadata;
+1
View File
@@ -7,6 +7,7 @@ declare class gdBehaviorMetadata {
getGroup(): string;
getIconFilename(): string;
getHelpPath(): string;
setHelpPath(helpPath: string): gdBehaviorMetadata;
addScopedCondition(name: string, fullname: string, description: string, sentence: string, group: string, icon: string, smallicon: string): gdInstructionMetadata;
addScopedAction(name: string, fullname: string, description: string, sentence: string, group: string, icon: string, smallicon: string): gdInstructionMetadata;
addCondition(name: string, fullname: string, description: string, sentence: string, group: string, icon: string, smallicon: string): gdInstructionMetadata;
+1
View File
@@ -7,6 +7,7 @@ declare class gdObjectMetadata {
getHelpPath(): string;
getCategory(): string;
getAssetStoreTag(): string;
setHelpPath(helpPath: string): gdObjectMetadata;
setCategory(categoryFullName: string): gdObjectMetadata;
setAssetStoreTag(assetStoreTag: string): gdObjectMetadata;
addInGameEditorResource(): gdInGameEditorResourceMetadata;