You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
811 B
47 lines
811 B
using System; |
|
using UnityEngine; |
|
|
|
[Serializable] |
|
public class ZDSPData |
|
{ |
|
public string name; |
|
public long id; |
|
public bool isWatering; |
|
public float xRoate; |
|
public float yRoate; |
|
public float scale; |
|
} |
|
public class ZDSPPath |
|
{ |
|
public string BuildingType; |
|
public string BuildingName; |
|
public string Path; |
|
} |
|
public enum BodyRoate |
|
{ |
|
x, y, z |
|
} |
|
public enum PaoRoate |
|
{ |
|
x, y, z |
|
} |
|
public class ZDSPControl : MonoBehaviour |
|
{ |
|
public bool IsWartering; |
|
public Transform Body; |
|
public Transform Pao; |
|
public int PaoMinRoate = 15; |
|
public BodyRoate bodyRoate = BodyRoate.z; |
|
public PaoRoate paoRoate = PaoRoate.x; |
|
private ZDSPParticle particle; |
|
void Start() |
|
{ |
|
|
|
} |
|
|
|
// Update is called once per frame |
|
void Update() |
|
{ |
|
|
|
} |
|
}
|
|
|