public static void Setup() { UnityInstance = GameObject.CreatePrimitive(PrimitiveType.Sphere).AddComponent <MonoBehaviour> (); UnityInstance.GetComponent <Renderer>().enabled = false; GameObject.DontDestroyOnLoad(UnityInstance.gameObject); AbilityInterfacer.Setup(); AgentController.Setup(); TeamManager.Setup(); ProjectileManager.Setup(); EffectManager.Setup(); BehaviourHelper.GlobalSetup(); PhysicsManager.Setup(); ClientManager.Setup(MainGameManager.MainNetworkHelper); InterfaceManager.Setup(); Application.targetFrameRate = 30; Time.fixedDeltaTime = BaseDeltaTime; Time.maximumDeltaTime = Time.fixedDeltaTime * 2; InputManager.Setup(); }