16 lines
352 B
C#
16 lines
352 B
C#
|
|
using System.Collections;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
public class GuideData : MonoBehaviour
|
||
|
|
{
|
||
|
|
public GuidePoint GPoint;
|
||
|
|
|
||
|
|
private void Start()
|
||
|
|
{
|
||
|
|
GPoint.Position = transform.position;
|
||
|
|
GPoint.Rotation = transform.localRotation.eulerAngles;
|
||
|
|
GPoint.Index = transform.GetSiblingIndex();
|
||
|
|
}
|
||
|
|
}
|