ATTENTION! The process of updating WiKi to version Eco 10.x has begun. Those wishing to participate can find out more Information on our ECO Contribution Wiki Discord.

Animation

From Eco - English Wiki
Warning: This content is outdated.

World Object States[edit | edit source]

All world objects include these built-in states:

  • Using - Someone is currently interacting with the object (UI is open)
  • Enabled - The object can operate but might not be 'operating' (typically determined by on/off and room/power requirements)
  • Operating - currently doing something (Crafting, generating electricity etc)

Animation Controller (7.2+)[edit | edit source]

Animation Controllers in World Objects now automatically get their parameters bound to WorldObject events if named correctly. Here is a list of available names:

  • World Object States
    • bool - Using, Enabled, Operating
    • trigger - OnEnabled, OnDisabled, OnEnableOperating, OnDisableOperating, OnEnableUsing, OnDisableUsing
  • World Object Custom States - a bool animated state named "Example" would get bound to:
    • Example (bool) - stays in sync with the animated state
    • OnEnableExample (trigger) - fires when changing false to true
    • OnDisableExample (trigger) - fires when changing true to false
  • World Object Custom States - a float animated state named "Example" would get bound to:
    • Example (float) - stays in sync with the float

Unity Events[edit | edit source]