Skip to content

Small optimization tip #1

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();

也是

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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