Files
Prism/ExampleApp/Src/Sink.cs

29 lines
469 B
C#

using Prism;
namespace Example
{
class Sink : Entity
{
public float SinkSpeed = 1.0f;
void OnCreate()
{
}
void OnUpdate(float ts)
{
/*
Mat4 transform = GetTransform();
Vec3 translation = transform.Translation;
translation.Y -= SinkSpeed * ts;
transform.Translation = translation;
SetTransform(transform);
*/
}
}
}