Esempio n. 1
0
    /// <summary>
    /// Calling before start.
    /// </summary>
    private void Awake()
    {
        // Get the scripts and components.
        _mutationHandlerScript = GameObject.FindGameObjectWithTag("MutationHandler").GetComponent <MutationHandler>();

        // Set default values.
        IsSpecialButtonClicked = false;
    }
Esempio n. 2
0
 /// <summary>
 /// Calling before start.
 /// </summary>
 private void Awake()
 {
     // Get the sprites.
     _mutationHandlerScript = GameObject.FindGameObjectWithTag("MutationHandler").GetComponent <MutationHandler>();
 }