// Use this for initialization
		void Start ()
		{
				other = (OtherScope)GameObject.FindObjectOfType (typeof(OtherScope));
				Debug.Log (other.gameObject.name);
		}
Beispiel #2
0
 private void Start()
 {
     SomeBool = true;
     other    = (OtherScope)GameObject.FindObjectOfType(typeof(OtherScope));
     Debug.Log(other.gameObject.name);
 }
Beispiel #3
0
	// Use this for initialization
	void Start () {
		other = (OtherScope)GameObject.FindObjectOfType (typeof(OtherScope));
		//print (other.name);

	}
 // Use this for initialization
 void Start()
 {
     other = (OtherScope)GameObject.FindObjectOfType(typeof(OtherScope));
     Debug.Log(other.gameObject.name);
 }