Ejemplo n.º 1
0
 private void Awake()
 {
     if (instance == null)
     {
         instance = this;
     }
 }
Ejemplo n.º 2
0
	// Use this for initialization
	void Start () {
		_instance = this;
		inventory = new int[(int)Element.length];
	}
Ejemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     _instance = this;
     inventory = new int[(int)Element.length];
 }