Git Product home page Git Product logo

com-ponito-core's Introduction

讀我

第三方功能參考

請注意,這是一個收集資源的包,用於創建可能派上用場的庫。
由作者編寫的,但作者參考與蒐集原本的程式碼與資源。
如果您有任何更高級的功能,請訪問來源項目。

  1. 漸變函式 : https://gizma.com/easing/
  2. 解析設計模式 : https://youtu.be/klHyc9HQnNQ

銘謝清單

感謝您在網上開源提供的所有知識或腳本。

  1. Uni 異步任務 : Yoshifumi Kawai, CEO/CTO of Cysharp, Inc.
  2. 漸變函式 : Nic Mulvaney
  3. 解析設計模式 in C# : Nicholas Blumhardt : NDC { Oslo }

問題與雷坑

1. 取消 PoTask.Yield()

var before = Time.frameCount;
var cts    = new CancellationTokenSource();
cts.Cancel();
// 這條程式碼是行不通的,還是會等待一幀,因為 yield return 的緣故
for (int i = 0; i < 5; i++) yield return PoTask.Yield(cts.Token).WaitAsCoroutine();
Assert.That(Time.frameCount, Is.EqualTo(before));

com-ponito-core's People

Contributors

aakwewaanaqa avatar

Stargazers

 avatar

Watchers

 avatar

com-ponito-core's Issues

簡化使用 PoTask 的 CG

目前使用 PoTask 異步會產生許多 CG,直到使用完畢之後會增加負擔,看看有沒有辦法把 PoTask 變成 struct 減少 CG 搜尋垃圾的必要,把它存到 Stack 中。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.