Example #1
0
 // Start is called before the first frame update
 void Start()
 {
     particles = GetComponent <ParticleSystem>();
     particles.Stop();
     dessinage = GameObject.FindObjectOfType <HDO_Dessinage>();
     dialogues = GameObject.FindObjectOfType <HDO_Dialogues>();
 }
Example #2
0
 // Start is called before the first frame update
 void Start()
 {
     dessinage = GameObject.FindObjectOfType <HDO_Dessinage>();
     //particles = GetComponent<ParticleSystem>();
     //particles.Stop();
     box = GetComponent <Collider>();
     rb  = GetComponent <Rigidbody>();
 }