Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
0
Members

Behaviour Component not showing current Classes

A topic by Sanglorian created Aug 23, 2016 Views: 201
Viewing posts 1 to 1

Hi folks,

I'm a total beginner here, so it's possible I'm missing something obvious.

I have a Script which includes

class Carrot2Behavior extends Sup.Behavior {};Sup.registerBehavior(Carrot2Behavior);

I have a Scene, with an Actor, and I'm trying to set a Behaviour for that Actor.

The Behaviour component only shows class ScriptBehavior, which was auto-generated when I created the Script, but was deleted to make way for Carrot2Behavior.

I've tried deleting the Scene and re-creating it, and it still doesn't show the current Behavior classes.

Thanks for your help.