示例#1
0
 public void Init()
 {
     m_Raycaster.Init();
     //calculateRaySpacing();
     Velocity          = Vector3.zero;
     Raw_Velocity      = Vector3.zero;
     m_MovingDirection = 1;
 }
        public void Init()
        {
            m_Raycaster.Init();
            //calculateRaySpacing();
            Velocity     = Vector3.zero;
            Raw_Velocity = Vector3.zero;

            m_MovedPassengerIDs            = new HashSet <int>();
            m_MoveAfterPlatformPassengers  = new List <PassengerInfo>();
            m_MoveBeforePlatformPassengers = new List <PassengerInfo>();

            m_HistoryPassengers = new Dictionary <int, BaseMotor2D>();
        }