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,252 points Ranked 20365th
    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
    帖子链接:
  • TheBaldiModder452 avatar
    TheBaldiModder452 username pic Joined 6mo ago
    T^T
    720 points Ranked 42821st
    TheBaldiModder452 avatar
    TheBaldiModder452
    Johnster Space Studio Flag
    关联
    Johnster Space Studio
    access_time 26d
    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
    帖子链接:

Embed

menu
分享横幅
图片 URL
HTML 嵌入代码
BB Code 嵌入代码
Markdown 嵌入代码

Asker

BadRum55 avatar
BadRum55 Joined 6mo ago
Offline
406 points Ranked 46985th
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
  • 227
  • 4
  • 1mo

WiPs by Submitter

menu

More Decompile Help Questions