Bug Issue: New attribute Type


Pages: 1

yoplalala

  • Subscriber - Stencyl Studio
  • *
June 22, 2021, 07:08:54 am
When I try to create a new attribute


Code: [Select]
<attribute-types>
<attribute-type
tag="haxeuiComponent"
typeHx="haxe.ui.core.Component"
displayName="HaxeUi Component"/>
</attribute-types>


I created an atrribute of the type "haxeuiComponent"
in the code
public var _component:Component;  appears

but I have the error
 Type not found : Component

because nowhere does "import haxe.ui.core.Component" appears


Justin

  • Master Stencyler
  • *
June 22, 2021, 07:21:16 am
Right, automatically importing the new attribute type doesn't happen yet. I haven't determined how that will be handled yet, so for now you'll need to add a manual import block when using the custom type.
« Last Edit: June 22, 2021, 07:21:31 am by Justin »


Pages: 1

Details

  • Reported
    June 22, 2021, 07:08:54 am
  • Updated
    June 22, 2021, 07:21:16 am

  • View Status
    Public
  • Type
    Bug
  • Status
    New
  • Priority
    Normal
  • Version
    (none)
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    (none)

Tags