Skip to content

Commit

Permalink
Cleaned up code
Browse files Browse the repository at this point in the history
  • Loading branch information
RoryDungan committed Mar 12, 2018
1 parent 6dbfbda commit c93d85d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
10 changes: 5 additions & 5 deletions TaskManager.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
Expand Down Expand Up @@ -97,10 +97,10 @@ public class TaskManager : ITaskManager
/// <summary>
/// Objects that need to be updated.
/// </summary>
private List<IUpdatable> updatables = new List<IUpdatable>();
private List<ILateUpdatable> lateUpdatables = new List<ILateUpdatable>();
private List<IEndOfFrameUpdatable> endOfFrameUpdatables = new List<IEndOfFrameUpdatable>();
private List<IRenderable> renderables = new List<IRenderable>();
private readonly List<IUpdatable> updatables = new List<IUpdatable>();
private readonly List<ILateUpdatable> lateUpdatables = new List<ILateUpdatable>();
private readonly List<IEndOfFrameUpdatable> endOfFrameUpdatables = new List<IEndOfFrameUpdatable>();
private readonly List<IRenderable> renderables = new List<IRenderable>();

/// <summary>
/// Register an updatable object.
Expand Down
4 changes: 1 addition & 3 deletions UnitySingletonAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using RSG.Utils;
using RSG.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;

namespace RSG
Expand Down

0 comments on commit c93d85d

Please sign in to comment.