dynamic menu btn colors
This commit is contained in:
parent
46a0b2ded7
commit
d65a9fb8a5
3 changed files with 9 additions and 6 deletions
BIN
Assets/meshes/assets.glb
(Stored with Git LFS)
BIN
Assets/meshes/assets.glb
(Stored with Git LFS)
Binary file not shown.
|
@ -2,8 +2,8 @@
|
||||||
<manifest
|
<manifest
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.dofdev.snake"
|
package="com.dofdev.snake"
|
||||||
android:versionCode="44"
|
android:versionCode="45"
|
||||||
android:versionName="1.48"
|
android:versionName="1.49"
|
||||||
android:installLocation="auto"
|
android:installLocation="auto"
|
||||||
>
|
>
|
||||||
<uses-sdk android:minSdkVersion="29" android:targetSdkVersion="32" />
|
<uses-sdk android:minSdkVersion="29" android:targetSdkVersion="32" />
|
||||||
|
|
|
@ -121,21 +121,24 @@ static class Arts
|
||||||
Matrix.TR(
|
Matrix.TR(
|
||||||
V.XYZ(-1.333f, 0, Mono.SD_Z - 0.5f + 0.1f),
|
V.XYZ(-1.333f, 0, Mono.SD_Z - 0.5f + 0.1f),
|
||||||
Quat.FromAngles(90, 0, 0)
|
Quat.FromAngles(90, 0, 0)
|
||||||
)
|
),
|
||||||
|
Color.Hex(0x524B67FF)
|
||||||
);
|
);
|
||||||
meshes["uiPlay"].Draw(
|
meshes["uiPlay"].Draw(
|
||||||
mat_unlit,
|
mat_unlit,
|
||||||
Matrix.TR(
|
Matrix.TR(
|
||||||
V.XYZ(0, 0, Mono.SD_Z - 0.5f + 0.1f),
|
V.XYZ(0, 0, Mono.SD_Z - 0.5f + 0.1f),
|
||||||
Quat.FromAngles(90, 0, 0)
|
Quat.FromAngles(90, 0, 0)
|
||||||
)
|
),
|
||||||
|
Color.Hex(0x080808FF)
|
||||||
);
|
);
|
||||||
meshes["uiConfig"].Draw(
|
meshes["uiConfig"].Draw(
|
||||||
mat_unlit,
|
mat_unlit,
|
||||||
Matrix.TR(
|
Matrix.TR(
|
||||||
V.XYZ(+1.333f, 0, Mono.SD_Z - 0.5f + 0.1f),
|
V.XYZ(+1.333f, 0, Mono.SD_Z - 0.5f + 0.1f),
|
||||||
Quat.FromAngles(90, 0, 0)
|
Quat.FromAngles(90, 0, 0)
|
||||||
)
|
),
|
||||||
|
Color.Hex(0x524B67FF)
|
||||||
);
|
);
|
||||||
meshes["uiCursor"].Draw(
|
meshes["uiCursor"].Draw(
|
||||||
mat_unlit,
|
mat_unlit,
|
||||||
|
|
Loading…
Add table
Reference in a new issue