Skip to main content

Module components

Module components 

Source
Expand description

Unity Component wrappers (GameObject, Transform, etc.) Unity Component system implementation

This module contains wrappers for Unity’s Component system:

  • GameObject: The base class for all entities in Unity scenes
  • Transform: Position, rotation and scale of an object
  • Component: Base class for everything attached to GameObjects
  • UnityObject: Base class for all objects that can be referenced
  • Submodules for specific component types (Animation, Physics, Rendering, Scene)

Re-exports§

pub use core::component::Component;
pub use core::component::ComponentTrait;
pub use core::game_object::GameObject;
pub use core::mono_behaviour::MonoBehaviour;
pub use core::transform::Transform;
pub use core::unity_object::UnityObject;
pub use physics::collider::Collider;
pub use physics::rigidbody::Rigidbody;
pub use rendering::camera::Camera;
pub use rendering::renderer::Renderer;
pub use rendering::screen::Screen;
pub use animation::animator::Animator;
pub use scene::scene_management::SceneManager;

Modules§

animation
Unity Animation system wrappers
core
Fundamental Unity component wrappers.
physics
Unity Physics system wrappers
rendering
Unity Rendering system wrappers
scene
Unity Scene Management wrappers