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