Added image sequence recording
This commit is contained in:
@@ -11,6 +11,8 @@ public class UISettingsScreenshot : MonoBehaviour
|
||||
public TMP_InputField _gifHeight;
|
||||
public Toggle _gifTransparent;
|
||||
public Button GifButton;
|
||||
public Button SequenceButton;
|
||||
public TMP_Dropdown SequenceFPSDropdown;
|
||||
|
||||
public int Width => int.Parse(_width.text);
|
||||
public int Height => int.Parse(_height.text);
|
||||
@@ -19,4 +21,16 @@ public class UISettingsScreenshot : MonoBehaviour
|
||||
public int GifWidth => int.Parse(_gifWidth.text);
|
||||
public int GifHeight => int.Parse(_gifHeight.text);
|
||||
public bool GifTransparent => _gifTransparent.isOn;
|
||||
public int GifFPS {
|
||||
get
|
||||
{
|
||||
switch (SequenceFPSDropdown.value)
|
||||
{
|
||||
case 1: return 30;
|
||||
case 2: return 60;
|
||||
case 3: return 120;
|
||||
default: return -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user