Пример #1
0
 public void InsertNoteGeo()
 {
     if (NoteGeo)
     {
         GameObject.Destroy(NoteGeo);
     }
     PRoll_NoteDrawer.InsertNoteGeo(this);
 }
Пример #2
0
        public void OnNavigationCompleted(Vector3 relativePosition)
        {
            if (!active && !locked)
            {
                InjectNote(PRoll_NoteDrawer.EndNoteDraw());
            }

            //DebugCube.transform.localScale = new Vector3(.02f, .02f, .02f);
        }
Пример #3
0
        public void OnNavigationUpdated(Vector3 relativePosition)
        {
            if (!active && !locked)
            {
                PRoll_NoteDrawer.DrawNote(relativePosition.x);
            }

            //DebugCube.transform.localRotation = Quaternion.Euler(new Vector3(0, relativePosition.x * 180f, 0));
        }
Пример #4
0
        public void OnNavigationStarted(Vector3 relativePosition)
        {
            if (!active && !locked)
            {
                PRoll_NoteDrawer.BeginNoteDraw(this);
            }

            //  DebugCube.transform.localScale = new Vector3(.055f, .055f, .055f);
        }
Пример #5
0
 public void OnTap()
 {
     if (!active && !locked)
     {
         PRoll_NoteDrawer.BeginNoteDraw(this);
         InjectNote(PRoll_NoteDrawer.EndNoteDraw());
     }
     else
     {
         NoteGeo.Delete();
     }
 }