Skip to content

Ator9/Unity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Unity

Repositorio con información general, tips y tutoriales.

Shortcuts

  • SHIFT + Space = Fullscreen

Linux execute game

chmod +x nameOfGame.x86
./nameOfGame.x86 -batchmode

Build Exclusion 1 (Code included in final build)

[Conditional("UNITY_STANDALONE_LINUX"), Conditional("UNITY_EDITOR")]
public void ServerFunction()
{
    print("im server");
}

Build Exclusion 2 (Code excluded in final build)

#if UNITY_STANDALONE_LINUX || UNITY_EDITOR
    Debug.Log("server");
    ServerFunction();
#endif

#if UNITY_STANDALONE_LINUX || UNITY_EDITOR
    public void ServerFunction()
    {
        print("im server");
    }
#endif

Build Exclusion 3 (Code excluded in final build)

ServerFunction();
public void ServerFunction()
{
    #if UNITY_STANDALONE_LINUX || UNITY_EDITOR
    print("im server");
    #endif
}

Server check if

if (SystemInfo.deviceName == "domain.server.com")
{
    AutoClickServer(); // 1 host
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages