void IComponentCopyable.CopyFrom(IComponentCopyable other) { var otherView = (CreateViewComponentRequest <TState>)other; this.viewInfo = otherView.viewInfo; this.seed = otherView.seed; }
void IComponentCopyable.CopyFrom(IComponentCopyable other) { var otherView = (DestroyViewComponentRequest <TState>)other; this.viewInfo = otherView.viewInfo; this.viewInstance = otherView.viewInstance; }
void IComponentCopyable.CopyFrom(IComponentCopyable other) { var otherView = (ViewComponent)other; this.viewInfo = otherView.viewInfo; this.seed = otherView.seed; }
public void CopyFrom(IComponentCopyable other) { var _other = (PathfindingInstance)other; if (this.pathfinding == null && _other.pathfinding == null) { return; } if (this.pathfinding == null && _other.pathfinding != null) { this.pathfinding = (_other.pathfinding.clonePathfinding == true ? _other.pathfinding.Clone() : _other.pathfinding); } else { if (_other.pathfinding.clonePathfinding == true) { this.pathfinding.CopyFrom(_other.pathfinding); } else { this.pathfinding = _other.pathfinding; } } }
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); }