Skip to content

Wrong indentation level for Preprocessor macro. #139

@jcs090218

Description

@jcs090218

Now.

    #if UNITY_EDITOR
    private void Awake()
    {
        InitializeDeck();
    }

    private void Update()
    {
        if (Input.GetKeyDown(KeyCode.A))
            mCardsGiven.Add(GiveCards());
    }
    #endif

Should it be.

#if UNITY_EDITOR
    private void Awake()
    {
        InitializeDeck();
    }

    private void Update()
    {
        if (Input.GetKeyDown(KeyCode.A))
            mCardsGiven.Add(GiveCards());
    }
#endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions