using System.Collections; using System.Collections.Generic; using UnityEngine; public class ApplicationMain : MonoBehaviour { // Start is called before the first frame update void Start() { InputManager.Instance.Init(); PhysicsWorld.Instance.Init(); } // Update is called once per frame void Update() { InputManager.Instance.Update(); AvatarManager.Instance.OnUpdate(); } private void LateUpdate() { PhysicsWorld.Instance.Update(); AvatarManager.Instance.OnLateUpdate(); } private void OnDrawGizmos() { PhysicsWorld.Instance.DrawGizmos(); } }