コード例 #1
0
 public ObjectElement(uint eid, [NotNull] string name, Vector2 position, Vector2 size, AnchorXType anchorX, AnchorYType anchorY, float rotation, bool visible, [NotNull] IComponent[] components, [NotNull] uint[] children)
 {
     Eid        = eid;
     Name       = name;
     Position   = position;
     Size       = size;
     AnchorX    = anchorX;
     AnchorY    = anchorY;
     Rotation   = rotation;
     Visible    = visible;
     Components = components;
     Children   = children;
 }
コード例 #2
0
ファイル: AkyuiCompressor.cs プロジェクト: potkpot/AkyuiUnity
 private static string ToSerializable(AnchorYType x) => x.ToString().ToLower();