Exemplo n.º 1
0
 void Start()
 {
     State         = OperationState.Idle;
     Mode          = Operation.Reset;
     m_originalPos = car.transform.position;
     m_originalRot = car.transform.rotation;
     m_car         = car.GetComponent <GGObject>();
     m_noteboard   = notification.GetComponent <NotificationPanel>();
 }
Exemplo n.º 2
0
 private void Reset()
 {
     m_ggObject = GetComponent<GGObject>();
     m_ggObject.occupiesCell = false;
 }
Exemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     m_car  = Car.GetComponent <GGObject>();
     m_grid = Grid.GetComponent <GGGrid>();
 }