public SensorCellsComponent(SerializationInfo info, StreamingContext context) { WatchTargets = info.GetValue(nameof(WatchTargets), WatchTargets); MaxHearDistance = info.GetValue(nameof(MaxHearDistance), MaxHearDistance); MaxVisionDistance = info.GetValue(nameof(MaxVisionDistance), MaxVisionDistance); MaxTurnsNpcVisible = info.GetValue(nameof(MaxTurnsNpcVisible), MaxTurnsNpcVisible); Cells = info.GetValue(nameof(Cells), Cells); }
private static void UpdateList(ref BufferedList list) { list.Update(); }
public void HandleGlobal(BufferedList <SetLocalTransformPosition> arg) { arg.Run(_setLocalMoveDel); }
public void HandleGlobal(BufferedList <SetLocalTransformRotation> arg) { arg.Run(_setLocalRotDel); }
public void HandleGlobal(BufferedList <MoveTransform> arg) { arg.Run(_moveDel); }
public void HandleGlobal(BufferedList <SetLocalTransformRotation> arg) { arg.Run(RunUpdate); }
public void HandleGlobal(BufferedList <SetTransformPosition> arg) { arg.Run(RunUpdate); }
public void HandleGlobal(BufferedList <MoveTransform> arg) { arg.Run(RunUpdate); }
public void OnSystemUpdate(float dt, float unscaledDt) { BufferedList.UpdateAllLists(); }