How to get all object instance & variable in Editor API ?

Not favoritedFavorited Favorited 0 favourites
  • 3 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • Hello I tried to make some debuging tools for my project and I found some problem with Addon SDK Editor API V2

    How do you get all object instance with Editor API ? my current solution is to just loop number and use

    this.GetProject().GetInstanceByUID(uid)
    

    until it break, is there any other way to this ?

    And is it possible to get Instance Variable of the object ? I look up in the documentation and can't find in Editor API

    Thanks

    Tagged:

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Getting all instances in the editor isn't currently supported. Nothing else needs it, and it's not clear for what purpose you'd need it in the editor. You can however access all instances at runtime.

  • Getting all instances in the editor isn't currently supported. Nothing else needs it, and it's not clear for what purpose you'd need it in the editor. You can however access all instances at runtime.

    Oh I see so there are no function for it, it's just my weird debuging idea I want to make a connecting line for each sprite that have specific "instance variable" so I can edit easily in editor

    I'll try to make this in runtime then

Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)