30 lines
587 B
C#
30 lines
587 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class PlayerMovePos : MonoBehaviour
|
|
{
|
|
public static PlayerMovePos instance;
|
|
public Transform StartPos;
|
|
public Transform CurrentPos;
|
|
public int StartIndex;
|
|
|
|
public bool HadChoise;//是否选择房间
|
|
public Transform Parent;
|
|
public bool IsReturn;
|
|
|
|
public Animator PlayAni;
|
|
public bool IsLeft;//是否面向左边
|
|
public int HouseId;//进的房间编号
|
|
|
|
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
instance = this;
|
|
|
|
}
|
|
|
|
|
|
}
|