You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is prone to causing runtime issues, for example if phantom camera changed the is_active method to active this would still compile but cause runtime issues.
(Optional) Proposed Solution
Better terrain could ship a C# wrapper that would prevent the above from happening.
Project Type
2D, 3D
Feature Description
It would be nice if phantom camera included a C# wrapper to ease use with C#.
Use Cases
Currently to call phantom camera methods in C# you have to do something like this:
This is prone to causing runtime issues, for example if phantom camera changed the
is_active
method toactive
this would still compile but cause runtime issues.(Optional) Proposed Solution
Better terrain could ship a C# wrapper that would prevent the above from happening.
One such example:
https://github.com/Portponky/better-terrain/blob/main/addons/better-terrain/BetterTerrain.cs
The above example could then be changed to:
Upon such an update where
is_active
is changed toactive
this would then cause a compile error, this also integrates better with IDE.The text was updated successfully, but these errors were encountered: