Example #1
0
    private void Click(PositionInfo position)
    {
        EditorGUIUtility.PingObject(Tokens[position]);
        Selection.activeGameObject = Tokens[position];

        Debug.LogFormat("Supposed position: {0}, actual position: {1}",
                        position.Coordinates(Level.Current.Builder.FieldOrigin), Tokens[position].transform.position);
    }