コード例 #1
0
 /// <summary>
 /// Call <see cref="ArrangementConverter.Init"/> and <see cref="LayoutConverter.Init"/> once.
 /// </summary>
 public static void Init()
 {
     if (s_initted)
     {
         return;
     }
     s_initted = true;
     ArrangementConverter.Init();
     LayoutConverter.Init(serialized: true);
 }
コード例 #2
0
 /// <summary>
 /// Static constructor to initialize the environment - calls <see cref="ArrangementConverter.Init"/>.
 /// </summary>
 static SerializedLayout()
 {
     ArrangementConverter.Init();
 }