mirror of
https://github.com/4ian/GDevelop.git
synced 2026-10-12 02:01:17 +00:00
Add missing help page links for 3D box, 3D model, text input and light obstacle (#8677)
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -31,6 +31,7 @@ module.exports = {
|
||||
)
|
||||
.setDimension('2D')
|
||||
.setCategory('Visual effect')
|
||||
.setExtensionHelpPath('/objects/light')
|
||||
.setTags('light');
|
||||
|
||||
const lightObstacleBehavior = new gd.BehaviorJsImplementation();
|
||||
|
||||
@@ -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'))
|
||||
|
||||
@@ -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,
|
||||
|
||||
Vendored
+2
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user