don't work

Hi all! Unity 5

I have an animation what i want to start with c#, maybe with button onclick, but when i try to use the don’t working cauise i get error… sample: (“anything”); error: Parser Error: unexpected symbol ') in class, struct, or interface member declaration

Any solution? please help me :slight_smile:

error code CS1519 , Here is a sample code:

using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEditor;

public class OnClick : MonoBehaviour { ("player_buttons");

   //in this section i get the Parser error

public void animation() { ("player_buttons");

   //in this .play is red in mono de and write "?"


player_butons is the name of the animation