On my script it says Assets/Scripts/Scripts/GunShot.cs(16,1): error CS8025: Parsing error here is my script
1 using UnityEngine;
2 using System.Collections;
3
4 public class GunShot : MonoBehaviour {
5
6 //Use this for initialization
7 void Start () {
8 var gunsound = GetComponent.Audio Sources
9 gunsound.Play() ;
10
11 }
12
13 //Update is called once per frame
14 void Update () {
15 GetComponent.Animation>(Play("GunShot")
16
Somebody please help me out.
↧