Пример #1
0
 // Use this for initialization
 void Start()
 {
     current = this.gameObject;
     snap    = current.GetComponent <ObjectSnapScript> ();
 }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     current = this.gameObject;
     snap = current.GetComponent<ObjectSnapScript> ();
 }