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); */ } } }