Skip to content

FAY818/SimpleAnimation

 
 

Repository files navigation

SimpleAnimation

This is a sample that shows how to use Playable Graphs to animate objects in a manner similar to the Animation Component.

This repository is archived. The last compatible version tested is Unity 2018.3, though we expect the code to still be compatible with Unity 2019.3.


目录结构

#学习记录

  • 帧率的加权计算方式 TestUI.cs
  • IEnumerable 集合的构建与使用 SimpleAnimation_impl.cs
  • IEquatable PlayableHandle
  • CustomEditor,CustomPropertyDrawer,EditorGUI SimpleAnimationEditor.cs
  • StateInfo来封装状态字段
  • StateManagement List的空闲位添加对象
  • 通过 partial 来分散定义类
  • bool的 |= 赋值运算 UpdateStates
  • 单元测试

About

A simple Animation Component that leverages PlayableGraphs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 98.1%
  • ShaderLab 1.9%