{"_id":"59496a7023fd3d001a2b9765","project":"571fa55ca0acd42000af9545","version":{"_id":"594949e52be16d0026ec04cd","project":"571fa55ca0acd42000af9545","__v":2,"createdAt":"2017-06-20T16:14:29.816Z","releaseDate":"2017-06-20T16:14:29.816Z","categories":["594949e62be16d0026ec04ce","594949e62be16d0026ec04cf","594949e62be16d0026ec04d0","594949e62be16d0026ec04d1","594949e62be16d0026ec04d2","594949e62be16d0026ec04d3","594949e62be16d0026ec04d4","594949e62be16d0026ec04d5","594949e62be16d0026ec04d6","594949e62be16d0026ec04d7","594949e62be16d0026ec04d8","594949e62be16d0026ec04d9","594949e62be16d0026ec04da","594949e62be16d0026ec04db","594949e62be16d0026ec04dc","594949e62be16d0026ec04dd","594949e62be16d0026ec04de","594949e62be16d0026ec04df","594949e62be16d0026ec04e0","594949e62be16d0026ec04e1","59497219f4a8980024dd0631"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Kunekune","version_clean":"3.2.0","version":"3.2.0"},"category":{"_id":"594949e62be16d0026ec04dc","version":"594949e52be16d0026ec04cd","project":"571fa55ca0acd42000af9545","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2017-01-01T19:32:06.235Z","from_sync":false,"order":14,"slug":"base-sdk","title":"Base SDK"},"user":"571fa519db52d01700f5cf3d","__v":0,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-06-20T18:33:20.379Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":3,"body":"> extends Attribute, ISerializationCallbackReceiver\n\n## Overview\n\nSpecifies a method to be used as a predicate to allow VRTK_SDKManager to automatically add and remove scripting define symbols. Only allowed on static methods that take no arguments and return bool.\n\n## Class Variables\n\n * `public const string RemovableSymbolPrefix` - The prefix of scripting define symbols that must be used to be able to automatically remove the symbols. Default: `\"VRTK_DEFINE_\"`\n * `public string symbol` - The scripting define symbol to conditionally add or remove.\n * `public BuildTargetGroup buildTargetGroup` - The build target group to use when conditionally adding or removing  .\n\n## Class Methods\n\n### SDK_ScriptingDefineSymbolPredicateAttribute/2\n\n  > `public SDK_ScriptingDefineSymbolPredicateAttribute(string symbol, string buildTargetGroupName)`\n\n  * Parameters\n   * `string symbol` - The scripting define symbol to conditionally add or remove. Needs to start with  to be able to automatically remove the symbol.  and  aren't allowed.\n   * `string buildTargetGroupName` - The name of a constant of . ,  and  aren't allowed.\n  * Returns\n   * _none_\n\nCreates a new attribute.\n\n### SDK_ScriptingDefineSymbolPredicateAttribute/1\n\n  > `public SDK_ScriptingDefineSymbolPredicateAttribute(SDK_ScriptingDefineSymbolPredicateAttribute attributeToCopy)`\n\n  * Parameters\n   * `SDK_ScriptingDefineSymbolPredicateAttribute attributeToCopy` - The attribute to copy.\n  * Returns\n   * _none_\n\nCreates a new attribute by copying an existing one.","excerpt":"","slug":"sdk_scriptingdefinesymbolpredicateattribute","type":"basic","title":"SDK_ScriptingDefineSymbolPredicateAttribute"}

SDK_ScriptingDefineSymbolPredicateAttribute


> extends Attribute, ISerializationCallbackReceiver ## Overview Specifies a method to be used as a predicate to allow VRTK_SDKManager to automatically add and remove scripting define symbols. Only allowed on static methods that take no arguments and return bool. ## Class Variables * `public const string RemovableSymbolPrefix` - The prefix of scripting define symbols that must be used to be able to automatically remove the symbols. Default: `"VRTK_DEFINE_"` * `public string symbol` - The scripting define symbol to conditionally add or remove. * `public BuildTargetGroup buildTargetGroup` - The build target group to use when conditionally adding or removing . ## Class Methods ### SDK_ScriptingDefineSymbolPredicateAttribute/2 > `public SDK_ScriptingDefineSymbolPredicateAttribute(string symbol, string buildTargetGroupName)` * Parameters * `string symbol` - The scripting define symbol to conditionally add or remove. Needs to start with to be able to automatically remove the symbol. and aren't allowed. * `string buildTargetGroupName` - The name of a constant of . , and aren't allowed. * Returns * _none_ Creates a new attribute. ### SDK_ScriptingDefineSymbolPredicateAttribute/1 > `public SDK_ScriptingDefineSymbolPredicateAttribute(SDK_ScriptingDefineSymbolPredicateAttribute attributeToCopy)` * Parameters * `SDK_ScriptingDefineSymbolPredicateAttribute attributeToCopy` - The attribute to copy. * Returns * _none_ Creates a new attribute by copying an existing one.