Search Unity

Resolved Type Expected Error

Discussion in 'Unity Hub' started by DRAGON_GOD12, Feb 17, 2024.

  1. DRAGON_GOD12

    DRAGON_GOD12

    Joined:
    Feb 16, 2024
    Posts:
    2
    I am trying to recreate the first build of Eyes the Horror Game (0.9.2) and I'm making the code for the menu screen, but now I'm getting an error message that says, "Type Expected"

    Here's my code, please tell me a way to fix this!

    I am using Unity 4.0.1

    Code (CSharp):
    1. using UnityEngine;
    2. using System.Collections;
    3.  
    4. public class MainMenu : MonoBehaviour {
    5.  
    6.     // Use this for initialization
    7.     void Start () {
    8.  
    9.     }
    10.  
    11.     // Update is called once per frame
    12.     void Update () {
    13.  
    14.     }
    15. }
    16. public interface isPlay:
    17. public interface isQuit
    :
     
    Last edited: Feb 17, 2024