edmand46 / ragon-unity-sdk Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Only addlistener available for now
Make entity properties(type, id, isMine...) readonly and hiddable.
Actually, Room.CreateEntity method receives only IPayload data.
But in callback IRagonHandler.OnEntityCreated we need to know, which game entity data we're received, otherwise we can unpack received payload only to one specific data class.
Please, add support of some entity type id or something like this. :)
How to reproduce:
Next call of OnEntityCreate method has correct entityId and entityType.
Also possible that this is a server-side issue.
RagonBehaviour scripts can not work without RagonEntity, so it looks like a good idea to add RagonEntity automatically on object, when this object has some RagonBehaviour-deriven component.
What I suggest is to add an attribute:
[RequireComponent(typeof(RagonEntity))]
above RagonBehaviour class.
In one of RagonVector3 constructors, precision is set to 0.1f, which looks too high because of a huge data loss in case of default world size.
In another constructor of RagonVector3 precision is set to 0.01f, that looks more correct for a default value.
I think, these values should be same in all constructors. :)
MonoBehaviour Awake executes before RagonEntity initialization
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.