コード例 #1
0
 public static void WriteVector3IntNullable(this NetworkWriter writer, Vector3Int?value)
 {
     writer.WriteBool(value.HasValue);
     if (value.HasValue)
     {
         writer.WriteVector3Int(value.Value);
     }
 }