mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-09 20:18:23 +03:00
Add note comment
This commit is contained in:
parent
3a5225458d
commit
8fca1cc905
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ namespace TEN::Scripting::DisplaySprite
|
|||
{
|
||||
void ScriptDisplaySprite::Register(sol::state& state, sol::table& parent)
|
||||
{
|
||||
// NOTE: Single constructor with a sol::optional argument for the color doesn't work, hence the two constructors. -- Sezz 2023.10.19
|
||||
using ctors = sol::constructors<
|
||||
ScriptDisplaySprite(GAME_OBJECT_ID, int, const Vec2&, float, const Vec2&, const ScriptColor&),
|
||||
ScriptDisplaySprite(GAME_OBJECT_ID, int, const Vec2&, float, const Vec2&)>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue