Can't use a Component in a compiled DLL in a non-compiled script ?

Due to human (non-bot) spam the first contribution of a user has to be reviewed and activated manually, all further contributions do not require this.
As long as a user does not have at least one reviewed and activated contribution, the user is unable to edit his profile, set a avatar, title picture or a signature.
  • Hi,
    I made a new WorldObjectComponent in C# like this :

    I tried to put this .cs file (non-compiled) in Mods folder.. and it works fine. I can use my component in the Streetlamp.cs for exemple by adding :

    C#
    [RequireComponent(typeof(MyComponent))]

    But now, i want to compile my component in a DLL... and when i put this DLL in Mods folder... Streetlamp.cs return an error saying "MyComponent" is unknown...

    If i use MyComponent in another Object i compiled in a DLL (my FloorLamp for exemple) it works fine !...

    My question is : Is there a way to make it working ?

    Einmal editiert, zuletzt von GeeknessFr (26. März 2018 um 23:43)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!