Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
A type of programming, often meant to be easier to learn than more "traditional" programming. Scripting is often used when performance is less important than ease of use. Examples of scripting languages are: Javascript, Lua, Perl, Python, and PHP. Scripting languages are often interpreted instead of compiled, and thus they can be executed directly without generating machine code.
1
vote
Accepted
How to Iterate thru game object and access scripts by name?
This sets GameObjects' visibility by name by activating/deactivating them:
using System.Collections.Generic;
using UnityEngine;
public class Utility : MonoBehaviour
{
static Dictionary<string, Ga …
2
votes
How to Iterate thru game object and access scripts by name?
This sets GameObjects' visibility by name by enabling/disabling their MeshRenderer:
static public class Utility
{
static public void SetVisible(string name, bool visibility = true)
{
G …