Comments (3)
Wtf
from sbox-issues.
Your use case is insane, but it does seem like a genuine bug
from sbox-issues.
[CustomEditor()]
looks to have a similar problem.
ClassC is derived from ClassB, derived from ClassA.
When hotloading it seems entirely random whether or not ClassC will use the ClassA inspector or the ClassB inspector.
custominspector.mp4
public class TestingComponent : Component
{
[Property] public ClassA ClassA = new();
[Property] public ClassB ClassB = new();
[Property] public ClassC ClassC = new();
}
public class ClassA {}
public class ClassB : ClassA {}
public class ClassC : ClassB {}
[CustomEditor( typeof( ClassA ) )]
public class ClassAProperty : ControlWidget
{
public ClassAProperty( SerializedProperty property ) : base( property )
{
Layout = Layout.Row();
Layout.Add( new FloatProperty( "A", this ) { HighlightColor = Theme.Red }, 1 );
}
}
[CustomEditor( typeof( ClassB ) )]
public class ClassBProperty : ControlWidget
{
public ClassBProperty( SerializedProperty property ) : base( property )
{
Layout = Layout.Row();
Layout.Add( new FloatProperty( "B", this ) { HighlightColor = Theme.Green }, 1 );
}
}
from sbox-issues.
Related Issues (20)
- Add .sbs/.sbsar support/integration. HOT 2
- Add a maximum bandwidth option.
- Allow developers to report their own "errors" and logs to the backend
- `MorphCollection.Set` restricted in [0,1] range
- Hide the error banner in games for players that do not belong to the organization
- Donβt include `Log.Error` in error percentage
- Disabling the Console on a per game basis
- [Platform] Per player data store. HOT 2
- Divs not updating after a Razor Panel update HOT 1
- [Scene Mesh] Ability to center the origin of a SceneMesh mesh
- no audio HOT 3
- [ShaderGraph] Add nodes for i.vTangentUWs.xyz & i.vTangentVWs.xyz
- Game will not boot in VR mode when running in proton HOT 1
- Servers show Host's friend's nicknames in server player list
- Hitboxes are acting as if they are double the size when using hitboxes from model HOT 1
- Get the sbox.game ident of a published asset in-game.
- Map doesn't show up when open a project pulled from GitHub HOT 1
- Web: Clicking a tag from the game view brings you to an incorrect url
- Web: Searching for a tag and then clearing it does not clear the tag query from the URL
- Include protected members in the API page.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sbox-issues.