Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

GameControllerScript Bug (again)

A Question for Baldi's Basics in Education and Learning

No ads for members. Membership is 100% free. Sign up!

How to fix that?

GameControllerScript.cs(527,5): error CS0106: The modifier 'public' is not valid for this item

 (I know I have to much questions)

Script: 

(with problem)

// Token: 0x06000097 RID: 151 RVA: 0x00005459 File Offset: 0x00003859
    public void DespawnCrafters()
    {

        this.crafters.SetActive(false); //Make Arts And Crafters Inactive
    }
}




Answers

Sign up to access this!
  • RealT5mpler avatar
    RealT5mpler Joined 6mo ago
    Not on right ok
    1,696 points Ranked 21309th
    12 medals 1 rare
    • Returned 1000 times Medal icon
    • One month a member Medal icon
    • Returned 100 times Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • 5 posts awarded Exemplary Feedback Medal icon
    • 10 posts awarded Exemplary Feedback Medal icon
    access_time 12d
    Try removing the public modifier
    Never Give up on what you want avatar
    Mantra
    Never Give up on what you want
    URL to post:
  • TheBaldiModder452 avatar
    TheBaldiModder452 username pic Joined 6mo ago
    Offline
    508 points Ranked 45996th
    TheBaldiModder452 avatar
    TheBaldiModder452
    Johnster Space Studio Flag
    Affiliation
    Johnster Space Studio
    access_time 4d
    Try removing the spaces between the curly brackets, so it looks like this:
    public void DespawnCrafters()
        {
            this.crafters.SetActive(false);
        }

    Got a mod idea? I'll make it! avatar
    Mantra
    Got a mod idea? I'll make it!
    URL to post:

Embed

menu
Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Asker

BadRum55 avatar
BadRum55 Joined 5mo ago
Offline
357 points Ranked 48886th
BadRum55
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • favorite 0
  • remove_red_eye 170
  • mode_comment 4
  • access_time 13d

WiPs by Submitter

menu

More Decompile Help Questions