Inno.Editor.Scripting runtime-script examples
Section titled “Inno.Editor.Scripting runtime-script examples”These examples use the selected logical script surface. Read the feature contract before adapting them. Host implementation namespaces and host-only readiness services are not substitutes for these references.
Provide the live services or authored source context required by each declaration. Compilation verifies these use sites, not device execution or completion of a reload lifecycle.
using InnoEngine.Logging;using InnoEngine.Reflection;using InnoEngine.Scene;using InnoEngine.Serialization;
[StableTypeId("c14f7138-0c5c-4e69-8376-cec8edc3056c")]public sealed class PlayerController : GameBehavior{ [SerializableProperty] private float m_speed = 5f;
protected override void Update() { Log.Debug(typeof(PlayerController), "Speed: {0}", [m_speed]); }}