Notifications
bg
Ben Roscoe
Gameplay Programmer - Programmer
Melbourne, Australia
0
Likes
1
Follower
0
Connections
All
Articles0
Games1
Showcases2
Column3
Jobs0
Ben Roscoe
published the project
Feb 8, 2019
Top Down 2D Shooter
Ben Roscoe
published the project
Feb 8, 2019
4
C# Animator
Ben Roscoe
Gameplay Programmer
6 days ago
Reply@Ken
Ben, does your C# Animator generate the mecanim graphic layout with the states automatically? Or does it view the mecanim states and generate c# code to enable the states during runtime? Thanks, Ken
Hey Ken, C# Animator is a C# interface for generating mechanim assets. The workflow is intended to be write C# code, generate the mechanim asset, and then use the asset normally as if you had created it through the Unity Editor. You do this by inheriting from one of the C# Animator classes and writing code for generating the state machine like in those screenshots. You then press the "generate" button on the animator asset(through a custom editor), and the state machine will be generated for you. You can then hook the animator up to your game objects like normal, or even edit it through the Unity Editor. Be aware that any changes made in the Unity Editor will not be reflected in the C# code, and if you were to generate again, any of these changes would be lost. Basically, C# animator has editor functionality only. At the end of the process, you'll be left with a normal animator object, and no part of this should affect runtime. It will not generate state information for use at runtime, and does not generate C# code of any kind. Let me know if this still isn't clear or if I can help in anyway.
K
7 days ago
Ben, does your C# Animator generate the mecanim graphic layout with the states automatically? Or does it view the mecanim states and generate c# code to enable the states during runtime? Thanks, Ken
Ben Roscoe
updated the game
Feb 8, 2019
Loop Jones
Programming puzzle game
Ben Roscoe
published the game
Feb 8, 2019
Loop Jones
Programming puzzle game
About Me
I am currently working in the game industry as a Gameplay Programmer. I'm experienced in many...
University of Canberra
Student Representative
University of Canberra
Software Engineering
See more
Certifications (1)
Import
Bachelor of Software Engineering
May 2016
See all
Ben Roscoe's liked projects (0)
No likes yet
Following (0)
Not following anyone yet
Follower (1)
Following Companies (0)
Not following anyone yet
Groups (0)
No groups