I have this AngelScript class that I want to use a basis for various script-classes:
class ScriptActor{ void init(Actor @actor) { m_actor = actor; } Actor @m_actor;};
Actor is a reference type that I registered with AngelScript. However, when this init function is called I get an error that tells me that no copy operator is assigned for that data type.
I don't want to copy anything, just store a handle to the actor, so that I can use it later.
If I just access methods of Actor inside the script-function it works.
Any idea what I should do in this case?