• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

Define

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

Captain_Pineapple answered

Which of these two methods is better practice? Defining Variable Inside vs Outside a Method

Mar 1, '22 optimization·profiling·best practices·define·readable

1 Reply

0 Votes

avatar image

Mr-Citizen published

How to use IronPython

Feb 27, '22 int·share·define

2 Replies

2 Votes

avatar image

ruudvangaal commented

Remove UNITY_EDITOR define even for in-Editor builds?

Sep 29, '21 build·unityeditor·standalone·define

2 Replies

1 Votes

avatar image

Bonfire-Boy edited

Platform #define directives' can't work

Sep 14, '21 mobile·unityeditor·define

1 Reply

0 Votes

avatar image

j8167oul edited

#if ENABLE_WINMD_SUPPORT does not pass.

Jul 20, '21 windows·universal·define

0 Replies

0 Votes

avatar image

unity_T1WL1huamuCWSQ commented

How can I change Scripting Define Symbols before a command line batchMode executeMethod?

Jan 18, '21 build·compiling·batchmode·project settings·define

3 Replies

3 Votes

avatar image

PessimistVEVO published

GameObject "not defined" when I try to reference across scripts

Nov 2, '20 in Help Room

0 Replies

0 Votes

avatar image

Pangamini asked

How can I include DLLs only in server build?

Oct 25, '20 build·dll·define

0 Replies

0 Votes

avatar image

Krellumdaed asked

Editor seems be to ignoring the Player -> Scripting Define Symbols

Aug 7, '20 in Help Room

0 Replies

0 Votes

avatar image

roointan answered

DEVELOPMENT_BUILD define never set

Mar 28, '20 unity 4.6·build settings·development build·define

4 Replies

1 Votes

avatar image

tatoforever commented

Can i disable shader pass based on #define symbols?

Dec 4, '19 shader·pass·define

2 Replies

1 Votes

avatar image

SagiMiller asked

app with with multiple independent games

Nov 20, '19 c#·namespace·preprocessor·define

0 Replies

0 Votes

avatar image

menshikh edited

How to put comments in the smcs.rsp file for Unity?

Nov 11, '19 editor·command-line·define

4 Replies

4 Votes

avatar image

sacredgeometry commented

Is it possible in Unity 5 to set a script define, wait for a recompile and then create a build from script?

Aug 19, '19 editor·compiler·define

1 Reply

0 Votes

avatar image

MichaelKingsman edited

define value with range(minimum,maximum)

Aug 11, '19 in Help Room

1 Reply

0 Votes

avatar image

hyphenbash commented

How to get default script defines?

Jun 19, '19 editor-scripting·define

2 Replies

0 Votes

avatar image

Skepper answered

Platform Dependent Code - Best Practice

Jun 7, '19 controller·platform-support·define

2 Replies

0 Votes

avatar image

lewdoo answered

How to define arrays in shaders?

Jun 1, '19 in Help Room

1 Reply

0 Votes

avatar image

IgorAherne commented

MonoDevelop no longer getting global Unity defines

Jul 17, '18 monodevelop·unity4.3·define

1 Reply

1 Votes

avatar image

andersemil asked

Vuforia enabled scripting define

Jan 30, '18 scripting problem·array·vuforia·define

0 Replies

0 Votes

avatar image

Glurth commented

How to exclude code if a certain script is not present in the project.

Jan 18, '18 c#·preprocessor·define

2 Replies

1 Votes

avatar image

ZanLeO answered

Platform Dependent compilation - is there a #define for Facebook Gameroom?

Oct 31, '17 in Help Room

1 Reply

2 Votes

avatar image

kart_ranger edited

custom defines not reflected in Mono

Oct 18, '17 scripting problem·preprocessor·define·globalvariables

1 Reply

0 Votes

avatar image

ReadyPlayGames asked

What does "Pass platform caps keyword defines to compute shaders" mean?

Aug 22, '17 compute shader·define

0 Replies

0 Votes

avatar image

MrMonoxide commented

How do I define the SetCursor Script?

May 30, '17 c#·cursor·cursor-customization·define

1 Reply

0 Votes

avatar image

Ziplock9000 commented

Implementing an Item system - Defining Items

May 6, '17 class·inventory·weapon·item·define

1 Reply

0 Votes

avatar image

massivebacon commented

Variables set during OnPostProcessAllAssets inside containing class are reset by the time the DidReloadCallbacks callback is reached.

Dec 14, '16 in Help Room

1 Reply

0 Votes

avatar image

Thetrip published

Is the final look of a model,in-game work done in a modeling software or inside unity?

Jul 25, '16 shaders·graphics·textures·visual·define

2 Replies

0 Votes

avatar image

alexapavlovich commented

Define and use any object from a certain class

May 20, '16 in Help Room

1 Reply

0 Votes

avatar image

Q.win edited

Using #if UNITY_DEBUG in DLLs

Mar 4, '16 in Help Room

0 Replies

0 Votes

  • 1
  • 2
  • ›

Related Topics

c# preprocessor build editor gameobject array scripting problem dll comparetag shader debug list unityeditor development build item plugin monodevelop editor-scripting project settings foreach arrays assetdatabase mobile position symbols


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges