MapSetter.cs 417 B

123456789101112131415161718
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class MapSetter : MonoBehaviour {
  5. public Vector3 Offset;
  6. public Quaternion Roatation;
  7. public Vector3 Scale;
  8. // Start is called before the first frame update
  9. void Start() {
  10. transform.localPosition = Offset;
  11. transform.localRotation = Roatation;
  12. transform.localScale = Scale;
  13. }
  14. }