Commit 060591d3 authored by 18신대성's avatar 18신대성

제네릭 Pair<L,R> 만듬

parent 36a5a80b
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Pair<L, R>
{
public L l;
public R r;
public Pair(L _l, R _r)
{
this.l = _l;
this.r = _r;
}
public Pair<R, L> Swap()
{
return new Pair<R, L>(r, l);
}
}
fileFormatVersion: 2
guid: 6f1adc6ee7fc32943bb2c1a1dda4c4f9
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment