public void Create(GameObject target, IPositionUpdaterComponent updater) { var listEngine = target.AddComponent <ListEngineSetup>(); listEngine.NearRadius = NearRadius; listEngine.FarRadius = FarRadius; listEngine.Updater = updater; }
public void Create(GameObject target, IPositionUpdaterComponent updater) { var engine = target.AddComponent <NodeEngineSetup>(); engine.NearRadius = NearRadius; engine.FarRadius = FarRadius; engine.NodeSize = NodeSize; engine.UseMultithreading = UseMultithreading; engine.Updater = updater; }
public void Create(GameObject target, IPositionUpdaterComponent updater) { var engine = target.AddComponent <OctreeEngineSetup>(); engine.NearRadius = NearRadius; engine.FarRadius = FarRadius; engine.WorldNodeSize = MinimumNodeSize; engine.WorldStartSize = StartWorldSize; engine.Updater = updater; }