Skip to content

Small optimization tip #1

@ghost

Description

yield return new WaitForFixedUpdate();


var waitForFixedUpdate = new new WaitForFixedUpdate();
line_index = 1;
        while (line_index < Lines.Count - 1)//略結尾</story>
        {
            yield return waitForFixedUpdate;
        }

這樣寫才不會每frame有CG

yield return new WaitForFixedUpdate();

也是

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions