using UnityEngine and System.Collections
I understand this is importing libraries or resources but what else needs to be imported and in what conditions or cases do I have to make those calls?
From what I read, MonoBehaviour is the main class from which we subclass or extand but again I could not find in the doc when and in what conditions do one needs to call that class and what is inside
Where can I find the doc on WWWForm?
Actually it’s not, it’s just importing those namespaces. It doesn’t load anything, and you don’t need to do that at all, it just makes typing stuff easier.
using UnityEngine;
using System.Collections;
public class NewBehaviourScript : MonoBehaviour {
void Start () {
transform.Translate(Vector3.up);
ArrayList foo = new ArrayList();
}
}
vs.
public class NewBehaviourScript : UnityEngine.MonoBehaviour {
void Start () {
transform.Translate(UnityEngine.Vector3.up);
System.Collections.ArrayList foo = new System.Collections.ArrayList();
}
}
The scripting docs have a search box…type “WWWForm” in it.
–Eric
Thanks for the link
This led me to consider that it does not seem to consider that it is not possible to activate web services like skype from inside a Unity session?
Reading the WWWForm and the www class I could not find if at least a call to a url could result in an external web page but the initiation of the call would be made from inside the session?
Is version 3 will expand the properties of the WWWForm or www class toward such a function?
Regarding calling spaces name it is strange but ok why not?
Thanks for your help
yves