public override void InitTile( MidiTile data, float scale, float musictime, float delaytime, float startpresstime ) { base.InitTile(data, scale, musictime, delaytime, startpresstime); RenderModel = this.GetComponent <MorphCurve>(); m_SelfMaterial = this.GetComponent <MeshRenderer>().material; RenderModel.SetLength(m_Height); RenderModel.SetWidth(0.2f); RenderModel.SetDepth(scale); m_EnablePressed = false; m_PressedHeight = 0; m_PressedTime = 0.0f; if (m_PressParticle != null) { m_PressParticle.SetActive(false); } }