public static VMDAnimationMgr Install(GameObject container) { if (_instance == null) { _instance = container.AddComponent <VMDAnimationMgr>(); } return(_instance); }
private void Start() { GameObject val = new GameObject("COM3D2VMDPlayPlugin"); Object.DontDestroyOnLoad(val); VMDAnimationMgr.Install(val); DebugHelper.Install(val); }