Explore tweets tagged as #SetStateMachine
Today we learn about #virtual #keyword and write methods like: #SetTarget , #FixedUpdate , #ClearTarget , #SetStateMachine... @CodeToInspire
#gamedev
#gamergirl
#game
#gamedesign
#gaming
#COVID19
0
5
9
we learned about #virtual #keyword and wrote methods like: #SetTarget , #FixedUpdate , #ClearTarget , #SetStateMachine. #AfghanGirlsCode
@CodeToInspire
#gamedev #gamedevelopment #gamedevelopers #gamedesign #gameplay #gameday #games #gamedevs #game #walkingdead #Zombies
0
3
8
complicated SetStateMachine dance とか言ってるのウケるなw >Note that line which the source comments as “important”. This takes the place of that complicated SetStateMachine dance in .NET Framework, such that SetStateMachine isn’t actually used at all in .NET Core.
1
0
1
StateMachine.SetStateMachine からは MethodBuilder.StateMachine が呼ばれているが、StateMachine.SetStateMachine がどこからも呼ばれてない。
1
0
0
まぁつまり、どこかでボックス化してヒープに保持しておく必要性は変わってないんだけど、ボックス化する方法を変えたから、SetStateMachine は標準ではもう使ってないよ、ということだな。
1
0
0
まーいずれにせよ、MethodBuilder.SetStateMachine はもう呼ばれることは無いので、StateMachine のインスタンスを保存しておく方法は考えときましょーね、ということなのか。
1
0
0
そのため、StateMachine のインスタンスを Box 化してヒープ上に保持しておく必要がある。このために SetStateMachine の引数は ref TStateMachine ではなく、参照型の IStateMachine になっている。
1
0
0
Move AsyncMethodBuilder.SetStateMachine to non-generic dotnet\coreclr#24403
0
0
0
0
0
0
[uapaot] AsyncTaskMethodBuilder<TResult>.SetStateMachine throws when 'm_moveNextAction' is unin… dotnet\corefx#22506
0
0
0