public LAppModel(ModelProxy p) { if (isInitialized()) { return; } parent = p; if (parent.GetComponent <AudioSource>() != null) { asVoice = parent.gameObject.GetComponent <AudioSource>(); asVoice.playOnAwake = false; } else { if (LAppDefine.DEBUG_LOG) { Debug.Log("Live2D : AudioSource Component is NULL !"); } } bounds = parent.GetComponent <MeshFilter>().sharedMesh.bounds; view = new LAppView(this, parent.transform, GameManager.Instance.Camera); view.StartAccel(); //if (LAppDefine.DEBUG_LOG) mainMotionManager.setMotionDebugMode(true); }