コード例 #1
0
 /// <summary>
 /// Set the attribute.
 /// </summary>
 public void Set(Serializable ptr, IntVector2 src)
 {
     Runtime.ValidateRefCounted(this);
     AttributeAccessor_Set5(handle, (object)ptr == null ? IntPtr.Zero : ptr.Handle, ref src);
 }
コード例 #2
0
ファイル: AttributeAccessor.cs プロジェクト: wqg2016/urho
 /// <summary>
 /// Set the attribute.
 /// </summary>
 public void Set(Serializable ptr, string src)
 {
     Runtime.ValidateRefCounted(this);
     AttributeAccessor_Set_11(handle, (object)ptr == null ? IntPtr.Zero : ptr.Handle, src);
 }