예제 #1
0
        private void Awake()
        {
#if !UNITY_EDITOR
            Destroy(this);
#endif
            manualHandControl = GetComponent <ManualHandControl>();
            for (uint i = 0; i < editorHandsData.Length; i++)
            {
                editorHandsData[i] = new EditorHandData(i);
            }
        }
 private void Awake()
 {
     #if !UNITY_EDITOR
     Destroy(this);
     #endif
     manualHandControl = GetComponent<ManualHandControl>();
     for (uint i = 0; i < editorHandsData.Length; i++)
     {
         editorHandsData[i] = new EditorHandData(this, i);
     }
 }