SbTween/Examples/Doo/SbeDooTest.cs

A small example Component that references a Doo tween asset and runs it on start. It exposes a property DooTweening to be set in editor and calls RunDoo with that asset when the component starts.

using Sandbox;
using SbTween;

namespace SbTween.Examples;

public sealed class SbeDooTest : Component
{
	[Property] public Doo DooTweening;

	protected override void OnStart()
	{
		RunDoo( DooTweening );
	}
}