21 lines
625 B
C#
21 lines
625 B
C#
using UnityEngine;
|
|
|
|
namespace Needle.Engine.Deployment
|
|
{
|
|
[DeploymentComponent]
|
|
[HelpURL("https://docs.needle.tools/deployment")]
|
|
[AddComponentMenu("Needle Engine/Deploy/Deploy to FTP" + Needle.Engine.Constants.NeedleComponentTags)]
|
|
[CustomComponentHeaderLink("afab80dce56e74404b31b98025503605", "https://engine.needle.tools/docs/deployment.html#deploy-to-ftp")]
|
|
public class DeployToFTP : MonoBehaviour
|
|
{
|
|
public FTPServer FTPServer;
|
|
public string Path = "/";
|
|
public bool OverrideGzipCompression = true;
|
|
public bool UseGzipCompression = false;
|
|
|
|
private void OnValidate()
|
|
{
|
|
Path = Path?.Trim();
|
|
}
|
|
}
|
|
} |