Пример #1
0
    public void MovementClicked()
    {
        TurnEverythingFalse();
        CheckDropZone();
        GameObject        Player         = GameObject.Find(map.selecterPlayer);
        PlayableCharacter player         = Player.GetComponent <PlayableCharacter> ();
        GameObject        HighlightTiles = GameObject.Find("_Scripts");
        HighlightTiles    highlightTiles = HighlightTiles.GetComponent <HighlightTiles> ();

        highlightTiles.HideAllAllowedTiles();
        moveSelected = true;
        highlightTiles.ShowAllowedTilesMovement();
        player.PlayerClass.AttackableTiles = 0;
    }