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!

Question Answered but Unsolved

This Question has been answered but no solution has been chosen. You can still post your own answer to help the submitter.

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
    }
}




Sign up to access this!
  • RealT5mpler avatar
    RealT5mpler Joined 7mo ago
    Not on right ok
    2,274 points Ranked 20389th
    13 medals 2 rare
    • Returned 1000 times Medal icon
    • 25 posts awarded Exemplary Feedback 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
    access_time 1mo
    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
    T^T
    691 points Ranked 43046th
    TheBaldiModder452 avatar
    TheBaldiModder452
    Johnster Space Studio Flag
    Асочере
    Johnster Space Studio
    access_time 25d
    Try removing the spaces between the curly brackets, so it looks like this:
    public void DespawnCrafters()
        {
            this.crafters.SetActive(false);
        }

    B E N A H N I G H T E avatar
    Mantra
    B E N A H N I G H T E
    URL to post:

Embed

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

Asker

BadRum55 avatar
BadRum55 Joined 6mo ago
Offline
431 points Ranked 46980th
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
  • 0
  • 224
  • 4
  • 1mo

WiPs by Submitter

menu

More Decompile Help Questions