#pragma warning restore 649 public void WriteTo(EntityTemplate template) { var transformSnapshot = TransformUtils.CreateTransformSnapshot(transform.position, transform.rotation); template.AddComponent(transformSnapshot, writeAccess); }