Ejemplo 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;
    }
Ejemplo n.º 2
0
 /// <summary>
 /// Calling before start.
 /// </summary>
 private void Awake()
 {
     // Get the sprites.
     _mutationHandlerScript = GameObject.FindGameObjectWithTag("MutationHandler").GetComponent <MutationHandler>();
 }