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>(); }
private void Reset() { m_ggObject = GetComponent<GGObject>(); m_ggObject.occupiesCell = false; }
// Use this for initialization void Start() { m_car = Car.GetComponent <GGObject>(); m_grid = Grid.GetComponent <GGGrid>(); }