Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
man-in-the-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MIM
man-in-the-mirror
Commits
060591d3
You need to sign in or sign up before continuing.
Commit
060591d3
authored
May 04, 2019
by
18신대성
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
제네릭 Pair<L,R> 만듬
parent
36a5a80b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
0 deletions
+31
-0
Pair.cs
Assets/Scripts/Generals/Pair.cs
+20
-0
Pair.cs.meta
Assets/Scripts/Generals/Pair.cs.meta
+11
-0
No files found.
Assets/Scripts/Generals/Pair.cs
0 → 100644
View file @
060591d3
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
);
}
}
Assets/Scripts/Generals/Pair.cs.meta
0 → 100644
View file @
060591d3
fileFormatVersion: 2
guid: 6f1adc6ee7fc32943bb2c1a1dda4c4f9
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment