C# protection level problem
Hello everyone , I'm reading Unity 4.x Game Development by Example Beginner Guide and trying to make sample projects which are in this book. In this book , a lot of code is wrotten in JavaScript. So i...
View ArticlePublic void method is inaccessible due to its protection level
I am trying to access a method from another script, but I am getting the protection level error. Even though I made the method Public. This is the method I want to access: public void Shoot() { timer =...
View ArticleHow to create a write-protected file from a c# script?
I try to save the Data of the player in some files using System.IO.File.WriteAllText. Is there any way to avoid players from changing their data by hand? Nobody should be able to get as much Gold as he...
View ArticleCheat Engine Detection?
Hello Im here trying to protect my game from cheats! As we all know the worlds most used memory editing software is cheat engine So what i want to know is do we have the ability to detect cheat engine?...
View ArticleUnity 5.6.1 Causes Error When Using System.Lazy
I recently tried updating Unity to version 5.6.1 from version 5.6.0. After updating, I opened a project which I had been working on and was error-free with the previous version. I got an error in the...
View ArticleUI elements not accessible due to protection level
I've been struggling with this error for a few days now and can't find a way out ... I've searched on the forum and found that this error should be caused by the property being private but in my case i...
View ArticleAnti-Hacking
I am making a game where I want items to be bought in an online store and added to account. I do not want my players to be able to hack my game and give themselves free items all in the client. (I...
View ArticleUI elements not accessible due to protection level
I've been struggling with this error for a few days now and can't find a way out ... I've searched on the forum and found that this error should be caused by the property being private but in my case i...
View ArticleUnity error "is inaccessible due to its protection level"
I totally understand that I need to instantiate prefabs before using and so on, however, I am now getting such an "inaccessible" error with a Class of the C# collection. I try to use a ConcurrentQueue...
View Articlea script to prevent lucky patcher from hacking my app
is there anybody have a unity script i can put it in my app to trace lucky patcher packages on android device and when the script find it close my app immediatly to avoid being hacked by lucky patcher...
View Articlecant access variable due to its protection
i have to scripts one with the variable and one trying to access it i cant access it even though it is public here are the two scripts the variable is called buildingActive using System.Collections;...
View ArticleProblème de protection du niveau ?
Bonjour, J'ai un problème quand je veux lancer mon jeu ça me marque : *Assets/FlammeScript.cs(16,97): error CS0122: `NewBehaviourScript.remainingfuel' is inaccessible due to its protection level S'il...
View Article...FirstPersonController.m_WalkSpeed is inaccessible due to its protection level
I can't access my FirstPersonController variables despite making them public, here is the full error : Assets/Script/script.cs(15,67): error CS0122:...
View Articlepassword protection for audio
can we make a audio file with password lock . and user can only play this audio file dont copy and share without password
View ArticleIs there a way to protect scripts/folders for asset developers?
Hi all, My team and I are currently working on a code-heavy tool that we plan to release in a couple months, but as I understand it, anyone who purchases the asset gains open access to all of the code...
View ArticleUIManager.gameRulesOne cannot be used as a method or delegate/ is...
I had this code working a couple of days ago, but then I moved stuff around and visual studio doesn't like it anymore. Both of these scripts are attached to my main camera object. Here is where I'm...
View ArticleGetting tons of compiler errors when I try to open a project,Getting all...
I am using Unity 2018.2.10f1 (it's for a class and that's the version my professor wants us to use). I am trying to import the 2D Game Kit to go through that tutorial, as that is our first assignment....
View ArticleBlacklisting accounts and devices that download from third party source.
I'm in the midst of implementing multiplayer in my rpg game and for the most part it will be real time pvp based matches along with chat , what I want to accomplish is barring the ones who mess with...
View ArticleHow i can protect my IAP for Google Play ?
How i can protect my IAP for Google Play from hack(Freedom,Lucky patcher)?
View Article