Esempio n. 1
0
    private void Start()
    {
        gameChangeInformation = GameObject.FindGameObjectWithTag(GAMECHANGEINFORMATIONTAG).GetComponent <GameChangeInformation>();
        imageClueCanvas       = GameObject.FindGameObjectWithTag(IMAGECLUETAG);
        GameObject particleSystem = GameObject.Instantiate(ParticleSystemPrefab);

        ParticleSys = particleSystem.GetComponent <ParticleSystem>();
        particleSystem.transform.parent        = ParticleSystemAttachmentPoint;
        particleSystem.transform.localPosition = Vector3.zero;
        particleSystem.transform.localRotation = Quaternion.identity;
        am = FindObjectOfType <AudioManager>();

        Collider = GetComponent <MeshCollider>();

        _Outline         = gameObject.AddComponent <Outline>();
        _Outline.enabled = false;
        _Outline.color   = 1;
    }
Esempio n. 2
0
 // Start is called before the first frame update
 void Start()
 {
     gameChangeInformation = GameObject.FindWithTag(GAMECHANGEINFORMATIONTAG).GetComponent <GameChangeInformation>();
 }
 void Start()
 {
     _GameChangeInfo = GameObject.FindWithTag(GAMECHANGEINFORMATIONTAG).GetComponent <GameChangeInformation>();
     am = FindObjectOfType <AudioManager>();
 }
 void Start()
 {
     movement = new Vector3(movementAmount, 0, 0);
     gameChangeInformation = GameObject.FindGameObjectWithTag("GameChangeInformation").GetComponent <GameChangeInformation>();
 }
 private void Start()
 {
     disableAllDances();
     inputArray            = new int[6];
     gameChangeInformation = GameObject.FindGameObjectWithTag("GameChangeInformation").GetComponent <GameChangeInformation>();
 }