Guys, I was programming my enemy's damage, when suddenly I got the following error:
Assets\Scripts\LocalDano.cs(24,9): error CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
I don't know what else to do, if anyone can help me I will be grateful. here is my code:
ERROR: CS0201 Only assignment, call, increment, decrement, await, and new object expressions can be
Assets\Scripts\LocalDano.cs(24,9): error CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
I don't know what else to do, if anyone can help me I will be grateful. here is my code:
Code (CSharp):
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.SceneManagement;
- public class LocalDano :...