Exemplo n.º 1
0
 void Start()
 {
     rp = !!GetComponent <RecordPosition> () ? GetComponent <RecordPosition> () : gameObject.AddComponent <RecordPosition> ();
 }
Exemplo n.º 2
0
 void Start()
 {
     rp = GetComponent <RecordPosition> ();
 }
Exemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     rp = this.gameObject.AddComponent <RecordPosition>();
     ps = this.gameObject.GetComponent <ParticleSystem>();
     fv = FindObjectOfType <FeaturesVisualizer>();
 }