Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOProUnity_V2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
perfectdicky
YGOProUnity_V2
Commits
4856fc7f
Commit
4856fc7f
authored
Jul 17, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add RMSshow_position3
parent
9071f00b
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
973 additions
and
0 deletions
+973
-0
Assets/SibylSystem/Ocgcore/Ocgcore.cs
Assets/SibylSystem/Ocgcore/Ocgcore.cs
+4
-0
Assets/SibylSystem/Program.cs
Assets/SibylSystem/Program.cs
+1
-0
Assets/SibylSystem/Servant.cs
Assets/SibylSystem/Servant.cs
+34
-0
Assets/old/loader.prefab
Assets/old/loader.prefab
+1
-0
Assets/transUI/prefab/trans_ES_pos3.prefab
Assets/transUI/prefab/trans_ES_pos3.prefab
+925
-0
Assets/transUI/prefab/trans_ES_pos3.prefab.meta
Assets/transUI/prefab/trans_ES_pos3.prefab.meta
+8
-0
No files found.
Assets/SibylSystem/Ocgcore/Ocgcore.cs
View file @
4856fc7f
...
...
@@ -3313,6 +3313,10 @@ public class Ocgcore : ServantWithCardDescription
binaryMaster
.
writer
.
Write
(
positions
);
sendReturn
(
binaryMaster
.
get
());
}
if
(
positions
==
(
0x1
|
0x4
|
0x8
))
{
RMSshow_position3
(
"return"
,
code
);
}
else
{
if
((
positions
&
0x1
)
>
0
)
op1
=
0x1
;
...
...
Assets/SibylSystem/Program.cs
View file @
4856fc7f
...
...
@@ -143,6 +143,7 @@ public class Program : MonoBehaviour
public
GameObject
ES_multiple_option
;
public
GameObject
ES_input
;
public
GameObject
ES_position
;
public
GameObject
ES_position3
;
public
GameObject
ES_Tp
;
public
GameObject
ES_Face
;
public
GameObject
ES_FS
;
...
...
Assets/SibylSystem/Servant.cs
View file @
4856fc7f
...
...
@@ -652,6 +652,40 @@ public class Servant
cardPicLoader
.
uiTexture
=
UIHelper
.
getByName
<
UITexture
>(
currentMSwindow
,
"defPic_"
);
cardPicLoader
.
code
=
int
.
Parse
(
def
.
value
)
==
(
int
)
CardPosition
.
FaceDownDefence
?
0
:
code
;
}
public
void
RMSshow_position3
(
string
hashCode
,
int
code
)
{
RMSshow_clear
();
currentMShash
=
hashCode
;
currentMStype
=
messageSystemType
.
position
;
currentMSwindow
=
create
(
Program
.
I
().
ES_position3
,
MSentre
(),
Vector3
.
zero
,
true
,
Program
.
I
().
ui_main_2d
,
true
,
new
Vector3
(((
float
)
Screen
.
height
)
/
700f
,
((
float
)
Screen
.
height
)
/
700f
,
((
float
)
Screen
.
height
)
/
700f
)
);
UIHelper
.
InterGameObject
(
currentMSwindow
);
UIHelper
.
registEvent
(
currentMSwindow
,
"upAtk_"
,
ES_RMSpremono
,
new
messageSystemValue
{
value
=
"1"
,
hint
=
"Face-Up Attack"
});
UIHelper
.
registEvent
(
currentMSwindow
,
"upDef_"
,
ES_RMSpremono
,
new
messageSystemValue
{
value
=
"4"
,
hint
=
"Face-Up Defense"
});
UIHelper
.
registEvent
(
currentMSwindow
,
"downDef_"
,
ES_RMSpremono
,
new
messageSystemValue
{
value
=
"8"
,
hint
=
"Face-Down Defense"
});
UITexture
upatkpic
=
UIHelper
.
getByName
<
UITexture
>(
currentMSwindow
,
"upAtkPic_"
);
UITexture
updefpic
=
UIHelper
.
getByName
<
UITexture
>(
currentMSwindow
,
"upDefPic_"
);
UITexture
downdefpic
=
UIHelper
.
getByName
<
UITexture
>(
currentMSwindow
,
"downDefPic_"
);
cardPicLoader
cardPicLoader_
=
currentMSwindow
.
AddComponent
<
cardPicLoader
>();
cardPicLoader_
.
uiTexture
=
upatkpic
;
cardPicLoader_
.
code
=
code
;
cardPicLoader_
=
currentMSwindow
.
AddComponent
<
cardPicLoader
>();
cardPicLoader_
.
uiTexture
=
updefpic
;
cardPicLoader_
.
code
=
code
;
cardPicLoader_
=
currentMSwindow
.
AddComponent
<
cardPicLoader
>();
cardPicLoader_
.
uiTexture
=
downdefpic
;
cardPicLoader_
.
code
=
0
;
}
public
void
RMSshow_tp
(
string
hashCode
,
messageSystemValue
jiandao
,
messageSystemValue
shitou
,
messageSystemValue
bu
)
...
...
Assets/old/loader.prefab
View file @
4856fc7f
...
...
@@ -217,6 +217,7 @@ MonoBehaviour:
ES_multiple_option
:
{
fileID
:
160692
,
guid
:
2f2ccdda83cade9439f7a615e3943a17
,
type
:
3
}
ES_input
:
{
fileID
:
169056
,
guid
:
dd31e15b57e5f354e94eb55af88bdaae
,
type
:
3
}
ES_position
:
{
fileID
:
197414
,
guid
:
ebf9fc604e38b7348be638f5deaa91db
,
type
:
3
}
ES_position3
:
{
fileID
:
197414
,
guid
:
fcbf44955a2f3ab4cbe011937cb34887
,
type
:
3
}
ES_Tp
:
{
fileID
:
139314
,
guid
:
3cafe5fcc84bd994cb64aaf0fc2b4ec6
,
type
:
3
}
ES_Face
:
{
fileID
:
195852
,
guid
:
b8748dafca1e28c4d9e882fb8b3ff68b
,
type
:
3
}
ES_FS
:
{
fileID
:
150976
,
guid
:
e371745b12d178b4ebe42e879820c9bb
,
type
:
3
}
...
...
Assets/transUI/prefab/trans_ES_pos3.prefab
0 → 100644
View file @
4856fc7f
This diff is collapsed.
Click to expand it.
Assets/transUI/prefab/trans_ES_pos3.prefab.meta
0 → 100644
View file @
4856fc7f
fileFormatVersion: 2
guid: fcbf44955a2f3ab4cbe011937cb34887
timeCreated: 1486983781
licenseType: Pro
NativeFormatImporter:
userData:
assetBundleName: 20170219
assetBundleVariant: 0201
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