protected override void OnCreate() { tag |= ActorTypeTag.Content; renderer = AddComponent<RendererComponent>(); collider = AddComponent<ColliderComponent>(); playerMovement = AddComponent<PlayerMovementComponent>(); playerMovement.movementSpeed = 8; base.OnCreate(); }
protected override void OnCreate() { renderer = AddComponent<RendererComponent>(); base.OnCreate(); }