예제 #1
0
        public void Create(GameObject target, IPositionUpdaterComponent updater)
        {
            var listEngine = target.AddComponent <ListEngineSetup>();

            listEngine.NearRadius = NearRadius;
            listEngine.FarRadius  = FarRadius;
            listEngine.Updater    = updater;
        }
예제 #2
0
        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;
        }
예제 #3
0
        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;
        }