optimizing network stuff
This commit is contained in:
@@ -21,7 +21,7 @@ namespace RebootKit.Editor.Background {
|
||||
EditorUtility.InstanceIDToObject(createEvent.instanceId) as GameObject;
|
||||
|
||||
if (gameObjectChanged != null && gameObjectChanged.TryGetComponent(out Actor actor)) {
|
||||
actor.ActorID = UniqueID.NewULongFromGuid();
|
||||
actor.ActorStaticID = UniqueID.NewULongFromGuid();
|
||||
EditorUtility.SetDirty(actor);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user