Finished with attributes
This commit is contained in:
8 files changed
+79
-18
No files matched your search
@@ -0,0 +1,36 @@
|
||||
using Newtonsoft.Json;
|
||||
using UnityEngine.Scripting;
|
||||
|
||||
[Preserve]
|
||||
public class SplashEntry {
|
||||
[Preserve]
|
||||
[JsonProperty("content")]
|
||||
public string Content { get; set; }
|
||||
|
||||
[Preserve]
|
||||
[JsonProperty("attributes")]
|
||||
public SplashAttributes Attributes { get; set; } = new SplashAttributes();
|
||||
}
|
||||
|
||||
[Preserve]
|
||||
public class SplashAttributes {
|
||||
[Preserve]
|
||||
[JsonProperty("flip")]
|
||||
public bool Flip { get; set; } = false;
|
||||
|
||||
[Preserve]
|
||||
[JsonProperty("reverse")]
|
||||
public bool Reverse { get; set; } = false;
|
||||
|
||||
[Preserve]
|
||||
[JsonProperty("bounceSpeed")]
|
||||
public int BounceSpeed { get; set; } = -1;
|
||||
|
||||
[Preserve]
|
||||
[JsonProperty("color")]
|
||||
public string Color { get; set; } = null;
|
||||
|
||||
[Preserve]
|
||||
[JsonProperty("rainbowSpeed")]
|
||||
public int RainbowSpeed { get; set; } = -1;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 89f3f9d4ebca1409c9b51be881a1864b
|
||||
Reference in new issue
Block a user