コード例 #1
0
ファイル: Cube.cs プロジェクト: AurelienGttn/Test-Dev
 private void OnMouseDown()
 {
     // Make sure the panel isn't active
     if (!EventSystem.current.IsPointerOverGameObject())
     {
         // Check if this is the right cube
         cubeManager.CheckCube(CubeManager.chosenOne == this);
     }
 }