Esempio n. 1
0
        void IPoolableRecycle.OnRecycle()
        {
            this.result = default;
            PoolArray <UnityEngine.Vector3> .Recycle(ref this.path);

            PoolArray <ME.ECS.Pathfinding.Node> .Recycle(ref this.nodes);
        }
Esempio n. 2
0
        public void CopyFrom(IComponentCopyable other)
        {
            var _other = (Path)other;

            this.result = _other.result;
            ArrayUtils.Copy(in _other.path, ref this.path);
            ArrayUtils.Copy(in _other.nodes, ref this.nodes);
        }