Performance is better, but score is lower (<1%)
This commit is contained in:
parent
49f5011823
commit
3538b7dcc0
4
Thing.cs
4
Thing.cs
@ -1,3 +1,4 @@
|
|||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Passer.LinearAlgebra;
|
using Passer.LinearAlgebra;
|
||||||
|
|
||||||
@ -192,7 +193,8 @@ namespace Passer.Control.Core {
|
|||||||
public static event ThingHandler OnNewThing;
|
public static event ThingHandler OnNewThing;
|
||||||
|
|
||||||
public static void Add(Thing thing, bool invokeEvent = true) {
|
public static void Add(Thing thing, bool invokeEvent = true) {
|
||||||
UnityEngine.Debug.Log("added thing");
|
//UnityEngine.Debug.Log("added thing");
|
||||||
|
Console.WriteLine("added thing");
|
||||||
Thing foundThing = Get(thing.networkId, thing.id);
|
Thing foundThing = Get(thing.networkId, thing.id);
|
||||||
|
|
||||||
if (foundThing == null) {
|
if (foundThing == null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user