public SerialTransform(Vector3 position, Quaternion rotation, Vector3 scale, Vector3 eulerAngles, Vector3 localEulerAngles, Vector3 localScale, Vector3 localPosition, Quaternion localRotation, float version) : base() { this.position = position; this.rotation = rotation; this.scale = scale; this.localEulerAngles = localEulerAngles; this.localPosition = localPosition; this.localRotation = localRotation; this.localScale = localScale; }
public SerialTransform() { this.position = Vector3.zero; this.rotation = Quaternion.identity; this.scale = Vector3.one; this.localEulerAngles = Vector3.zero; this.localPosition = Vector3.zero; this.localRotation = Quaternion.identity; this.localScale = Vector3.one; }
public SerialTransform(Transform t) : base() { position = t.position; localPosition = t.localPosition; scale = t.localScale; localScale = t.localScale; rotation = t.rotation; localRotation = t.localRotation; eulerAngles = t.eulerAngles; localEulerAngles = t.localEulerAngles; }